If you have ISPP installed with Inno (now it is built-in), you can use the preprocessor function Exec()to run your batch file. Compilation will be suspended until it returns (place it at the beginning of the file).
#expr Exec("c:\file.bat")
If your command accepts arguments, you should write it as:
#expr Exec('c:\my_cmd.exe','some_argument')
, .