In my very limited experience, I've been impressed with how clean and easy doing major upgrades are using WiX (with little more than a single MajorUpgrade tag).
Whenever possible, I would recommend always doing a major upgrade (just because it works so well), unless there's some reason you *really* need minor upgrades or patches (such as your software is huge and it would be massive overhead to completely reinstall it with a major upgrade for every change). See http://wix.tramontana.co.hu/tutorial/upgrades-and-modularization Alain -----Original Message----- From: Phil Wilson [mailto:phil.wil...@mvps.org] Sent: March 26, 2013 14:42 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Upgrade doesn't work ...so somebody doing an upgrade needs to decide which option to use, and it's typically based on the scope of the changes. Just changing a few binaries means a patch is a lightweight option for customers. More major changes (adding files, updating files, new custom actions) typically mean building a major upgrade, and as Steven says, that's a complete new MSI with incremented ProductVersion, new ProductCode and same UpgradeCode, plus the major upgrade things in WiX to make it work. Phil -----Original Message----- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: Tuesday, March 26, 2013 8:24 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Upgrade doesn't work This is from the WIX help file: There are different restrictions for patches based on what type of patch is to be installed. There are three types of patches: Small updates do not change the ProductVersion property of a target product and typically represent a small subset of files to be updated. Minor upgrades do change the ProductVersion property of a target product and typically represent a larger subset of files to be updated. Minor upgrades might also be installed as upgrade MSIs. http://msdn.microsoft.com/en-us/library/aa370037(v=vs.85).aspx Major upgrades change both the ProductVersion and ProductCode and contain all files in a product. Shipping major upgrades as a patch is, however, not recommended and WiX does not support building major upgrade patches because of the problems they create. For information about restrictions for each type of patch, read Changing the Product Code. http://msdn.microsoft.com/en-us/library/aa367850.aspx -----Original Message----- From: jess [mailto:jess.sangu...@gmail.com] Sent: March-26-13 11:11 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Upgrade doesn't work Help me please, I'm new user in wix, but i read a lot about major upgrade... Well let's me explain. I have a first installation, but now I want to do a minor upgrade (Update older files for new files), I don't need uninstall the old version, i just want replace them. Mi file wsx is like that. <?define RTMProductVersion="1.0.0" ?> <?define ProductVersion="2.0.0" ?> <Upgrade Id="$(var.UpgradeCode)"> <UpgradeVersion Minimum="$(var.ProductVersion)" IncludeMinimum="no" OnlyDetect="yes" Language="1033" Property="NEWPRODUCTFOUND" /> <UpgradeVersion Minimum="$(var.RTMProductVersion)" IncludeMinimum="yes" Maximum="$(var.ProductVersion)" IncludeMaximum="no" Language="1033" Property="UPGRADEFOUND" OnlyDetect="yes"/> </Upgrade> <CustomAction Id="PreventDowngrading" Error="Una versión mas actualizada del aplicativo ya se encuentra instalada." /> <InstallExecuteSequence> <Custom Action="PreventDowngrading" After="FindRelatedProducts">NEWPRODUCTFOUND</Custom> </InstallExecuteSequence> But when I try to install de new version, don´t happen nothing. When I try again to reinstall de new version with the option Repair, only in that way the file are updated. Please help me. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Upgrade-doesn- t-work-tp7584636.html Sent from the wix-users mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ---------------------------------------------------------------------------- -- Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users