/build/static/layout/Breadcrumb_cap_w.png

Concurrent MSI Installation issue

Hi,

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

 


0 Comments   [ + ] Show comments

Answers (3)

Answer Summary:
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.
Posted by: bkelly 12 years ago
Red Belt
4

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

Posted by: pjgeutjens 12 years ago
Red Belt
1

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.

Also I assume you know these so-called nested installs are generally considered to be bad practice?

Posted by: mazessj 12 years ago
Blue Belt
0

Make the batch file external to the whole process and have it call each MSI in the desired sequence. Don't have one MSI call another MSI. Nesting is strongly discouraged.

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ