I have a window with 3 radiobuttons like this(removed all non interesting props):
<Control Id="Back" Type="PushButton" Text="!(loc.WixUIBack)">
<Publish Event="NewDialog" Value="InstallDirDlg">1</Publish>
</Control>
<Control Id="Cancel" Type="PushButton" Text="!(loc.WixUICancel)">
<Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
</Control>
<Control Id="Next" Type="PushButton" Text="!(loc.WixUINext)">
<Publish Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
</Control>
<Control Id="InstallTypeSelection" Type="RadioButtonGroup" Property="INSTALL_TYPE">
<RadioButtonGroup Property="INSTALL_TYPE">
<RadioButton Value="0" Text="InstallType A" />
<RadioButton Value="1" Text="InstallType B" />
<RadioButton Value="2"Text="InstallType C" />
</RadioButtonGroup>
On "next" I want to sett some propertys based on what the Installtype the user did select.
like this..
if(INSTALL_TYPE == 0)
{
REG_VALUE_AUTO_LOGIN = 0;
REG_VALUE_TIMEOUT = 300;
}
if(INSTALL_TYPE == 1)
{
REG_VALUE_AUTO_LOGIN = 1;
REG_VALUE_TIMEOUT = 600;
}
How does this work in wix?