I'd start by asking what your HF1 and HF2 bundles look like. Are they purely hotfix bundles, or are they meant to replace the original bundle?
To me it wouldn't make sense for the RTM bundle to have to know what the future hotfix bundles look like, so I would expect the HF1 bundle to have a RelatedBundle element tying it back to RTM. To me it makes the most sense to have HF1 and HF2 both share a unique upgrade code that is different than the RTM upgrade code and have them both point back to RTM, with an action of Patch. With that setup, trying to install HF1 when HF2 is already there should block as HF2 would have a higher version than HF1. When you uninstall RTM, I would also expect it to remove any related bundles. -----Original Message----- From: tom [mailto:tomer.d...@intergraph.com] Sent: Sunday, November 17, 2013 10:43 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Why do i need to add RelatedBundle in the 'main' bundle? Hi I am trying to support 'sequencing' of a bundle such that the user will not be able to install HF1 on top of HF2 When I use same UpgradeCode for all the bundles and remove 'main' bundle it does not remove other bundles When I use different UpgdraeCode then when installing HF1 on top of HF2 I don’t get the expected OnDetectRelatedBundle event (I need 2 one for HF2 and the second for the 'main') Also I don’t understand why the 'main' bundle should have Related Bundle element? (Mentioned by Rob) Thanks in advance -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Why-do-i-need-to-add-RelatedBundle-in-the-main-bundle-tp7590702.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users