[wix-users] Passing parameters to in-script custom actions

sampat magi ssmcs060 at gmail.com
Mon Aug 22 16:51:00 PDT 2016


For setting a property to a value, which is again a property/properties ,
please use <SetProperty/>

Sampat

On 23-Aug-2016 12:07 am, "Vanniekerk, Tyrel (GE Healthcare)" <
tyrel.vanniekerk at ge.com> wrote:

> Hi,
>
> 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?
>
> Thanks.
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list