But these checks don't work if user runs installer when software is already installed and selects "Repair". I need to determine whether Feature2 is installed to ask user to close Firefox when he press Repair. VBScript looks like this:
Code: Select all
Sub CheckFeature2()
Dim ff
ff = Session.FeatureRequestState("Feature2")
If ff = 3 Or ff = 4 Then
Session.Property("FEATURE2_SELECTED") = "1"
Else
Session.Property("FEATURE2_SELECTED") = "0"
MsgBox ff, vbOKOnly
End If
End SubHow do I determine if Feature2 is installed before Repair is performed?
FOLLOW US
Get the latest news in Application Packaging