I'm trying to install a feature based upon the status of a checkbox. The dialog has a checkbox, name 'VAT_FRS', property name 'VAT_FRS_PROP' and a value of '1'
I have a custom action set up which includes the following vbs:
Code: Select all
Function FlatRate
Const msiInstallStateAbsent = 2
Const msiInstallStateLocal = 3
If Session.Property("VAT_FRS_PROP") = "1" Then
Session.FeatureRequestState("VAT_FLAT_RATE") = msiInstallStateLocal
End If
End FunctionMy custom action is set under InstallExecuteSequence/Install, has a specified function name of FlatRate and Action data of [VAT_FRS_PROP]
Any help/pointers gratefully received!
Cheers
Tom.
FOLLOW US
Get the latest news in Application Packaging