Phil, Thank you very much for the tip. That's exactly what I'm looking for.
I already started writing a CA DLL for launching both CAs. But I like the simple solution. If you happen to be in Dallas, TX, let me buy you a beer. :) Louis Z. -----Original Message----- From: Wilson, Phil [mailto:phil.wil...@invensys.com] Sent: Monday, April 19, 2010 11:35 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to fire 2 Custom Actions when userclicks Finishbutton? I don't know the exact syntax, but you should be able to just add another to the Publish, or add another Publish. That Order value (when there is more than one) is the order you want them to happen in. Phil Wilson -----Original Message----- From: Zhou, Lei [mailto:lz...@sychip.com] Sent: Saturday, April 17, 2010 9:03 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to fire 2 Custom Actions when user clicks Finishbutton? Any suggestions? Thanks. -----Original Message----- From: Zhou, Lei [mailto:lz...@sychip.com] Sent: Friday, April 16, 2010 1:16 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to fire 2 Custom Actions when user clicks Finishbutton? Hi, I already have something below to fire one Custom Action and I need to add another one to launch App2. For App1, I have a check box on the Finish dialog. But for app2, I don't really need a check box. I just need a way to fire it when a user clicks the Finish button in the following code. <UI> <Publish Dialog="MyExitDialog" Control="Finish" Order="1" Event="DoAction" Value="RunApp1"> RUNAPP1ONEXIT </Publish> </UI> By the way I have tried to fire App 2 Custom Action with the following code, <InstallExecuteSequence> <Custom Action="LaunchApp2" After="InstallFinalize">NOT Installed</Custom> </InstallExecuteSequence> It doesn't work. The log shows the App2 CA is executed fine but it fails mystically. I guess there is some timing issue. I see there are still installations going on after LaunchApp2 is fired. Both custom actions are sort of working. If I switch RunApp1 and LaunchApp2 in the above code, both App1 and App2 would run without problem. But I prefer to give a user an option whether App1 should be launched or not. Thank you. Louis Z. ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ 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 Portland House, Bressenden Place, London, SW1E 5BF (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_i d=77. You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail inet.hqhelpd...@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). ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users