【发布时间】:2014-08-05 10:22:09
【问题描述】:
我想根据用户选择创建Wix安装程序来安装客户端、服务器或两者。
我的问题是当用户选择服务器时如何限制安装客户端(它被安装,因为它的级别=1)。我已经自定义了 WixUI_Mondo。
我尝试对组件使用条件,但没有成功。
<Feature Id="Client" Level="1">
<ComponentRef Id="ClientMainExecutable" />
<ComponentRef Id="ClientConfigurations" />
</Feature>
<Feature Id="Server" Level="3">
<ComponentRef Id="ServerExecutable" />
<ComponentRef Id="ServerConfigurations" />
</Feature>
<Feature Id="Both" Level="1000">
</Feature>
</Feature>
<UIRef Id="myWixUI_Mondo" />
【问题讨论】:
标签: wix installation windows-installer wix-gui