I would say UPGRADE != relationType otherwise you'll be messing with add-on
and patch bundles too, I think.

On Fri, Sep 21, 2012 at 10:56 AM, Neil Sleightholm <n...@x2systems.com>wrote:

> So only set *pRequestedState = BOOTSTRAPPER_REQUEST_STATE_ABSENT if
> BOOTSTRAPPER_RELATION_NONE == relationType ?
>
> Neil
>
> -----Original Message-----
> From: Rob Mensching [mailto:r...@robmensching.com]
> Sent: 21 September 2012 18:23
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Bootstrapper Upgrade Detection
>
> Heh, heh, yeah, you'll go into an infinite loop if the two equal bundles
> keep upgrading each other. I bet you ended up with thousands of burn
> processes running trying to upgrade each other. Heh.
>
> You probably need to throw in the "relationType" provided from the Command
> line to make sure you don't start another upgrade when you are doing an
> upgrade.
>
> On Fri, Sep 21, 2012 at 7:23 AM, Gregory Beaty <greg.bea...@gmail.com
> >wrote:
>
> > Any answer to this?
> >
> > Greg Beaty
> > greg.bea...@gmail.com
> >
> >
> > On Tue, Sep 18, 2012 at 1:00 PM, Neil Sleightholm <n...@x2systems.com
> > >wrote:
> >
> > > This is what I tried, in OnDetectRelatedBundle() save the
> > > "operation". In
> > > OnPlanRelatedBundle() if the saved operation ==
> > > BOOTSTRAPPER_RELATED_OPERATION_NONE (which from previous emails I
> > > believe indicates that the version matches) then set
> > > *pRequestedState = BOOTSTRAPPER_REQUEST_STATE_ABSENT.
> > >
> > > This didn't work and caused the setup to go into an infinite loop
> > > launching itself again and again.
> > >
> > > Does my code look correct?
> > >
> > > Neil
> > >
> > > -----Original Message-----
> > > From: Rob Mensching [mailto:r...@robmensching.com]
> > > Sent: 17 September 2012 18:39
> > > To: General discussion for Windows Installer XML toolset.
> > > Subject: Re: [WiX-users] Bootstrapper Upgrade Detection
> > >
> > > You should be able to request ABSENT for the OnPlanRelatedBundle()
> > > of the bundle that has the same version. The default is NONE so it
> stays.
> > >
> > > On Mon, Sep 17, 2012 at 10:03 AM, Neil Sleightholm
> > > <n...@x2systems.com
> > > >wrote:
> > >
> > > > >> The BootstrapperApplication can override the default logic to
> > > > >> do
> > > > whichever you want. However, the wixstdba does not, so you get the
> > > > default behavior of the engine.
> > > >
> > > > If you have time I'd be interested to know how, I have looked at
> > > > this and as far as I can tell it is baked in to the Engine and I
> > > > couldn't find any way to override it.
> > > >
> > > > Neil
> > > >
> > > > -----Original Message-----
> > > > From: Rob Mensching [mailto:r...@robmensching.com]
> > > > Sent: 17 September 2012 17:28
> > > > To: General discussion for Windows Installer XML toolset.
> > > > Subject: Re: [WiX-users] Bootstrapper Upgrade Detection
> > > >
> > > > The default upgrade logic in the Burn engine does not block and
> > > > does not upgrade bundles with the same version. That is pretty
> > > > arguably wrong (and is the bug Neil is referring to). <smile/>
> > > >
> > > > The BootstrapperApplication can override the default logic to do
> > > > whichever you want. However, the wixstdba does not, so you get the
> > > > default behavior of the engine.
> > > > Most likely, if you continue to rebuild the Bundle but keep the
> > > > version the same, you have multiple bundles registered on your
> > > > machine. Go to Programs&Features (aka: ARP) and remove them all.
> > > > Package reference counting with all those Bundles still installed
> > > > will likely be very confusing. <smile/>
> > > >
> > > >
> > > >
> > > >
> > > > ------------------------------------------------------------------
> > > > ----
> > > > --------
> > > > 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
> > > >
> > >
> > >
> > >
> > > --
> > > virtually,
> > >
> > >    Rob Mensching
> > >    http://RobMensching.com LLC
> > >
> > >
> > ----------------------------------------------------------------------
> > --------
> > > 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
> > >
> >
> > ----------------------------------------------------------------------
> > --------
> > Got visibility?
> > Most devs has no idea what their production app looks like.
> > Find out how fast your code is with AppDynamics Lite.
> > http://ad.doubleclick.net/clk;262219671;13503038;y?
> > http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
>
> --
> virtually,
>
>    Rob Mensching
>    http://RobMensching.com LLC
>
> ------------------------------------------------------------------------------
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219671;13503038;y?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219671;13503038;y?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually,

   Rob Mensching
   http://RobMensching.com LLC
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to