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

Using the Summary Information Stream

· 52CE 我爱测

This section describes which functions in the Windows Installer API can call the summary information stream properties. For more information on the summary information stream and how it works with databases, see About the Summary Information Stream.

This section describes which functions in the Windows Installer API can call the summary information stream properties. For more information on the summary information stream and how it works with databases, see About the Summary Information Stream.

  • It is important to remember that the installer contains different types of databases, and some properties of the summary information stream have different meanings with different databases. For more information, see Summary Property Descriptions.
  • When a database is opened as the output of another database, the summary information stream of the output database is actually a read-only mirror of the original database and thus cannot be changed. Additionally, it will not be persisted with the database. To create or modify the summary information for the output database it must be closed and re-opened.

The following steps describe how to use the summary information stream functions:

To use the summary information stream properties

  1. Obtain a handle to the database containing the summary information stream by calling the MsiGetSummaryInformation function.
  2. Call the MsiSummaryInfoGetPropertyCount function to obtain the number of existing properties.
  3. Call the MsiSummaryInfoGetProperty function to view a single summary information property.
  4. Call the MsiSummaryInfoSetProperty function to set a single property
  5. Call the MsiSummaryInfoPersist function to save the summary information property.
  6. Call the MsiCreateTransformSummaryInfo function to create the summary information for an existing transform.

Orca.exe and Msiinfo.exe are tools that can be used to edit or display the summary information stream of a database. These tools are only available in the Windows SDK Components for Windows Installer Developers.

The summary information stream can also be accessed using the following methods and properties of the Windows Installer Automation Interface.

The VBScript file WiSumInf.vbs is provided in the Windows SDK Components for Windows Installer Developers. This sample script can be used to manage the summary information stream of a Windows Installer package. For more information about WiSumInf.vbs, see Manage Summary Information.

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)

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

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