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

Reply via email to