Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.85 KB

-msiexecute-mutex.md

File metadata and controls

26 lines (17 loc) · 1.85 KB
description ms.assetid title ms.topic ms.date
The \_MSIExecute Mutex is set only while processing the InstallExecuteSequence table, AdminExecuteSequence table, or AdvtExecuteSequence table.
2186422d-ccb2-4f7e-8c6d-326c00e0d9a9
_MSIExecute Mutex
article
05/31/2018

_MSIExecute Mutex

The _MSIExecute Mutex is set only while processing the InstallExecuteSequence table, AdminExecuteSequence table, or AdvtExecuteSequence table.

Because two installations cannot be run in the same process, an attempt to call the installer's application programming interface (API) returns ERROR_INSTALL_ALREADY_RUNNING (1618) in two cases:

See the Event Logging messages for information about what application is being installed.

In cases where it is impractical to return an ERROR_INSTALL_ALREADY_RUNNING error, you can retrieve the current status of the Windows Installer service before attempting to start the installation by using the QueryServiceStatusEx function. The Windows Installer service is currently running if the value of the dwControlsAccepted member of the returned SERVICE_STATUS_PROCESS structure is SERVICE_ACCEPT_SHUTDOWN.

Windows Installer 2.0: Not supported. The use of the QueryServiceStatusEx function to retrieve the current status of the Windows Installer service requires Windows Installer version 3.0 or greater.