我想知道您如何将复选框值存储在变量中?我正在使用带有自定义 RtfTheme 的WiX Burn 。
例如:
RtfTheme.xml
<Checkbox Name="TestCheckbox" X="-11" Y="-51" Width="246" Height="17" TabStop="yes" FontId="3" HideWhenDisabled="yes">Please select this box</Checkbox>
捆绑包.wxs
<Variable Name="TestVariable" Type="numeric" Value="![CDATA[TestCheckbox]]"/>
我希望“TestVariable”的值在我选择或取消选择复选框时更改值。有什么帮助吗?