WiX 3.0抛出错误217,同时通过连续集成执行 [英] WiX 3.0 throws error 217, while being executed by continuous integration

查看:371
本文介绍了WiX 3.0抛出错误217,同时通过连续集成执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是Windows 2008上的自动构建套件抛出的错误,同时运行 ICEs (从迁移后) WiX 2.0到WiX 3.0):

This is the error that is thrown by our automated build suite on Windows 2008, while running ICEs (after migrating from WiX 2.0 to WiX 3.0):


LGHT0217:执行ICE操作ICE01时出错。这种ICE故障的最常见原因是未正确注册的脚本引擎。有关详情,请参见 http://wix.sourceforge.net/faq.html#Error217 并如何解决这个问题。外部UI消息记录器不期望以下字符串格式:无法访问Windows安装程序服务。如果Windows安装程序未正确安装,可能会出现此问题。请与您的支持人员联系以获取帮助。 in light.exe(0,0)

LGHT0217: 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.". in light.exe(0, 0)

此外,这些是显示在事件日志中的错误:

Additionally, these are the errors that show up in the event log:


MSIInstaller:无法连接到服务器。错误:0x80070005
产品:[ProductName] - 错误1719.无法访问Windows Installer服务。如果Windows安装程序未正确安装,可能会出现此问题。

MSIInstaller: Failed to connect to server. Error: 0x80070005 Product: [ProductName] -- Error 1719. 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.

直观地:


  • VBScript JScript 已在管理员下注册。

  • 集成服务具有桌面互动和所有文件的权限

  • 构建成功,当由另一个用户或以集成帐户登录的用户在同一台​​机器上手动执行时(通过 RDP

  • VBScript and JScript were registered under admin.
  • Integration service has permissions for the desktop interaction and all the files
  • Builds succeed, when executed manually on the same machine by another user or even user logged in as integration account (via RDP)

到目前为止,我的想法太少了。

I'm out of ideas so far.

如何在保持ICE验证时解决此问题?

推荐答案

故事结束

在处理集成帐户的权限之后, DCOM ,服务激活等等没有任何运气,我终于简单地禁用ICE验证持续集成构建,同时仍然保持在本地构建。

After fiddling with the permissions of the integration account, DCOM, service activation, etc. without any luck, I finally simply disabled ICE validation in the continuous integration build, while still keeping it in the local build.

要禁用ICE验证,您可以在.wixproj文件中将SuppressValidation设置为true:

To disable ICE validation you can set SuppressValidation to true in the .wixproj file:

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

或传递 -sval 命令行选项到 light.exe

这篇关于WiX 3.0抛出错误217,同时通过连续集成执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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