Code: Select all
' Set contants for the INSTALLSTATE_ABSENT and INSTALLSTATE_LOCAL feature states
Const msiInstallStateAbsent = 2
Const msiInstallStateLocal = 3
' Initialize the install states of the mutually exclusive features
' and set their states based on the radio button selection
Session.FeatureRequestState("FeatureA") = msiInstallStateAbsent
Session.FeatureRequestState("FeatureB") = msiInstallStateAbsent
If Session.Property("RADIO") = "RadioFeatureA" Then
Session.FeatureRequestState("IntToolbarInstaller") = msiInstallStateLocal
Session.FeatureRequestState("IntToolbarInstaller_1") = msiInstallStateAbsent
Session.FeatureRequestState("IntToolbarInstaller_2") = msiInstallStateAbsent
ElseIf Session.Property("RADIO") = "RadioFeatureB" And Session.Property("CHECK1") = "install" Then
Session.FeatureRequestState("IntToolbarInstaller_1") = msiInstallStateLocal
Session.FeatureRequestState("IntToolbarInstaller") = msiInstallStateAbsent
Session.FeatureRequestState("IntToolbarInstaller_2") = msiInstallStateAbsent
ElseIf Session.Property("RADIO") = "RadioFeatureB" And Session.Property("CHECK2") = "install" Then
Session.FeatureRequestState("IntToolbarInstaller_2") = msiInstallStateLocal
Session.FeatureRequestState("IntToolbarInstaller") = msiInstallStateAbsent
Session.FeatureRequestState("IntToolbarInstaller_1") = msiInstallStateAbsent
Else
Session.FeatureRequestState("IntToolbarInstaller") = msiInstallStateAbsent
Session.FeatureRequestState("IntToolbarInstaller_1") = msiInstallStateAbsent
Session.FeatureRequestState("IntToolbarInstaller_2") = msiInstallStateAbsent
End If


Basically: Is it a scripting problem or is there some settings I haven't set up properly that could affect this?
FOLLOW US
Get the latest news in Application Packaging