But don't you have to put something in the InstallExecuteSequence like <Custom Action="WixCloseApplications" After="InstallInitialize" />
? -----Original Message----- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Wednesday, October 12, 2011 12:11 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] CloseApplication This is what we use: <util:CloseApplication Id="CloseApplication" Target="XXX.exe" RebootPrompt="no" ElevatedCloseMessage="yes" CloseMessage="yes"> ?XXX.exe = 3 and ($XXX.exe = 2 or $XXX.exe = 4) </util:CloseApplication> where XXX.exe is the component Id of the exe. It works for upgrade as well as removal because we use an early scheduling of RemoveExistingProducts (which is the default when using <MajorUpgrade>) and that removes the existing product first. -----Original Message----- From: Stephen R Cook [mailto:stephen.r.c...@dom.com] Sent: 12 October 2011 17:00 To: wix-users@lists.sourceforge.net Subject: [WiX-users] CloseApplication I am working on a silent installer for an application and I need to be able to call the WixCloseApplications custom action on uninstall and upgrade. The installer is set to upgrade a previous version. I can get it to close the application when I am upgrading, but not uninstalling. ------------------------------------------- Stephen Cook Dominion Information Technology Phone: (304)627-3213 Tie Line: 8-630-3213 CONFIDENTIALITY NOTICE: This electronic message contains information which may be legally confidential and/or privileged and does not in any case represent a firm ENERGY COMMODITY bid or offer relating thereto which binds the sender without an additional express written confirmation to that effect. The information is intended solely for the individual or entity named above and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you. ----------------------------------------------------------------------------- - All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ 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. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users