Adding Summary Information

The following summary information properties must be defined in every installation package, using a software tool to access the Istream interface of the Summary Information Stream. For example, you can use the tool Msiinfo.exe provided with the Windows Installer SDK to set these properties. If these properties are not set, the package will not pass Package Validation.

Summary information property Data Notes
Template(Platform and Language)
;1033 Platform and language used by the database. If the platform specification is missing in the Template Summary property value, the installer assumes the Intel architecture. The ProductLanguage property from the database is typically used for this summary property. The sample's Language ID indicates that the package uses U.S. English.
Revision Number(Package Code)
{4966AEC4-3C59-4B07-9B98-1B6A7103C0D3} This is the package code GUID that uniquely identifies the sample package. If you reproduce this sample, use a utility such as GUIDGEN to generate a different GUID for your package. The results of GUIDGEN contain lowercase characters, note that you must change all lowercase characters to uppercase for a valid package code. See Package Codes.
Page Count(Minimum Installer Version)
200 For a minimum Windows Installer 2.0, this property should be set to the integer 200.
Word Count(Type of Source)
0 The global source type for the package is long file names and uncompressed. See Compressed and Uncompressed Sources and the description of the Attributes column of the File table for more information.

The remaining summary information stream properties are not required, but should be set for the MNP2000.msi sample.

Summary information property Data Notes
Title Installation Database Informs users that this database is for an installation rather than a transform or a patch.
Subject MNP2000 File browsers can display this as the product to be installed with this database.
Keywords Installer, MSI, Database File browsers that are capable of keyword searching can search for these words.
Author Microsoft Corporation Name of the product's manufacturer.
Comments This installer database contains the logic and data required to install Notepad. Informs users about the purpose of this database.
Creating Application Orca Application used to create the installation database. The sample specifies the Orca database editor as an example.
Security 0 The sample database is unrestricted read-write.

You do not need the set the Last Saved By, Last Saved Time/Date, Create Time/Date, Last Printed, Character Count, and Codepage summary properties to complete this sample database. The sample relies upon the database editing tool to set and update these optional properties.

For example, to use MsiInfo to add the summary information to the sample, change to the directory containing the database and use the following command line. Do not reuse the example package ID shown below.

Msiinfo.exe MNP2000.msi -T "Installation Database" -J Subject -A "Microsoft Corporation" -K "Installer, MSI, Database" -O "This installer database contains the logic and data required to install Notepad." -P ;1033 -V {4966AEC4-3C59-4B07-9B98-1B6A7103C0D3} -G 200 -W 0 -N Orca -U 0

For more details about summary information, see About the Summary Information Stream, Using the Summary Information Stream, and Summary Information Stream Reference.

See the Summary Information Stream Property Set for a complete list of all the summary information properties and Summary Property Descriptions for their description.

Continue