[wix-devs] util:CloseApplication and multiple instances...

Bob Arnson bob at firegiant.com
Mon Dec 2 14:31:29 PST 2019


Looks awkward but +1.

-----Original Message-----
From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> On Behalf Of Hoover, Jacob via wix-devs
Sent: Monday, 2 December, 2019 15:59
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Cc: Hoover, Jacob <Jacob.Hoover at greenheck.com>
Subject: [wix-devs] util:CloseApplication and multiple instances...

Random thought after a week of being fat and happy...

The current behavior of util:CloseApplication only keys off of the process name.  Would anyone be at all interested in an addition to the current behavior of also specifying a directory that the exe must be located in?

It doesn't look like it would be too hard to tweak the existing behavior, with ProcFindAllIdsFromExeName in proc2util.h and https://docs.microsoft.com/en-us/windows/win32/api/tlhelp32/ns-tlhelp32-processentry32w .

Thanks,
Jacob

____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-devs mailing list