Jerry
Jerry

Reputation: 6557

How to Launch executable after installation is complete

I am using VS 2010. I have created a setup project to install my WPF application. Once the installation is complete, I would like the executable to launch. How do I get the executable to launch after installation is complete?

Upvotes: 1

Views: 3512

Answers (1)

KeithS
KeithS

Reputation: 71565

You can specify a custom action that happens after the Commit installation action, which will launch the application. You will not be able to let the user choose whether to launch the app from the last dialog using this method, as you may have seen with other installers; Setup Projects do not support that feature. You may be able to play around with adding an additional dialog into the process that will allow the user to choose, but it won't be a choice on the last dialog before clicking Finish.

More reading:

Create Custom Action to Start Application and Exit Installer

Upvotes: 3

Related Questions