Thanks Peter, good to know. I however re-use the $(var.VERSION) variable in quite a few other places like directories, shortcuts, websites, etc. and find that have four are excessive, so I'm trying to see if there is a simple way to reduce it to 3 or even 2 for those usages.
Any ideas? -----Original Message----- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Thursday, 25 October 2012 1:47 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Product Version via (bind.FileVersion.$(var.MAINEXE)) You can use a 4 field version for a product. Windows stores but ignores the final field. -----Original Message----- From: Johann A. Hough [mailto:joh...@silverskysoftware.com.au] Sent: 24 October 2012 16:44 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Product Version via (bind.FileVersion.$(var.MAINEXE)) Hi All I'm using the approach of defining a variable for the product version which is bound from one of the assemblies. <?define VERSION=!(bind.FileVersion.$(var.MAINEXE))?> This ends up as a number like "1.0.0.0" - how can I strip this down to "1.0.0"? Thanks, Johann ----------------------------------------------------------------------------- - Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users