Re: [WiX-users] Detect specific running application during installation with WIX.

2013-01-30 Thread Steven Ogilvie
: Re: [WiX-users] Detect specific running application during installation with WIX. I'd argue your best bet is to use the RestartResource element in the Util extension to add the resource to the restart manager and let it do all the work for you. In the case of Office apps, it shou

Re: [WiX-users] Detect specific running application during installation with WIX.

2013-01-30 Thread Rob Mensching
cally save state, close, then reopen. -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: Tuesday, January 29, 2013 6:06 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Detect specific running application during installation

Re: [WiX-users] Detect specific running application during installation with WIX.

2013-01-29 Thread Steven Ogilvie
Your best bet is to create a custom action i.e. I close Outlook at the beginning of the install, then relaunch it after the install (if Outlook was indeed closed) /// /// Kills Outlook just as the install/uninstall starts /// /// /// return ActionResult