Concurrent MSI Installation issue
I have a MSI project, in which i am using a custom action to run a batch file, the batch file is pointed to another MSI. when i run the main MSI, it calls the batch file and batch file calls the child msi. i am getting the following error message
>>>"Another installation is already in progress, complete that installation before proceeding with this install"<<<
is there any tricky way i can proceed with this method of install? ::: Fuad
If you want to run another MSI installation from a custom action, that action has to be placed in Immediate Context, either before InstallInitialize or after InstallFinalize. At any other point the main installer has exclusive access (the so called mutex) to Windows Installer and another installation cannot run.
Community Chosen Answer
Your best bet may be to use the start command with the /wait parameter. It is built-in so you need not worry about any additional dependencies. http://ss64.com/nt/start.html