Sorry I forgot to copy the user group in on that reply.. This is the best way I can do it with WIX 2:
<Property Id="QtExecCmdLine" Value='"[SystemFolder]taskkill.exe" /im wsq95.exe /t /f'/> <CustomAction Id="QtExec" BinaryKey="wixca" DllEntry="CAQuietExec" Execute="immediate" Return="ignore"/> <Binary Id="wixca" src=".\wixtools\wixca.dll"/> <InstallExecuteSequence> <Custom Action="QtExec" After="InstallInitialize"> Installed </Custom> </InstallExecuteSequence> ----------------------------------------------------- I assume this is WIX 3 only? I read that it is incomplete on the user mailing list.. My best stab is still calling taskkill.exe directly with various switches :( Simon ----------------------------------------------------- -----Original Message----- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: 17 August 2007 15:35 To: Simon Topley Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Kill process Simon Topley wrote: > I can't find anything in the help about process control. There is an > simple exe file that users are frequently running during uninstall, > while the file is eventually removed it means that programfiles folder > is left behind and the icon is still in the system troy. Is there a > simple way to detect processes and warn users, or just kill the process? > I have been playing with using a custom action to call taskkill but it > isn't exactly tidy.. > Check out the util:CloseApplication element. -- sig://boB http://joyofsetup.com/ 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