run command line command from .net installation setup

3.1k views Asked by At

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?

1

There are 1 answers

1
Khushi On

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