Thanks for the help, I will try if BOOTSTRAPPER_RELATED_OPERATION_NONE then operation = BOOTSTRAPPER_RELATED_OPERATION_MAJOR_UPGRADE and see if that does what I would like to achieve.
Neil -----Original Message----- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 25 August 2012 04:44 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Multiple entries in ARP Unless you have addons or patches or raw detection RelatedBundle elements you can be sure that's it. It is too bad we didn't pass the relation type to that callback. I think that's something we can add in WiX v3.7. The relation type would make it crystal clear. On Fri, Aug 24, 2012 at 2:37 PM, Neil Sleightholm <n...@x2systems.com>wrote: > Possibly, but BOOTSTRAPPER_RELATED_OPERATION_NONE is the default in > this function so it can mean other things. > > Neil > > -----Original Message----- > From: Rob Mensching [mailto:r...@robmensching.com] > Sent: 24 August 2012 21:33 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Multiple entries in ARP > > Right so the operation for a related bundle upgrade with the same > version > is: BOOTSTRAPPER_RELATED_OPERATION_NONE. > > On Wed, Aug 22, 2012 at 8:12 AM, Neil Sleightholm <n...@x2systems.com > >wrote: > > > Thanks. I think that it is too late in that function, it seems the > > comparison is in the engine. Looking at the code I think this might > > be a bug, in registration.cpp there is this code: > > > > case BOOTSTRAPPER_RELATION_UPGRADE: > > if (pCommand) > > { > > if (BOOTSTRAPPER_ACTION_INSTALL == > > pCommand->action) > > { > > if (pRegistration->qwVersion > > > pRelatedBundle->qwVersion) > > { > > operation = > > BOOTSTRAPPER_RELATED_OPERATION_MAJOR_UPGRADE; > > } > > else if (pRegistration->qwVersion < > > pRelatedBundle->qwVersion) > > { > > operation = > > BOOTSTRAPPER_RELATED_OPERATION_DOWNGRADE; > > } > > } > > } > > break; > > > > The code only checks version for "less than" and "greater than" but > > not "equal to". > > > > Neil > > > > -----Original Message----- > > From: Rob Mensching [mailto:r...@robmensching.com] > > Sent: 22 August 2012 14:57 > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] Multiple entries in ARP > > > > I think you'll want to look at the OnDetectRelatedBundle() callback. > > It should tell you there is another bunld with the same version on > > that would be an upgrade. > > > > On Tue, Aug 21, 2012 at 11:18 PM, Neil Sleightholm > > <n...@x2systems.com > > >wrote: > > > > > This is with the standard BA. With an MSI you can get the same > > > behaviour but it is easy to override and by default it would warn > > > you that an existing product was installed. I find this a real > > > pain when testing as usually I would link the version to the > > > version of the primary MSI and this doesn't change. I'll raise > > > this as a bug but I guess you won't want to fix it until 3.7. > > > > > > I also have a custom BA based on StdBA could you give me a hint > > > where the detection happens? > > > > > > Neil > > > > > > -----Original Message----- > > > From: Rob Mensching [mailto:r...@robmensching.com] > > > Sent: 22 August 2012 00:24 > > > To: General discussion for Windows Installer XML toolset. > > > Subject: Re: [WiX-users] Multiple entries in ARP > > > > > > It's up to the BA. Presumably the UpgradeCode is the same (since > > > you just > > > rebuilt) so the BA is notified that a "related bundle" with the > > > exact same version is on the machine. The BA can decide that is > > > fine and let the new bundle install SxS. > > > > > > You can get the same behavior with Windows installer packages by > > > changing the ProductCode and having the Upgrade table not detect > > > same > > version. > > > On Tue, Aug 21, 2012 at 8:49 AM, Neil Sleightholm > > > <n...@x2systems.com > > > >wrote: > > > > > > > This seems to be reproducible, if you rebuild that package with > > > > the same version number a duplicate entry appears in ARP - this > > > > feels like a bug to me but before I report it I wonder if anyone > > > > has a different > > > opinion. > > > > > > > > Neil > > > > > > > > -----Original Message----- > > > > From: Neil Sleightholm [mailto:n...@x2systems.com] > > > > Sent: 18 August 2012 13:55 > > > > To: General toolset. (wix-users@lists.sourceforge.net) > > > > Subject: [WiX-users] Multiple entries in ARP > > > > > > > > I know this is an odd scenario but if install a bundle and then > > > > rebuild it with the same version number and install it both > > > > versions appear in ARP, is this expected behaviour or a bug? > > > > > > > > Neil > > > > > > > > Neil Sleightholm > > > > X2 Systems Limited > > > > n...@x2systems.com<mailto:n...@x2systems.com> > > > > > > > > > > > > ---------------------------------------------------------------- > > > > -- > > > > -- > > > > -- > > > > -------- > > > > 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 > > > > > > > > > > > > > > > > -- > > > 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 > > > > > > > > > > > -- > > 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 > > > > > > -- > 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 > ------------------------------------------------------------------------------ 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