Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Burn: How to store a checkbox value in a variable

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?

like image 328
user1539296 Avatar asked Oct 24 '25 14:10

user1539296


1 Answers

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

like image 173
Bob Arnson Avatar answered Oct 27 '25 04:10

Bob Arnson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!