/build/static/layout/Breadcrumb_cap_w.png

MSI Factory, newbie problem passing parameters to VBScript

Anyone may help please...
I need to make msi package to install TCP/IP printer port via AD GPO on Win2003.
I need to have an parameter in MSI package, IP Adress, and pass it to the VBscript included to package.

Anyone willing to help me how to do that.
Thank you in advance.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: anonymous_9363 15 years ago
Red Belt
0
If your Custom Action is in the ExecuteImmediate (EI) sequence, you can use Session.Property("NAME_OF_PROPERTY") to retrieve the value of the property named NAME_OF_PROPERTY. If it's in ExecuteDeferred (ED), you need to get into the mess which is CustomActionData. Basically, in EI, you need to set a property whose name matches the name of the ED Custom Action and assign that property the value you want to pass. The ED Custom Action then accesses the special property CustomActionData.

There's plenty on this latter subject if you search.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ