[wix-users] Passing parameters to in-script custom actions
Vanniekerk, Tyrel (GE Healthcare)
tyrel.vanniekerk at ge.com
Tue Aug 23 06:00:17 PDT 2016
I will give it a try, thanks. I uses a custom action to do it and it does set the property, the property just never gets updated when sent to the deferred custom action.
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of sampat magi
Sent: Monday, August 22, 2016 6:51 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: EXT: Re: [wix-users] Passing parameters to in-script custom actions
For setting a property to a value, which is again a property/properties , please use <SetProperty/>
On 23-Aug-2016 12:07 am, "Vanniekerk, Tyrel (GE Healthcare)" < tyrel.vanniekerk at ge.com> wrote:
> 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?
> WiX Toolset Users Mailing List provided by FireGiant
WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=CwICAg&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r=oAJIeMTNC3Z6LlnozAjna4bWEZCGLInzcwB6EkZAFeU&m=4FpWRWrV2SuKvq1iUeDLQDNUhAsB-5dGxmVt5eLje1s&s=eBcK7lc7IMG69wJc8Jdd-KxLh8m_t6FECBJhJULDs48&e=
More information about the wix-users