【发布时间】:2017-05-02 06:12:44
【问题描述】:
我创建了一个 WiX 安装程序 MSI。当我运行 msi 时,会在 UI 中询问安装路径。目前它加载包含大部分可用空间的驱动器。如何将其设置为始终位于程序文件文件夹中?我尝试了下面的行,但它没有用。
<Property Id="WIXUI_INSTALLDIR" Value="C:\\Program Files\" />
下面是我得到的上述元素的错误。
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2343. The arguments are: , ,
如何让 UI 始终将 C:\Program Files 加载为默认位置?任何帮助将不胜感激。
【问题讨论】:
标签: wix windows-installer wix3.10