I have made a setup project using Visual Studio 2010 and it worked fine for what I need it to do. However, a requirement has come that before the installer installs my program, I need it run a batch file. For ease of life this batch file has been converted to an EXE also, so either the batch file can run, or the EXE, whichever is the easiest to run or program in.
How can I do this? It must run before the installer begins to install my program, not during or after, it must be before.