Oh, sorry, it's the pre-req that is registering your product. Yeah, this
case is a little screwy if the user chooses to install the pre-req but then
cancels the actual product install. You actually need to uninstall.


On Wed, Apr 10, 2013 at 3:56 PM, ptr <ptrajku...@gmail.com> wrote:

> It seems like I need to force a Plan and bail out like you mention.
>
> A simple scenario like this
>
> 1) A Custom BA which has a .NET prereq
> 2)  .NET is installed.
> 3) Customer doesn't agree to our License agreement and hits cancel
>
> It seems like if you simply do a Engine.Quit the bundle is still regarded
> as installed.  It would be good if there was Engine.Abort method that did
> the needful
>
> Thanks
> raj
>
>
>
>
> On Wed, Apr 10, 2013 at 4:27 PM, Rob Mensching <r...@robmensching.com>
> wrote:
>
> > If you get to Apply() then you need to return Result.Cancel from one of
> the
> > callbacks before apply phase is complete to cause rollback.
> >
> >
> > On Wed, Apr 10, 2013 at 2:41 PM, ptr <ptrajku...@gmail.com> wrote:
> >
> > > hey all
> > >
> > >  I have a custom managed boostrapper that installs .NET4 framework as a
> > > prereq. Let's call this OurProductWix.exe.
> > >
> > > Now we have old installshied based installers , let's call it
> > > OurProductSheild.exe
> > >
> > > Now consider this workflow
> > >
> > > 1) User has OurProductShield.exe already installed.
> > > 2) User launches our new OurProductWix.exe
> > > 3) .NET4 framework is installed.
> > > 4) My custom WPF BA runs and I detect OurProductShield.exe and prompt
> the
> > > user to quit my installation and uninstall our old product from
> AddRemove
> > > programs.
> > > 5) User follows directions and cancels out of my BA and uninstalls
> > > OurProductShield.exe
> > > 6) User launches OurProductWix.exe again but it errors out because I
> > detect
> > > that my bundle is installed.
> > >
> > > This is happening because in step 3) .NET4 is installed successfully by
> > > OurProductWix.exe.
> > >
> > > What I want to do is at step 5 somehow cancels the whole installation
> so
> > > that there is no error in step 6.
> > >
> > > Thanks in advance
> > > Raj
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > > Precog is a next-generation analytics platform capable of advanced
> > > analytics on semi-structured data. The platform includes APIs for
> > building
> > > apps and a phenomenal toolset for data science. Developers can use
> > > our toolset for easy data analysis & visualization. Get a free account!
> > > http://www2.precog.com/precogplatform/slashdotnewsletter
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> >
> >
> ------------------------------------------------------------------------------
> > Precog is a next-generation analytics platform capable of advanced
> > analytics on semi-structured data. The platform includes APIs for
> building
> > apps and a phenomenal toolset for data science. Developers can use
> > our toolset for easy data analysis & visualization. Get a free account!
> > http://www2.precog.com/precogplatform/slashdotnewsletter
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to