1

i have created a installation setup in C#.net using Setup Wizard. I want to run a cmd command or batch file as soon as the setup finishes its work. Is it possible and how?

2
  • I think you could do this via Process and ShellExec. Commented Dec 10, 2013 at 12:26
  • where to add this command...setup is build using setup wizard... Commented Dec 11, 2013 at 5:28

1 Answer 1

3

Found the solution for my question...would like to mention if anybody else searching for it:

How do I launch an application after install in a Visual Studio Setup Project

Add required commands to the Installer class in the main application.

Thanks all

Sign up to request clarification or add additional context in comments.

1 Comment

Accept your answer. :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.