You certainly can. You just can't easily alter the UI due to the upgrade.

EmbeddedUI was intended to provide a replacement for ExternalUI if the only
reason for using a bootstrapper was to avoid using InternalUI. Since most
bootstrappers make all of their determinations and then call the packages
with various properties already set, that is what the EmbeddedUI
accommodates.

You can get notifications during InstallUISequence if you didn't suppress
InternalUI from your initialization code. Unfortunately, a session handle
isn't supplied in to the handler routine, and the docs state that the
session handle passed to the initialization routine isn't valid after you
return from that routine, so you can't reflect back decisions outside of the
return code from the handler.

However, during the initialization routine, you can run a limited set of
actions to help you determine what you need to show and what settings you
will ultimately need to make before returning to accommodate whatever was
discovered.

-----Original Message-----
From: AG Crum [mailto:crum.and...@gmail.com] 
Sent: Saturday, October 10, 2009 7:14 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Upgrade Detection (FindRelatedProducts) with
EmbeddedUI

I create a very basic MSI with an embeddedUI (the sample embedded UI).
FindRelatedProducts is already first in the InstallExecuteSequence. The
issue is that the EmbeddedUI launches first. Only after the
IEmbeddedUI.Intialize() returns true, does the InstallExecuteSequence begin.

Does this mean that you cannot perform upgrades while using an Embedded UI?

-Andrew

On Sat, Sep 19, 2009 at 12:17 PM, Konstantin Vlasenko <
konstantin.vlase...@gmail.com> wrote:

> Open your msi via ORCA.exe.
> Find the ordering of the custom actions.
> Set desired order for FindRelatedProducts.
>
> 2009/9/19 AG Crum <crum.and...@gmail.com>
>
> > Has anyone done an upgrade while using an EmbeddedUI? I asked a similar
> > question a while back and was wondering if anyone has figured out a way
> run
> > the action FindRelatedProducts (or simulate it), before the EmbeddedUI
> > initializes.
> >
> > Thanks,
> > AG
> >
> >
>
----------------------------------------------------------------------------
--
> > Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and
stay
> > ahead of the curve. Join us from November 9&#45;12, 2009. Register
> now&#33;
> > http://p.sf.net/sfu/devconf
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
>
> --
> Konstantin Vlasenko
>
>
----------------------------------------------------------------------------
--
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register
now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
----------------------------------------------------------------------------
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to