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?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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