[wix-users] Another installer is already running

Vanniekerk, Tyrel (GE Healthcare) tyrel.vanniekerk at ge.com
Mon Dec 10 09:47:13 PST 2018


So there are no generic solutions?  I thought if Office was installing or some other tool was installing, then other installers would be able to check that and stop their install.  If I understand that article correctly, that would work for certain parts of an MSI install, right?  So if they ran my bootstrapper, then ran it again, they would both run without a problem.

I would have thought there would be something in Windows itself that all installers could use.

From: Christopher Painter <chrpai at iswix.com>
Sent: Thursday, December 6, 2018 3:35 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Vanniekerk, Tyrel (GE Healthcare) <tyrel.vanniekerk at ge.com>
Subject: EXT: Re: Another installer is already running


https://docs.microsoft.com/en-us/windows/desktop/msi/-msiexecute-mutex

https://stackoverflow.com/questions/32049193/how-to-prevent-msi-error-another-program-is-being-installed/32056485#32056485




The person asking the question wanted it in powershell but it should be easy to port it back to c#.

________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>> on behalf of Vanniekerk, Tyrel (GE Healthcare) via wix-users <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Sent: Thursday, December 6, 2018 7:52 AM
To: wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>
Cc: Vanniekerk, Tyrel (GE Healthcare)
Subject: [wix-users] Another installer is already running

Hi,

Something I have been meaning to do it make my installer show a message and stop running if another installer is already running.  Is that something one can do?  I use a custom bootstrapper (C# .NET bootstrapper application).

Thanks,
Tyrel

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
WiX Support | WiX Experts and Resources from FireGiant<http://www.firegiant.com/>
www.firegiant.com<http://www.firegiant.com>
WiX Support | Installation, Development, Deployment | WiX Experts and Resources from FireGiant





More information about the wix-users mailing list