关于这个问题有很多问题,但都没有解释这两行到底应该放在哪里:
<Property Id="ARPNOREPAIR" Value="yes" Secure="yes" />
<Property Id="ARPNOMODIFY" Value="yes" Secure="yes" />
Run Code Online (Sandbox Code Playgroud)
尝试在线搜索文档本身,但没有运气
编辑
我尝试将它们放入我的标签中,但它仍然存在:
Rog*_*art 10
我今天遇到了同样的问题,接受的答案没有隐藏“选项”按钮或禁用我的 WiX 标准 boostrapper 中的“修复”按钮。
要隐藏/禁用选项和修复按钮,请首先 WixStandardBootstrapperApplication添加BalExtension命名空间(Bundle.wxs 顶部):
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
Run Code Online (Sandbox Code Playgroud)
然后在BootstrapperApplicationRef元素中添加SuppressOptionsUI和SuppressRepair属性设置为yes。
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense">
<bal:WixStandardBootstrapperApplication LicenseFile="YourLicense.rtf"
LogoFile="YourLogo.png"
SuppressOptionsUI="yes"
SuppressRepair="yes" />
</BootstrapperApplicationRef>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4089 次 |
| 最近记录: |