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

Hoover, Jacob Jacob.Hoover at greenheck.com
Mon Dec 2 12:58:30 PST 2019


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



More information about the wix-devs mailing list