To illustrate my problem I have created a 1 file install.
The Property under Install Parameteres->Properties is
"YourProperty" Value is "Your Value"
On the Verify Ready Dialog, I created "CheckBox_1" with Property "CHECKBOX_1_PROP"
With Published events
[YourProperty] -> False Value -> AI_INSTALL AND (not CHECKBOX_1_PROP)
[YourProperty] -> True Value -> AI_INSTALL AND (CHECKBOX_1_PROP)
DoAction -> ReadProp_UI -> AI_INSTALL
When I change the state of the CheckBox, The ReadProp Displays a message box containing Session.Property("YourProperty") toggling back and forth between True Value and False Value
However, Calling this same function on event MoveFiles later on shows "Your Value"
How do I save this value to use it at a later point in the install?
I am including the 2 files that this sample makes up.
Since vbs is blocked, I will include it below:
Code: Select all
option explicit
Public function ReadValues()
Display "YourProperty"
end function
private sub Display(strVal)
msgbox strVal & ": " & Session.Property(strVal)
end sub
FOLLOW US
Get the latest news in Application Packaging