[wix-users] Wait for a process (identified by name) to terminate un wix uninstall

Patterson, Brent bcpatterson at xactware.com
Tue Aug 16 09:15:23 PDT 2016


Why not create a custom action that handles the process, and waits for it to exit before returning SUCCESSFUL?  Run this only on uninstall.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Mike Scalora
Sent: Tuesday, August 16, 2016 10:10 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Wait for a process (identified by name) to terminate un wix uninstall

I need to wait for a process to terminate (takes about 30 sec) during wix uninstall before deleting files it has open. I know the name ("Image Name" in task manager) of the target process. This process is not a child process of an application or service so those normal mechanisms are not working.

If not that, can I just pause for 30 sec before the file delete happens in the uninstall process??


-Mike Scalora

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

________________________________

Xactware's opt-in mailing list allows you to receive Xactware News that is of interest to you. Visit my.xactware.com today to join or to update your email preferences!

________________________________

This email is intended solely for the recipient. It may contain privileged, proprietary or confidential information or material. If you are not the intended recipient, please delete this email and any attachments and notify the sender of the error.



More information about the wix-users mailing list