|
|
|
Casey Young
|
I am having issues getting this to work correctly. What I am wanting to do
is close every instance of Internet Explorer before installing my toolbar application. The documentation is really thin on this, and I don't even know if I have it correct. Here is the snippet of code I have under the <Product> element: <CloseApplication xmlns="http://schemas.microsoft.com/wix/UtilExtension" Id="CloseIE" RebootPrompt="no" CloseMessage="yes" Target="iexplore.exe"/> <InstallUISequence> <Custom Action="WixCloseApplications" Before="LaunchConditions" /> </InstallUISequence> <InstallExecuteSequence> <Custom Action="WixCloseApplications" Before="LaunchConditions" /> </InstallExecuteSequence> Thanks, Casey ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@... https://lists.sourceforge.net/lists/listinfo/wix-users |
|
Neil Sleightholm
|
If you search this list you should see posts from me highlighting a few
issues (mainly it does close minimised applications) but essentially what you have is correct. I would have structured it like this: <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> <InstallExecuteSequence> <Custom Action="WixCloseApplications" Before="InstallValidate" /> </InstallExecuteSequence> <util:CloseApplication Id="CloseIE " CloseMessage="yes" Target="iexplore.exe " ElevatedCloseMessage="no" RebootPrompt="no" /> I have put it before InstallValidate as you don't really want to close IE unless someone actually wants to go ahead and complete your install (I think your way it will close IE when you start the install). What errors are you getting? (Apparently the issue with closing minimised apps should be fixed in this week's build.) Neil Neil Sleightholm X2 Systems Limited neil@... -----Original Message----- From: wix-users-bounces@... [mailto:wix-users-bounces@...] On Behalf Of Casey Young Sent: 27 August 2008 19:34 To: wix-users@... Subject: [WiX-users] CloseApplication Issue I am having issues getting this to work correctly. What I am wanting to do is close every instance of Internet Explorer before installing my toolbar application. The documentation is really thin on this, and I don't even know if I have it correct. Here is the snippet of code I have under the <Product> element: <CloseApplication xmlns="http://schemas.microsoft.com/wix/UtilExtension" Id="CloseIE" RebootPrompt="no" CloseMessage="yes" Target="iexplore.exe"/> <InstallUISequence> <Custom Action="WixCloseApplications" Before="LaunchConditions" /> </InstallUISequence> <InstallExecuteSequence> <Custom Action="WixCloseApplications" Before="LaunchConditions" /> </InstallExecuteSequence> Thanks, Casey ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@... https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@... https://lists.sourceforge.net/lists/listinfo/wix-users |
||||||||||||||||||
|
Casey Young
|
Neil,
I did search the list. I might of tried this before, but went on with other trials, and errors. I don't get an error, it just doesn't close IE. It is not minimized, it is just not in focus. I just tried this. On install it didn't close IE, but when i went to uninstall, it did close IE. So there is a bug with it, that will be fixed in this week's build? Thanks, Casey On Wed, Aug 27, 2008 at 1:56 PM, Neil Sleightholm <neil@...>wrote: > If you search this list you should see posts from me highlighting a few > issues (mainly it does close minimised applications) but essentially > what you have is correct. > > I would have structured it like this: > > <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" > xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> > > <InstallExecuteSequence> > <Custom Action="WixCloseApplications" Before="InstallValidate" /> > </InstallExecuteSequence> > > <util:CloseApplication Id="CloseIE " CloseMessage="yes" > Target="iexplore.exe " ElevatedCloseMessage="no" RebootPrompt="no" /> > > I have put it before InstallValidate as you don't really want to close > IE unless someone actually wants to go ahead and complete your install > (I think your way it will close IE when you start the install). > > What errors are you getting? > > (Apparently the issue with closing minimised apps should be fixed in > this week's build.) > > Neil > > Neil Sleightholm > X2 Systems Limited > neil@... > > > > -----Original Message----- > From: wix-users-bounces@... > [mailto:wix-users-bounces@...] On Behalf Of Casey > Young > Sent: 27 August 2008 19:34 > To: wix-users@... > Subject: [WiX-users] CloseApplication Issue > > I am having issues getting this to work correctly. What I am wanting to > do > is close every instance of Internet Explorer before installing my > toolbar > application. The documentation is really thin on this, and I don't even > know if I have it correct. > > Here is the snippet of code I have under the <Product> element: > > <CloseApplication xmlns="http://schemas.microsoft.com/wix/UtilExtension" > Id="CloseIE" RebootPrompt="no" CloseMessage="yes" > Target="iexplore.exe"/> > <InstallUISequence> > <Custom Action="WixCloseApplications" > Before="LaunchConditions" > /> > </InstallUISequence> > <InstallExecuteSequence> > <Custom Action="WixCloseApplications" > Before="LaunchConditions" > /> > </InstallExecuteSequence> > > Thanks, > Casey > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@... > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@... > https://lists.sourceforge.net/lists/listinfo/wix-users > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@... https://lists.sourceforge.net/lists/listinfo/wix-users |
||||||||||||||||||
|
Neil Sleightholm
|
That is odd that it didn't stop it on install, I have a sample that
closes notepad.exe, I'll try it with IE. I think this should stop it running on uninstall: <Custom Action="WixCloseApplications" Before="InstallValidate">NO REMOVE</Custom> There is a post on the list from Bob Arnson that says the minimised application bug should be fixed this week. Neil -----Original Message----- From: wix-users-bounces@... [mailto:wix-users-bounces@...] On Behalf Of Casey Young Sent: 27 August 2008 20:04 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] CloseApplication Issue Neil, I did search the list. I might of tried this before, but went on with other trials, and errors. I don't get an error, it just doesn't close IE. It is not minimized, it is just not in focus. I just tried this. On install it didn't close IE, but when i went to uninstall, it did close IE. So there is a bug with it, that will be fixed in this week's build? Thanks, Casey On Wed, Aug 27, 2008 at 1:56 PM, Neil Sleightholm <neil@...>wrote: > If you search this list you should see posts from me highlighting a few > issues (mainly it does close minimised applications) but essentially > what you have is correct. > > I would have structured it like this: > > <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" > xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> > > <InstallExecuteSequence> > <Custom Action="WixCloseApplications" Before="InstallValidate" /> > </InstallExecuteSequence> > > <util:CloseApplication Id="CloseIE " CloseMessage="yes" > Target="iexplore.exe " ElevatedCloseMessage="no" RebootPrompt="no" /> > > I have put it before InstallValidate as you don't really want to close > IE unless someone actually wants to go ahead and complete your install > (I think your way it will close IE when you start the install). > > What errors are you getting? > > (Apparently the issue with closing minimised apps should be fixed in > this week's build.) > > Neil > > Neil Sleightholm > X2 Systems Limited > neil@... > > > > -----Original Message----- > From: wix-users-bounces@... > [mailto:wix-users-bounces@...] On Behalf Of Casey > Young > Sent: 27 August 2008 19:34 > To: wix-users@... > Subject: [WiX-users] CloseApplication Issue > > I am having issues getting this to work correctly. What I am wanting > do > is close every instance of Internet Explorer before installing my > toolbar > application. The documentation is really thin on this, and I don't even > know if I have it correct. > > Here is the snippet of code I have under the <Product> element: > > <CloseApplication xmlns="http://schemas.microsoft.com/wix/UtilExtension" > Id="CloseIE" RebootPrompt="no" CloseMessage="yes" > Target="iexplore.exe"/> > <InstallUISequence> > <Custom Action="WixCloseApplications" > Before="LaunchConditions" > /> > </InstallUISequence> > <InstallExecuteSequence> > <Custom Action="WixCloseApplications" > Before="LaunchConditions" > /> > </InstallExecuteSequence> > > Thanks, > Casey > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@... > https://lists.sourceforge.net/lists/listinfo/wix-users > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@... > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@... https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@... https://lists.sourceforge.net/lists/listinfo/wix-users |
||||||||||||||||||
|
Bob Arnson-6
|
In reply to this post by Casey Young
Casey Young wrote:
> I am having issues getting this to work correctly. What I am wanting to do > is close every instance of Internet Explorer before installing my toolbar > application. The documentation is really thin on this, and I don't even > know if I have it correct. > We need more information to try to diagnose the problem. See http://www.joyofsetup.com/2008/07/15/verbose-logging-from-wcautil/ to turn on verbose logging for CloseApplication, then get a verbose log and search the log for WixCloseApplications messages. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@... https://lists.sourceforge.net/lists/listinfo/wix-users |
||||||||||||||||||
| Free Forum Powered by Nabble | Forum Help |