MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: The .VER (version) File[Next]: The CHANGE HISTORY Part of an MSI Version File
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Source Code->The .VER (version) File->The PRODUCT Part of an MSI Version File

The PRODUCT Part of an MSI Version File

This section is "hidden" within the leading comments in the version file. The change history follows this section.

When a leading comment line (before first version entry) contains an "=" sign (equal sign by default) then a keyword has been found and some information is assigned to it. A keyword is case insensitive.

It is a trivial change to support more keywords if you wish to add your own (or even remove existing ones). For details on this you will need to look at the start of "VER.MMH". You can make keywords you supply mandatory or optional, if optional you could assign a default value. The "Version File Based Launch Conditions" section demonstrates the addition of a simple keyword.

The value for each keyword is placed into a "PPWIZARD" macro with a name that starts with "ProdInfo." and ends with the name of the keyword (for example "ProdInfo.Description" for the "Description" keyword).

You can reference one keyword within another using normal PPWIZARD syntax.

A keyword can continue over multiple lines if a leading '=' is used on the continued lines (a single space is used to join lines).

A line can be commented out by starting it with two semi-colon characters.

The keywords supported by default by "MAKEMSI.MMH" are:

The "company.mmh" header adds the following (by default) to the ones listed above:


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 12 Jun 2008Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: The .VER (version) File[Next]: The CHANGE HISTORY Part of an MSI Version File


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Wednesday June 25 2008 at 7:16pm
Visit MAKEMSI's Home PageThis external link was OK when tested at 21 Jun 2008

HTML page dated Mon, 29 Jan 2007 00:11:11 GMT
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 12 Jun 2008