Agreed, it doesn't look like it can kill them forcibly but there is an option to set a property when it can't so that the installer can abort or prompt the user if the application doesn't close. It depends on whether the user is in danger of losing any work if you terminate the process. There is still the Files In Use dialog as a second line of defence too (although I have once seen a user ignore that and expect an uninstall to work without rebooting).
-----Original Message----- From: Rob Hamflett [mailto:r...@snsys.com] Sent: 31 March 2011 09:59 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] [Wix-users] How can I kill process when uninstall Can CloseApplication kill processes though? It doesn't look like it can. If you need to forcibly kill something you might need a custom action to run taskkill or some custom code that does the job. Rob On 31/03/2011 09:45, Peter Shirtcliffe wrote: > Look at the CloseApplication element in the util schema in the Wix > documentation. > > -----Original Message----- > From: lxy.su...@gmail.com [mailto:lxy.su...@gmail.com] > Sent: 31 March 2011 09:40 > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] [Wix-users] How can I kill process when uninstall > > Hi all > > How can I achieve killing the process with the given name when uninstall my > application. Is there something that Wix can support that feature? > > Thanks! > > ----------------------------------------------------------------------------- - Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users