: January-27-15 3:49 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] seeing if a MSI is running using mutex... [P]
Now I look closer, I think you're missing something. CreateMute() by itself
isn't sufficient. You have to attempt to get it. The code I've used also has
Classification: Public
So I presume a WAIT_ABANDONED means that a MSI is running?
-Original Message-
From: Phil Wilson [mailto:phildgwil...@gmail.com]
Sent: January-27-15 3:49 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] seeing if a MSI is running using mutex
I'll put it this way: I don't understand why you're not passing the
string LPCWSTR sczMutexName = LGlobal\\_MSIExecute; into
CreateMutex(). Why the StrAllocFormatted call?
Also it's only locked during the execute sequence, and I don't know
how you're testing it.
---
Phil Wilson
On
What is the actual MSI mutex?
Thanks
Steve
From: Phil Wilson [via Windows Installer XML (WiX) toolset]
Sent: Tuesday, January 27, 2015 12:59
To: StevenOgilvie
Subject: Re: seeing if a MSI is running using mutex...
It appears that your CreateMutex isn't passing in the actual MSI mutex
in
The docs seem to indicate that it's still used, but they also suggest
querying the service status to see if it's accepting shutdown
commands.
https://msdn.microsoft.com/en-us/library/aa372909(v=vs.85).aspx
---
Phil Wilson
On Tue, Jan 27, 2015 at 9:56 AM, Rob Mensching
[mailto:phildgwil...@gmail.com]
Sent: January-27-15 1:25 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] seeing if a MSI is running using mutex...
I'll put it this way: I don't understand why you're not passing the string
LPCWSTR sczMutexName = LGlobal\\_MSIExecute; into CreateMutex
discussion about the WiX toolset.
Subject: Re: [WiX-users] seeing if a MSI is running using mutex...
I'll put it this way: I don't understand why you're not passing the string
LPCWSTR sczMutexName = LGlobal\\_MSIExecute; into CreateMutex(). Why the
StrAllocFormatted call?
Also it's only
I could be wrong but I thought MSI stopped using the mutex a couple versions
ago.
_
Short replies here. Complete answers over there: http://www.firegiant.com/
-Original Message-
From: StevenOgilvie [mailto:sogil...@msn.com]
It appears that your CreateMutex isn't passing in the actual MSI mutex
in sczMutexName .
---
Phil Wilson
On Tue, Jan 27, 2015 at 7:51 AM, StevenOgilvie sogil...@msn.com wrote:
Hi all,
Trying to create a method to detect if ANY MSI is running and if so halt
bootstrapper...
I am
9 matches
Mail list logo