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.
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)
Please log in to answer
Posted by:
anonymous_9363
15 years ago
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.
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.
so that the conversation will remain readable.