With all due respect, I think you've missed what Pally was telling you. 2010.2.0.0 is an invalid version number for a product version. The first number (Microsoft calls that the major version number) must be less than 255. Since yours is 2010, its invalid and you can't use it.
This is also why you are getting the error message originally as well. On 07/27/2010 09:43 AM, subrat agasti wrote: > I think u missed what i was asking. My assembly has a version 2010.2.0.0. I > dont want to change that version. And because of this I can't use the > !(bind.FileVersion.fileId), which will update the product version number > based on the assembly version. > > <Product Id="{B6870E83-42B6-409F-9309-8363A604C1F1}" > Version="!(bind.FileVersion.myfileId)"> > > So i was asking if there is any other method to update the version number > automatically now that i cannot use !(bind.FileVersion.fileId). > > Thanks for the "Where's Wally" stuff though. > > On Tue, Jul 27, 2010 at 6:41 PM, Pally Sandher<pally.sand...@iesve.com>wrote: > > >> OK you clearly missed the point on the page linked so I'll do you a >> favour& copy& paste it in the hope that you spot the issue this time. >> Consider this the WiX-users list version of "Where's Wally". >> >> >> "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." >> >> >> Palbinder Sandher >> Software Deployment& IT Administrator >> T: +44 (0) 141 945 8500 >> F: +44 (0) 141 945 8501 >> >> http://www.iesve.com >> **Design, Simulate + Innovate with the<Virtual Environment>** >> Integrated Environmental Solutions Limited. Registered in Scotland No. >> SC151456 >> Registered Office - Helix Building, West Of Scotland Science Park, >> Glasgow G20 0SP >> Email Disclaimer >> >> >> -----Original Message----- >> From: subrat agasti [mailto:subrat.w...@gmail.com] >> Sent: 27 July 2010 14:03 >> To: General discussion for Windows Installer XML toolset. >> Subject: Re: [WiX-users] updating the version number automatically >> >> Thanks for the quick reply Pally. I can't use the >> !(bind.FileVersion.fileId) , because I can't change my file version. Is >> there any other way to update the version number of the MSI >> automatically? is it possible to read it from a file ? >> >> On Tue, Jul 27, 2010 at 6:10 PM, Pally Sandher >> <pally.sand...@iesve.com>wrote: >> >> >>> http://msdn.microsoft.com/en-us/library/aa370859.aspx >>> >>> Palbinder Sandher >>> Software Deployment& IT Administrator >>> T: +44 (0) 141 945 8500 >>> F: +44 (0) 141 945 8501 >>> >>> http://www.iesve.com >>> **Design, Simulate + Innovate with the<Virtual Environment>** >>> Integrated Environmental Solutions Limited. Registered in Scotland No. >>> SC151456 >>> Registered Office - Helix Building, West Of Scotland Science Park, >>> Glasgow G20 0SP Email Disclaimer >>> >>> -----Original Message----- >>> From: subrat agasti [mailto:subrat.w...@gmail.com] >>> Sent: 27 July 2010 13:25 >>> To: wix-users@lists.sourceforge.net >>> Subject: [WiX-users] updating the version number automatically >>> >>> Hi, >>> >>> I am updating the version number of my msi using >>> !(bind.FileVersion.fileId). But i am getting an error which says that >>> the version number 2010.2.0.0 is invalid.Why is that? This is the >>> version number of my .exe file. I can't change the version number of >>> this file. Is there any other way to update the version number of the >>> MSI automatically? is it possible to read it from a file ? >>> >>> Thanks, >>> >>> Subrat Agasti >>> ---------------------------------------------------------------------- >>> -- >>> ------ >>> The Palm PDK Hot Apps Program offers developers who use the Plug-In >>> Development Kit to bring their C/C++ apps to Palm for a share of $1 >>> Million in cash or HP Products. Visit us here for more details: >>> http://ad.doubleclick.net/clk;226879339;13503038;l? >>> http://clk.atdmt.com/CRS/go/247765532/direct/01/ >>> _______________________________________________ >>> WiX-users mailing list >>> WiX-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wix-users >>> >>> >>> >>> >>> ---------------------------------------------------------------------- >>> -------- The Palm PDK Hot Apps Program offers developers who use the >>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share >>> of $1 Million in cash or HP Products. Visit us here for more details: >>> http://ad.doubleclick.net/clk;226879339;13503038;l? >>> http://clk.atdmt.com/CRS/go/247765532/direct/01/ >>> _______________________________________________ >>> WiX-users mailing list >>> WiX-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wix-users >>> >>> >> ------------------------------------------------------------------------ >> ------ >> The Palm PDK Hot Apps Program offers developers who use the Plug-In >> Development Kit to bring their C/C++ apps to Palm for a share of $1 >> Million in cash or HP Products. Visit us here for more details: >> http://ad.doubleclick.net/clk;226879339;13503038;l? >> http://clk.atdmt.com/CRS/go/247765532/direct/01/ >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> >> >> >> ------------------------------------------------------------------------------ >> The Palm PDK Hot Apps Program offers developers who use the >> Plug-In Development Kit to bring their C/C++ apps to Palm for a share >> of $1 Million in cash or HP Products. Visit us here for more details: >> http://ad.doubleclick.net/clk;226879339;13503038;l? >> http://clk.atdmt.com/CRS/go/247765532/direct/01/ >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://ad.doubleclick.net/clk;226879339;13503038;l? > http://clk.atdmt.com/CRS/go/247765532/direct/01/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users