I`m having trouble finding out how to change the value of a checkbox (=property) on deselect.
What I`ve got this far:
<Property Id="INSTALLEXCEL2007" />
<Control Type="CheckBox" Id="Excel2007_Checkbox" Width="88" Height="17" X="22" Y="120" Text="Excel 2007" Property="INSTALLEXCEL2007" CheckBoxValue="1" />
The code says that the property INSTALLEXCEL2007
will get the value 1
, if the user checks it.
Now, if it is unchecked, the value still remains 1
. Meaning, each click on the checkbox assigns the value 1
to this property.
Is there any way to have a "unchecked value"?
I have already tried this, but it didn`t work in my case.