Tyler, I haven't needed to do this, but below is what I am going to try soon. I am curious if people agree this is correct and best way to achieve the behavior you describe.
I believe your issue with MajorUpgrade is that FindRelatedProducts finds all the products which have the same upgrade code and passes them to be used for uninstall. I believe you need to set WIX_UPGRADE_DETECTED to just the produce code you want uninstalled after FindRelatedProducts runs. Maybe you just need to use the FindRelatedProducts element in WiX and have it set to your product code? References on major upgrade: Bob's posting - http://www.joyofsetup.com/2010/01/16/major-upgrades-now-easier-than-ever/ Aaron's posting (see comments): http://blogs.msdn.com/b/astebner/archive/2008/12/16/9229827.aspx I would also search here for "multiple instance" too. ~Pat 3. Multi-Instance. I am having a problem doing major upgrades. I ran into the problem of all instances being uninstalled instead of just the specified instance. I learned each instance needs to be part of its own upgradecode family, so now each instance transform has its own upgradcode. The problem is that I can't figure out now how to search for the specific upgradcode code and mark it for uninstallation. I was trying to use the 'Upgrade' element, but it doesn't allow for a condition, which is the only way I see it working. What have other people done to make multi-instance major upgrades work? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/A-RegistrySearch-question-and-Multi-Instance-questions-tp6251280p6254197.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users