The tool you used to use isn't the evil, it's how you used it that was evil. I know, 'business needs' often demand us to do things like '2011.foo.bar' but the MSI SDK is quite clear on the subject:
ProductVersion http://msdn.microsoft.com/en-us/library/aa370859(VS.85).aspx The value of the ProductVersion property is the version of the product in string format. This property is REQUIRED. The format of the string is as follows: major.minor.build The first field is the major version and has a maximum value of 255. The second field is the minor version and has a maximum value of 255. The third field is called the build version or the update version and has a maximum value of 65,535. Your old tool allowed it ( usually without much real life harm ) but WiX simply doesn't allow it. The install developer should have told management "I'm sorry, I can display your custom version scheme on the dialog but I cannot possibly assign it to the ProductVersion." Chris Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me ----- Original Message ---- From: Sohail Somani <soh...@taggedtype.net> To: wix-users@lists.sourceforge.net Sent: Fri, August 27, 2010 9:51:33 AM Subject: [WiX-users] Exceeding version limits Hi, I'm currently in the middle (or nearing the end, I hope) of porting an installer from the evil that shall not be named to WiX. Mostly, it's been pretty easy. However, one thing which is sticking out is the version number. The products being ported use the current year as the major version number and this means strings like "2011.foo.bar". Obviously, if I try to use such a version, I am greeted with CNDL0242. I did find a workaround at the following page: http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg38954.html But that seems like it is guaranteed to cause me problems. Is there a simpler way to exceed the limits without using VB script? Should I write to the registry manually? Thanks. -- Sohail Somani -- iBlog : http://uint32t.blogspot.com iTweet: http://twitter.com/somanisoftware iCode : http://bitbucket.org/cheez ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users