Hello,
1. What kind of Custom property do I use? "Property Source" , "Property set with formatted"
2. Where does the "Session.Property("PROPERTY_NAME") = someothervariable" go in the MSI "Property Source" or "Property set with formatted" to receive the value from the VBScript?
Well, you do not need to use "Property Source" or "Property Set with Formatted". The code I mentioned above needs to be placed in the VBScript (.vbs) file itself. Note that the vbscript custom action must be set as an "Immediate execution".
3. I assume the "PROPERTY_NAME" is replaced a with a property name like "VALUE_PASSED"?
Indeed, replace PROPERTY_NAME with an appropriate name.
Also, note that properties are created upon assignation, which means the PROPERTY_NAME property will be created when it is assigned a value through:
Code: Select all
Session.Property("PROPERTY_NAME") = someothervariable
written in your vbscript file.
Regards,
Gabriel