Thanks Phil, that did it. I was trying to set CustomActionData explicitly.

-----Original Message-----
Date: Fri, 9 Mar 2012 12:50:05 -0500
From: "Wilson, Phil" <phil.wil...@invensys.com>
Subject: Re: [WiX-users] CustomActionData
To: General discussion for Windows Installer XML toolset.
        <wix-users@lists.sourceforge.net>
Message-ID:
        <682e56117f9ba0419d5247669e3f742d854d3f7...@invsfoxxchmbx02.corp.com>
Content-Type: text/plain; charset="us-ascii"

CustomActionData is actually per custom action, although it sometimes appears 
that there is only one for all custom actions. Basically, if you have a custom 
action called Fred that you want to pass data into, you create an immediate 
set-a-property custom action (type 51 in MSI) that sets Fred to the data (yes, 
you create a property that has the same name as your custom action). Inside the 
deferred custom action Fred your CustomActionData property will be that data.  
Some tools (like Visual Studio setups) hide these internal details, can't 
remember if WiX does. 

Phil W 

-----Original Message-----
From: Parkes, Kevin [mailto:kevin.par...@wacom.eu] 
Sent: Friday, March 09, 2012 9:23 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] CustomActionData

I have a couple of deferred custom actions to which I need to pass parameters. 
Obviously for a single custom action I'd just set the CustomActionData 
property. Do I have to pack all parameters for each custom action into 
CustomActionData and have each action extract its own parameters somehow or is 
there another way to do it?

Thanks


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to