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 <[EMAIL PROTECTED]>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
> [EMAIL PROTECTED]
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Casey
> Young
> Sent: 27 August 2008 19:34
> To: wix-users@lists.sourceforge.net
> 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@lists.sourceforge.net
> 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@lists.sourceforge.net
> 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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to