In Vista and above the restart manager closes the app: 
http://msdn.microsoft.com/en-us/library/windows/desktop/aa373651%28v=vs.85%29.aspx.
  That is what I use.  For Windows XP I have a custom action that closes my app 
although it looks like I should use Util:CloseApplication.

There was a period of time when I didn't have the above implemented and funny 
thing is that I never had an install stop when the old version of the app I was 
installing was open.    

-----Original Message-----
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] 
Sent: October-17-12 12:02 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] terminate/stop/close Application when installing

Util:CloseApplication is the Wix way to do it. I've provided an example on this 
thread
 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CloseApplicatio
n-td6885610.html#none

Also, you can document the requirement or put it in a bootstrapper/chainer.

-----Original Message-----
From: Muzikayise Flynn Buthelezi [mailto:muzkay...@gmail.com]
Sent: 17 October 2012 15:54
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] terminate/stop/close Application when installing

Good afternoon Team, trust everyone is well.

whats the best way to terminate an application before installing it?

We have an application which we rollout to thousands of machines, sometimes the 
application is still open on the machine while we do this rollout therefore the 
rollout does not occur on that machine. So what we want to do is 
terminate/stop/close current application so that we may carry on installing it.

the ideal solution would be to pop up an alert box advising the user that the 
application will be closed in 10 seconds, after 10 seconds then we 
terminate/stop/close the application and carry on with install (This would be 
nice, but first priority is just to
terminate/stop/close)


thanks in advance for your kind assistance,

-- 

Best always,

Muzi
082 594 4807


Light, Love & Prosperity in Abundance!!!

-----------------------------------------------------------------------------
-
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for free
today:
http://p.sf.net/sfu/appdyn_sfd2d_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.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for free 
today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to