3

我有一个使用 WiX 3.6 (beta) 构建的安装程序,它在 Windows 7 上运行良好,但在 Windows XP 上安装失败。%TEMP% 中的日志文件结尾是:

Apply begin
Setting string variable 'ProgressPackageName' to value 'Product'
Error 0x80004005: Failed to get known folder.
Error 0x80004005: Failed to initialize built-in variable value 'ProgramFilesFolder'.
Error 0x80004005: Failed to get variable: ProgramFilesFolder
Error 0x80004005: Failed to set variable value.
Error 0x80004005: Failed to format value '[ProgramFilesFolder]\Company\Product' of variable: InstallFolder
Error 0x80004005: Failed to set variable value.
Error 0x80004005: Failed to format property value.
Error 0x80004005: Failed to add properties to argument string.
Error 0x80004005: Failed to execute MSI package.
Error 0x80004005: Failed to configure per-machine MSI package.
Error 0x80004005: Failed to execute MSI package.
Error 0x80004005: Failed to execute apply.
Error 0x80004001: UX cannot erase variables by passing a NULL string, yet.
Error 0x80004001: UX cannot erase variables by passing a NULL string, yet.
Apply complete, result: 0x80004005 restart: No
Shutting down, exit code: 0x80004005

我在 Google 上没有找到任何关于 XP 和 WiX 3.6 问题的信息(而且它似乎无法与 XP 一起使用,但它毕竟是测试版)。

我可以做些什么来尝试解决,或者至少做些什么来获得更多关于这里可能出了什么问题的信息。

4

1 回答 1

4

看起来像 Burn 中的一个错误。请在https://sourceforge.net/tracker/?group_id=105970&atid=642714提交带有详细信息的错误(例如,XP 的版本,WiX 的构建)。

于 2011-07-27T13:11:41.797 回答