我用WiX 3.8创建了一个MSI安装程序,安装时我在MSI日志的最后收到了这个错误:
[...] Property(C): WIXUI_INSTALLDIR_VALID = 1 === Logging stopped: 8/20/2014 19:15:03 === Note: 1: 1707 Note: 1: 2205 2: 3: Error Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1707 Note: 1: 2205 2: 3: Error Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 Product: CmisSync Shell Extension -- Installation completed successfully. Windows Installer installed the product. Product Name: My Shell Extension. Product Version: 0.2.23. Product Language: 1033. Manufacturer: Me. Installation success or error status: 0. Grabbed execution mutex. Cleaning up uninstalled install packages,if any exist MainEngineThread is returning 0 === Verbose logging stopped: 8/20/2014 19:15:03 ===
我该如何解决这些错误?
或者他们是否已知可以安全忽略的WiX / MSI问题?
我的WiX脚本非常简单,它只是安装了一个shell扩展,所以我不知道这个错误来自哪里.
那是MSI试图在Error表中查找资源但你可能在MSI中没有Error表.这是一个消息字符串列表:
http://msdn.microsoft.com/en-us/library/aa372835(v=vs.85).aspx.正如您所看到的1707& 1709是您在这些消息后看到的成功消息的ID.