Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Building Wix on Visual Studio Online results in 'incorrectly registered scripting engine'

I recently decided to try out visual studio online to automate my build. The build result should be some binaries and a wix created installer. Locally this works, however on visual studio online this results to errors:

light.exe: Error executing ICE action 'ICE01'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wix.sourceforge.net/faq.html#Error217 for details and how to solve this problem. The following string format was not expected by the external UI message logger: "The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.".

[..]

light.exe: An unexpected Win32 exception with error code 0x643 occurred: Action - 'ICE09' Fatal error during installation

The only solution I know to solve this is to give the build server administrator rights. In this case this is not possible.

Does anyone know if it is possible to use Wix on Visual Studio Online? If yes, what do I need to change?

like image 426
Jaco Avatar asked Dec 06 '13 07:12

Jaco


1 Answers

The other only alternative I know of is to disable ICE validations during build:

<PropertyGroup>
    <SuppressValidation>true</SuppressValidation>
</PropertyGroup>
like image 110
jessehouwing Avatar answered Oct 23 '22 10:10

jessehouwing