How can I include a batch file or an .exe file in my setup, that runs after setup is complete?
Thanks
Furqan
How can I include a batch file or an .exe file in my setup,
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.
If it’s a Visual Studio Setup Project you can add a custom action. It can’t execute batch files, but it can execute scripts and executables and also call functions in some DLLs.
Here’s an article with more details: Visual Studio Setup – projects and custom actions
Be aware though, it’s usually not recommended to run scripts.