09/29/2009 3976 views
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


Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

All Answers

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.
Answered 09/30/2009 by: VBScab
Red Belt