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 ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/en/legal/default.aspx. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users