在Visual Studio Online上构建Wix会导致“注册脚本引擎错误" [英] Building Wix on Visual Studio Online results in 'incorrectly registered scripting engine'

查看:100
本文介绍了在Visual Studio Online上构建Wix会导致“注册脚本引擎错误"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近决定在线试用Visual Studio来自动化我的构建.构建结果应该是一些二进制文件和由wix创建的安装程序.在本地这是可行的,但是在Visual Studio Online上这会导致错误:

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:执行ICE操作'ICE01'时出错.此类ICE失败的最常见原因是注册脚本引擎错误.有关详细信息和详细信息,请参见 http://wix.sourceforge.net/faq.html#Error217 如何解决这个问题呢.外部UI消息记录器不期望以下字符串格式:无法访问Windows Installer服务.如果未正确安装Windows Installer,则会发生这种情况.请与您的支持人员联系以获得帮助.".

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:发生意外的Win32异常,错误代码为0x643:操作-安装过程中出现'ICE09'致命错误

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.

有人知道在Visual Studio Online上是否可以使用Wix吗?如果是,我需要更改什么?

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

推荐答案

我知道的另一个唯一选择是在此过程中禁用ICE验证构建:

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

<PropertyGroup>
    <SuppressValidation>true</SuppressValidation>
</PropertyGroup>

这篇关于在Visual Studio Online上构建Wix会导致“注册脚本引擎错误"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆