I have 6 batch files that I want executed during the installation. However, some of them depend on the actions executed by the other batch files. How do I sequence them in the installation and force them to wait until each batch file is done?
Currently I have the batch files added as predefined custom actions in order I would like them to be installed within "Install" execute sequence. For each batch file I selected "Synchronous execution, check return code."
When I run the installer, when it gets to the point where the first batch file is supposed to run, it runs all of them. How do I avoid this?
Also one of the batch files calls another MSI and then I get the error that only one installer can be running at the time. How do I avoid this?