MSI error 1618: "Another installation is already in progress"
Error 1618 means Windows Installer is already handling another installation, and it only allows one at a time. Waiting for the other install to finish and then retrying is the first thing to try. If that does not help, restarting the Windows Installer service is the next step.
On this page
What it means
Error 1618 is named ERROR_INSTALL_ALREADY_RUNNING. Microsoft's wording is: "Another installation is already in progress. Complete that installation before proceeding with this install." You may see it as a dialog, as a line in an installer log, or as the exit code returned by msiexec.
Windows Installer runs one install transaction at a time. It protects that rule with a system-wide lock called the _MSIExecute mutex. If something else holds the lock when your installer asks for it, the installer stops and reports 1618. The package itself is usually fine, which is why waiting often solves it.
This is not the same as 1603 (a fatal error during install) or 1638 (another version of the product is already installed).
Symptoms and causes
You are likely dealing with this problem if:
- A message reading "Another installation is already in progress. Complete that installation before proceeding with this install."
msiexecfinishes with exit code 1618.- A deployment tool reports a failed install with return code 1618, often when several packages were pushed at the same time.
The usual causes, most common first:
- Another install, update or uninstall is really running
- A second installer, or a deployment tool running several packages in parallel, can be using Windows Installer at that moment.
- An earlier install was killed or crashed
- Cancelling an installer by force, for example by ending it in Task Manager, can leave an in-progress marker behind (this is how Druva's knowledge-base article describes it).
How to fix it
Work through these in order. They start with the quickest, safest checks and move to deeper repairs; stop as soon as the problem is gone.
1.Wait for the other install, then retry
If another install is genuinely running, the installer becomes available again when it finishes.
- Check whether any other installer window is open, and let it finish.
- Wait a few minutes, then start your installation again.
2.Restart the Windows Installer service
Helps when a killed or crashed install left the installer stuck.
Before you start: Only do this if no install is visibly making progress. Interrupting a running install can leave that program half-installed.
- Restart the Windows Installer service from an administrator Command Prompt. This is common practice, but it is not from Microsoft's documentation or the Druva article, which only describes the equivalent through Task Manager and the service list.
net stop msiserver net start msiserver - Run your installer again.
3.Deployment and scripting: install one package at a time
Pushing several MSI packages at once is a common reason for 1618 in deployment jobs.
- Set the tool to run packages one after another instead of in parallel, or configure a retry after a delay when the exit code is 1618.
- In your own code, Microsoft's
_MSIExecutemutex page describes callingQueryServiceStatusExon the Windows Installer service to check its status before starting an install. Per that page, the service is running whendwControlsAcceptedequalsSERVICE_ACCEPT_SHUTDOWN(Windows Installer 3.0 or later). Treat it as a status check, not as a definitive test of whether an install is in progress.
Check that it worked
- The installer runs past the point where it previously stopped, with no 1618 message.
- For deployment tools, the job reports success instead of return code 1618.
If it still fails
- If the error only appears with one program, contact that software vendor. Microsoft's error-code page is written for developers and tells end users to contact the vendor.
- If the message is different (for example 1603 or 1638), those are separate problems and need their own troubleshooting.
Questions
Is error 1618 the same as 'Another installation is already in progress'?
Yes. That dialog text is the message for error 1618.
Sources
- MsiExec.exe and InstMsi.exe error messages (for developers)Official · Microsoft Learn
- _MSIExecute MutexOfficial · Microsoft Learn
- The agent upgrade fails with error code 1618 (another installation is already in progress) · Druva