Silly me. I was able to get the browsers to close by setting CloseMessage="yes". Next step, how do I use "FilesInUse"?
On Wed, Apr 25, 2012 at 12:18 PM, E. Timothy Uy <t...@loqu8.com> wrote: > I changed WixCloseApplications to run before InstallInitialize but this > did not help either. From the .msi log, I see > > Action 12:12:49: WixCloseApplications. >> Action start 12:12:49: WixCloseApplications. >> Action ended 12:12:50: WixCloseApplications. Return value 1. >> Action 12:12:50: InstallInitialize. >> Action start 12:12:50: InstallInitialize. >> Action ended 12:12:55: InstallInitialize. Return value 1. > > > I expected some kind of dialog saying I had these applications open, and > for the installer to either shut them down or prompt me to shutdown, but no > browsers get closed and there is no indication of any changes. > > >> <UI> >> <DialogRef Id="FilesInUse" /> >> <DialogRef Id="MsiRMFilesInUse" /> >> <UIRef Id="WixUI_InstallDir" /> >> <UIRef Id="WixUI_ErrorProgressText" /> >> </UI> >> <InstallExecuteSequence> >> <Custom Action="WixCloseApplications" Before="InstallInitialize" /> >> <Custom Action="QtExecInstallCmdLineSet" After="InstallFiles">Not >> Installed</Custom> >> <Custom Action="QtExecInstallCmdLineRun" >> After="QtExecInstallCmdLineSet">Not Installed</Custom> >> <ScheduleReboot After="QtExecInstallCmdLineRun" /> >> <Custom Action="QtExecUninstallCmdLineSet" >> Before="RemoveFiles">Installed</Custom> >> <Custom Action="QtExecUninstallCmdLineRun" >> After="QtExecUninstallCmdLineSet">Installed</Custom> >> </InstallExecuteSequence> >> >> <util:CloseApplication Id="CloseIE" CloseMessage="no" >> Description="Internet Explorer is still >> running." >> ElevatedCloseMessage="no" >> RebootPrompt="no" >> Target="iexplore.exe"/> >> <util:CloseApplication Id="CloseChrome" CloseMessage="no" >> Description="Chrome is still running." >> ElevatedCloseMessage="no" >> RebootPrompt="no" >> Target="chrome.exe"/> >> <util:CloseApplication Id="CloseFirefox" CloseMessage="no" >> Description="Chrome is still running." >> ElevatedCloseMessage="no" >> RebootPrompt="no" >> Target="firefox.exe"/> >> > > > On Wed, Apr 25, 2012 at 12:04 PM, E. Timothy Uy <t...@loqu8.com> wrote: > >> By the way, the code below doesn't work at all. >> >> >> On Wed, Apr 25, 2012 at 12:02 PM, E. Timothy Uy <t...@loqu8.com> wrote: >> >>> Looks like I can only use WixCloseApplications once. How do I close all >>> browsers both before installation and right before uninstallation? Trying >>> the following... >>> >>> <util:CloseApplication Id="CloseIE" CloseMessage="no" >>>> Description="Internet Explorer is still >>>> running." >>>> ElevatedCloseMessage="no" >>>> RebootPrompt="no" >>>> Target="iexplore.exe"/> >>>> <util:CloseApplication Id="CloseChrome" CloseMessage="no" >>>> Description="Chrome is still running." >>>> ElevatedCloseMessage="no" >>>> RebootPrompt="no" >>>> Target="chrome.exe"/> >>>> <util:CloseApplication Id="CloseFirefox" CloseMessage="no" >>>> Description="Chrome is still running." >>>> ElevatedCloseMessage="no" >>>> RebootPrompt="no" >>>> Target="firefox.exe"/> >>>> <InstallExecuteSequence> >>>> <Custom Action="WixCloseApplications" Before="LaunchConditions" /> >>> >>> >>> >>> >>> On Wed, Apr 25, 2012 at 2:03 AM, Peter Shirtcliffe <pshirtcli...@sdl.com >>> > wrote: >>> >>>> See Util:CloseApplication in the wix help. >>>> >>>> -----Original Message----- >>>> From: E. Timothy Uy [mailto:t...@loqu8.com] >>>> Sent: 25 April 2012 06:00 >>>> To: General discussion for Windows Installer XML toolset. >>>> Subject: [WiX-users] killing Chrome and Firefox >>>> >>>> Hi, we are a requirement to kill Chrome and Firefox during install, so >>>> that >>>> we can install or modify a plugin. What is the best way to kill >>>> processes (or >>>> ask the user to kill processes)? >>>> >>>> Thanks, >>>> Tim >>>> >>>> ----------------------------------------------------------------------------- >>>> - >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and threat >>>> landscape has changed and how IT managers can respond. Discussions will >>>> include endpoint security, mobile security and the latest in malware >>>> threats. >>>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> 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. >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. >>>> Discussions >>>> will include endpoint security, mobile security and the latest in >>>> malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> WiX-users mailing list >>>> WiX-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/wix-users >>>> >>> >>> >> > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users