问题描述
我使用的 WIX 安装程序在状态行中显示了一些括号(见下图):
I am using a WIX installer that is showing some brackets in the status line (see image below):
我没有对 WIX 文件进行更改,但只有已安装的文件发生了更改.我确实将 WIX 更新到 v3.11,因为这是在 Visual Studio 2017 中使用 WIX 所必需的.我们使用标准的 WixUI
.
I haven't made changes to the WIX file, but only the installed files have changed. I did update WIX to v3.11, because this was required to use WIX in Visual Studio 2017. We use the standard WixUI
.
这些字符串列在 C:\Program Files (x86)\WiX Toolset v3.11\SDK\wixui\WixUI_en-us.wxl
文件中.该文件中的几行:
These strings are listed in the C:\Program Files (x86)\WiX Toolset v3.11\SDK\wixui\WixUI_en-us.wxl
file. A few lines from this file:
<String Id="ProgressTextRemoveFiles" Overridable="yes"><!-- _locID_text="ProgressTextRemoveFiles" _locComment="ProgressTextRemoveFiles" -->Removing files</String>
<String Id="ProgressTextRemoveFilesTemplate" Overridable="yes"><!-- _locID_text="ProgressTextRemoveFilesTemplate" _locComment="ProgressTextRemoveFilesTemplate" -->File: [1], Directory: [9]</String>
这些字符串与我在安装过程中看到的完全匹配.似乎只有 ProgressDlg
有这个问题,但也许其他字符串不使用扩展.有人知道吗?
These strings exactly match what I see during installation. It seems only the ProgressDlg
has this issue, but maybe other strings don't use expansion. Anyone has a clue?
推荐答案
尝试在您的主 wxs 中添加以下行:
Try to add the following line in your main wxs:
<UIRef Id="WixUI_ErrorProgressText" />
请参阅我对同一问题的回答.
这篇关于WIX 安装程序在状态行中显示括号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!