So lets cut to the chase, heres what you have to do:
1. Download the ZooomLauncher from: http://www.zooom.co.za/ZooomLauncher/ZooomLauncher.exe
2. Include ZooomLauncher.exe in the Application Folder for the File System of you Visual Studio Setup Project
3. Go to custom actions for the visual studio installer, and click on “add custom action”, then double click on the application folder and select the ZooomLauncher.exe file which you just added from your application folder
Then you will see ZooomLauncher.exe under the Commit section for the custom actions.
Click on it, and then in the properties window on the right, ensure that Installer Class is set to false (very important)
6. Then input the batch file you want to execute as an argument in the properties window on the right. This is the command which I passed to the Zooom Launcher to execute my batch file: “[ProgramFilesFolder][Manufacturer][ProductName]restoreDB.bat”
Hope this has helped you, and solved the problem very simply for the execution of batch files from the visual studio installer
Please donate a little something to show your support ?