Вопрос

I was wondering how you store a checkbox value in a variable? I am using WiX Burn with a custom RtfTheme.

For example:

RtfTheme.xml

<Checkbox Name="TestCheckbox" X="-11" Y="-51" Width="246" Height="17" TabStop="yes" FontId="3" HideWhenDisabled="yes">Please select this box</Checkbox>

Bundle.wxs

<Variable Name="TestVariable" Type="numeric" Value="![CDATA[TestCheckbox]]"/>

I want the value of "TestVariable" to change value whenever I select or deselect the checkbox. Any help?

Это было полезно?

Решение

WixStdBA automatically saves the state of all named checkbox controls that appear on the Options page. WixStdBA doesn't expose any other checkbox values.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top