大网数据广告活动
安装更新与部署

Adding Summary Information

· 52CE 我爱测

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.

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

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。