[wix-users] Passing parameters to in-script custom actions
Vanniekerk, Tyrel (GE Healthcare)
tyrel.vanniekerk at ge.com
Mon Aug 22 11:37:18 PDT 2016
I have a custom action with Execute=commit running Before InstallFinalize. The action gets called and at this point I have to use session. CustomActionData to get parameters to the custom action. I created a property with the same name as the custom action and added some text in there for the properties. Initially I tried to add some property references in there like [INSTALLFOLDER], but the text just came through with the brackets. Then I added a custom action to set the property to the correct value on the Next button of the dialog that sets the values and I can see the property being set to the correct value, but when the custom action is run, the text sent to CustomActionData is whatever it was set to at the start of the install.
What's the correct way to send data consisting of property values to an in-script custom action?
More information about the wix-users