Sadly not a lot of response. This is my best stab at it so far:
<Binary Id="taskkill" src='C:\Windows\system32\taskkill.exe'/> <CustomAction Id='KillWSQ' BinaryKey="taskkill" ExeCommand='/im wsq95.exe /t /f' Return="asyncNoWait" ></CustomAction> <InstallExecuteSequence> <Custom Action='KillWSQ' After="InstallInitialize">Installed</Custom> </InstallExecuteSequence> If nothing cleaner comes along then I'll have to put a switch into the exe that will force it to kill itself and any other copies of itself currently running. I'm surprised that the uninstall doesn't fail and only give this in the log (The file is removed dispite it being in use! And the process is still running with the real path to the exe that is removed. It has a failed to load file error in the sysinternals process explorer: Info 1603. The file C:\Program Files\FloodWorks85\mfc71.dll is being held in use by the following process: Name: wsq95, Id: 180, Window Title: '(not determined yet)'. Close that application and retry. Info 1603. The file C:\Program Files\FloodWorks85\msvcp71.dll is being held in use by the following process: Name: wsq95, Id: 180, Window Title: '(not determined yet)'. Close that application and retry. ... MSI (c) (70:54) [11:28:59:723]: File In Use: -wsq95- Window could not be found. Process ID: 180 ... MSI (c) (70:54) [11:28:59:723]: No window with title could be found for FilesInUse MSI (s) (F8:9C) [11:28:59:723]: Doing action: InstallInitialize ... FileRemove(,FileName=wsq95.exe,,ComponentId={8A562E67-7784-463A-85CA-B48 02C100633}) MSI (s) (F8:9C) [11:29:09:426]: Verifying accessibility of file: wsq95.exe The information contained in this e-mail is likely to be confidential and may be legally privileged. It is intended only for the addressee. If you have received this message in error please notify the sender immediately at the above address. The disclosure, copying or distribution of this message or its contents without the prior approval of Wallingford Software is strictly prohibited. Wallingford Software is not liable for unauthorised disclosures nor for subsequent actions or omissions in reliance upon them. Registered in the UK, company no: 02288719 Wallingford Software Limited, Howbery Park, Wallingford, Oxfordshire, OX10 8BA ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users