![]() |
|
![]() |
The .VER (version) File |
This file is required by default when creating a new MSI and supplies:
Normally the name of this version file is based on the name of the MSI script, for example if you are building "An MSI.mm" MAKEMSI will expect it to be named "An MSI.ver" (in the same directory), see the VER_FILENAME.VER macro on how to alter this.
The file supports inline comments, the right most ";;" (marks start of an inline comment) and any following text is ignored on any line of this file.
If for some reason you must have an XML file for this version information then have a look at the "XML Version File" section.
SAMPLE .VER FILE |
The version information is in a form which is easily processed by the PPWIZARD #import command. The product information is located prior to to this ("hidden" in comment lines).
;---------------------------------------------------------------------------- ; ; MODULE NAME: TESTMSI.VER ; ; $Author: USER "Dennis" $ ; $Revision: 1.11 $ ; $Date: 25 Aug 2006 19:51:16 $ ; $Logfile: C:/DBAREIS/Projects.PVCS/Win32/MakeMsi/TestMsi.ver.pvcs $ ; COPYRIGHT: (C)opyright Dennis Bareis, Australia, 2003 ; All rights reserved. ; ; DESCRIPTION: Sample VER file. ; ;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ; ProductName = TESTMSI ; Description = Just used to test my changes. Gets hacked to pieces ; = for testing (http://www.google.com)! ; = <ol> ; = <li>Does 1 ; = <li>Does 2 ; = <li>Does 3 ; = </ol> ; Note = note Just used to test my changes. Gets hacked to pieces ; = for testing (http://www.google.com)! ; Installed = WINDOWS_ALL ; MsiName = TestMsi ; Guid.UpgradeCode = {189829CB-237C-4296-9C89-028A0DEC7918} ;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ;############################################################################ VERSION : 3.080.0101 DATE : 10 July 2004 CHANGES : another one-10 ;############################################################################ VERSION : 3.080.0101 DATE : 9 July 2004 CHANGES : another one-9 ;############################################################################ VERSION : 3.080.0101 DATE : 21 Mar 2003 CHANGES : I will continue to hack this for testing. ;############################################################################ VERSION : 3.074.0000 DATE : 25 Feb 2003 CHANGES : First cut.
The "CustomField" above is exactly that, a non-standard field which the MSI creator has defined.
See "TryMe.VER" for another example (installed in MAKEMSI sample directory).
![]() ![]() |
| ![]() ![]() |