You should read lesson 3 of the WiX tutorial http://www.tramontana.co.hu/wix/lesson3.php Look for how to set CustomActionData for your deferred actions.
-Brian Simoneau -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of md5hans Sent: Monday, October 01, 2007 9:08 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Deferred CustomActions and properties Hi! I want to accomplish the following: 1. I want to modify an installed file using a CustomAction (CA1) 2. I want to run an external exe that uses the modified file as input (CustomAction CA2) 3. If any of the two CA:s above fails I want the installation to be rolled back. (it is not important for me to rollback any changes made by the CA:s) After reading some forum posts I belive that one way to do this is: 1. Schedule my CA1 after InstallFiles and set it as deferred 2. Schedule my CA2 after CA1 (also deferred) but as I have understod it I can only access the CustomActionsData property from CA1 since its set as deferred (and it must be deferred since I'm accessing a file that is installed by the MSI-package). This creates a problem for me, when modifing the file with CA1 I need to access several properties. Is there another way to do this, a way where I can access all my properties? Kind regards Hans -- View this message in context: http://www.nabble.com/Deferred-CustomActions-and-properties-tf4548231.ht ml#a12978865 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users