VirtueTech
asked on
How to execute a .BAT file (batch script) during or automatically after a Visual Studio Created Install/Setup Program?
Hello everyone,
I have created an installation "Setup Wizard" using Visual Studio 2003 for my C++ application. I have created a .BAT batch script that basically runs some command prompt commands to create a new user and a password for that user.
Currently the Install program just places the .BAT file on the users desktop for them to run after installation. It doesn't automatically run it after or during the installation.
How can I make it so that it either executes the .BAT file during or after the installation of my C++ program?
Again please note I'm using the standard Visual Studio 2003 "Setup Wizard" to create an installation/setup program that installs my C++ program on the users PC.
Thanks in advance.
I have created an installation "Setup Wizard" using Visual Studio 2003 for my C++ application. I have created a .BAT batch script that basically runs some command prompt commands to create a new user and a password for that user.
Currently the Install program just places the .BAT file on the users desktop for them to run after installation. It doesn't automatically run it after or during the installation.
How can I make it so that it either executes the .BAT file during or after the installation of my C++ program?
Again please note I'm using the standard Visual Studio 2003 "Setup Wizard" to create an installation/setup program that installs my C++ program on the users PC.
Thanks in advance.
ASKER
I checked and I don't see it. Looks like it might be VS 2005 only. Too bad...that would have been perfect.
Thanks for the reply.
Anyone else have an idea?
Thanks for the reply.
Anyone else have an idea?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks guys....going to give it a shot tonight
In Solution Explorer select project item, clock "Properties" tab. Properties contain PostBuildEvent - specifies any commands to execute after the build ends.