无法将ComboBox wix安装程序绑定到功能选择 [英] Unable to Bind the ComboBox wix installer to Features selection
问题描述
目前我在创建自定义对话框并添加更多控件时遇到Wix Toolset Installer问题it。
Currently I am facing issue with Wix Toolset Installer while creating the custom dialog and adding some more controls into it.
要求:
当用户更改Combobox选项时,它应启用/禁用功能树部分。有关详细信息,请参阅附件。它显示了两件事:
When user changs the Combobox selection then it should enable/disable the features from the Feature Tree section. Please see attachment for more details. It shows two things:
1。当用户选择"完成"时那么它应该显示5个功能(启用5个功能)
1. When user selects "COMPLETE" then it should show 5 feature (Enables 5 Features)
2。当用户选择"自定义"时然后它应该显示4个功能(1个功能应该禁用)
2. When user selects "Custom" then it should show 4 feature (1 feature should disable)
在下面找到我的代码:
组件对话框代码:
< Control Id =" CBTypeofInstall"类型="组合框" X =" 130" Y =" 85"宽度= QUOT; 120"高度= QUOT; 120"属性= QUOT; TYPEOFINSTALL" ComboList =" yes">
&NBSP; &NBSP; &NBSP; &NBSP; < ComboBox Property =" TYPEOFINSTALL" >
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < ListItem Text =" Transfer"值="转移"/>
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < ListItem Text =" Rescan"值="重新扫描"/>
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < ListItem Text =" Complete"值="完成"/>
&NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < ListItem Text =" Custom"值= QUOT;定制" /> &NBSP; &NBSP; &NBSP; &NBSP; &NBSP;
&NBSP; &NBSP; &NBSP; &NBSP; < / ComboBox>
&NBSP; &NBSP; &NBSP; < / control>
<Control Id="CBTypeofInstall" Type="ComboBox" X="130" Y="85" Width="120" Height="120" Property="TYPEOFINSTALL" ComboList="yes">
<ComboBox Property="TYPEOFINSTALL" >
<ListItem Text="Transfer" Value="Transfer"/>
<ListItem Text="Rescan" Value="Rescan"/>
<ListItem Text="Complete" Value="Complete"/>
<ListItem Text="Custom" Value="Custom"/>
</ComboBox>
</Control>
Product.wxs:
Product.wxs:
< Feature Id =" ABC"标题= QUOT; ABC"级= QUOT 1 QUOT; Description =" ABC">
&NBSP; &NBSP; < ComponentRef Id =" ABC" /> &NBSP; &NBSP;
&NBSP; < / Feature>
&NBSP; < Feature Id =" XYZ"标题= QUOT; XYZ"级= QUOT 1 QUOT; Description =" XYZ">
&NBSP; &NBSP; < Feature Id =" Test1" Title =" Test1"级= QUOT 1 QUOT; Description =" Test1">
&NBSP; &NBSP; &NBSP; < ComponentRef Id =" Test1" /> &NBSP; &NBSP;
&NBSP; &NBSP; < / Feature>
&NBSP; &NBSP; < Feature Id =" Test2" Title =" Test2"级= QUOT 1 QUOT; Description =" Test2">
&NBSP; &NBSP; &NBSP; < ComponentRef Id =" Test2" />
&NBSP; &NBSP; < / Feature>
&NBSP; < / Feature>
<Feature Id="ABC" Title="ABC" Level="1" Description="ABC">
<ComponentRef Id="ABC" />
</Feature>
<Feature Id="XYZ" Title="XYZ" Level="1" Description="XYZ">
<Feature Id="Test1" Title ="Test1" Level="1" Description="Test1">
<ComponentRef Id="Test1" />
</Feature>
<Feature Id="Test2" Title ="Test2" Level="1" Description="Test2">
<ComponentRef Id="Test2" />
</Feature>
</Feature>
请帮助我们找到解决此问题的方法。
Please help us to find the solution of this problem.
先谢谢你。
推荐答案
这是您的问题的错误论坛。试试这里: https://support.wix.com/en/
This is the wrong forum for your question. Try here: https://support.wix.com/en/
这篇关于无法将ComboBox wix安装程序绑定到功能选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!