Jump to content

how to handle ERROR_INSTALL_ALREADY_RUNNING


sandiworld
 Share

Recommended Posts

Hi,

When I try to install any MSI using "MsiInstallProduct" and if another installation is going on, it fails with an error

Error 1618: Another installation is already in progress. Complete that installation before proceeding with this install.

I want to handle this situation like, my MSI should not fail in this case instead should wait until the another installation finishes.

Is there anything like a flag or lock we can use with the API "MsiInstallProduct".

Any ideas regarding this would be highly appreciated.

Link to comment
Share on other sites

This issue occurs because Microsoft Windows Installer can only run one installation at a time unless it is a nested installation.

See :- http://support.microsoft.com/kb/822454

For more information about nested installations, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/aa368010.aspx

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy