1) Use MsiSetProperty() to create a property for the VBScript to access (using a variable to supply the value)
2) Within the VBSCript, use Session.Property() to get the value
3) Within the VBScript, use Session.Property() to set the new value
4) Back in the InstallShield script, use MsiGetProperty() to extract the value to a variable.
Am I on the right track here?
Also:
A) All of the Msixxxxxx functions use the installation handle "hInstall", but I can't seem to find how to create this handle. What function do I call to set the handle to the current installation so I can call the MsiGetProperty(), etc...?
B) Can I create properties "ad-hoc", or do they need to be added to the "property table" at design time? If they need to be setup ahead of time, how do I add them to the property table?
Thanks,