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