" We also ran into this problem. It is just stupid that visual studio projects use 4 part version numbers and MSI only supports 3."
Visual Studio doesn't. We're talking in the context of major upgrades and the ProductVersion property. In Visual Studio that's the Version property of the Setup Project. If you put 4 digits in there, its build fails, saying "Must be of format ##.##.###". I suspect VS does this to ensure that you can't go ahead and build an upgrade that won't work because, after all, Visual Studio is building an MSI file! http://msdn.microsoft.com/en-us/library/aa370859(VS.85).aspx Phil Wilson -----Original Message----- From: Kim Gybels [mailto:kim.gyb...@metris.com] Sent: Monday, July 13, 2009 7:12 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Setup upgrade needs to care for 4th part of versionnumber Hi, >> >> Hello All, >> >> due to political issues (see below) my setups need to be able to >> upgrade when only the 4th part of the version info changes. >> >> Example: V1.0.0.1 needs to upgrade V1.0.0.0. My installers always do >> major upgrades, the product GUI always changes (that is OK and not an >> issue to discuss). >> We also ran into this problem. It is just stupid that visual studio projects use 4 part version numbers and MSI only supports 3. We have the following version numbering: Major.Minor.BranchNumber.SvnReversion Major and minor are mostly decided by product management. The fun part is that sometimes product management wants a new version with the same major and minor number, e.g: 3.1 and 3.1 SP1. So we need that BranchNumber to differentiate between the two. We got around this by cramming the Major and Minor number together :) New major = Major * 10 + Minor So for example version 3.1.6.3456 will become 31.6.3456 for the MSI. This however does imply that the minor number can not be more than 9 and that the largest version number ever will be 25.5 :) Note: all version strings shown to the user do show 3.1 and not 31. - Kim -- *Kim Gybels Software Developer * kim.gyb...@metris.com <mailto:kim.gyb...@metris.com> Tel: +32 16 74 01 01 Fax: +32 16 74 01 02 * Metris Europe * Interleuvenlaan 86 3001 Leuven Belgium www.metris.com <http://www.metris.com/> This message and any attachment are privileged, confidential and contain private information. If you are not the addressee named above any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is prohibited. If you have received this transmission in error, please notify the sender immediately and destroy this e-mail. Metris does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interference, and shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Incoming and outgoing email communications may be monitored by Metris, as permitted by applicable law and regulations. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users