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&#174; 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&#174; 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

Reply via email to