The way I accomplished this is I created a Boolean value that is true if it's 
an initial install (not upgrade or uninstall), then I created an event handler 
for the Finish button that launches the executable.  It looks something like 
this:

View.FinishButton.Click += (s, e) =>
        {
                If(initialInstall)
                {
                        System.Diagnostics.Process.Start(InstallDir + 
@"\path\to\exe.exe");
                }
        Dispatcher.CurrentDispatcher.InvokeShutdown();
        };

Hope this helps, 

Nick

-----Original Message-----
From: andreas.paetz...@btc-ag.com [mailto:andreas.paetz...@btc-ag.com] 
Sent: Friday, July 19, 2013 5:16 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Start application after WIX bundle installation

Hi together,
ist there any possibility to start an application after successful bundle 
installation? Already spent hours with google to find a working solution but it 
seems that there isn't any...
Thanks for your help.

Kind regards,

Andreas


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics Get end-to-end 
visibility with application monitoring from AppDynamics Isolate bottlenecks and 
diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to