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

Msiinfo.exe

· 52CE 我爱测

Msiinfo.exe is a command line utility that uses Database Functions and Installer Functions to edit or display the summary information stream of a database.

Msiinfo.exe is a command line utility that uses Database Functions and Installer Functions to edit or display the summary information stream of a database.

Syntax

MsiInfo {database}[[/B] /D]{option}{data}

  • The database cannot be a read-only database.
  • If no data follows an option, the corresponding property is removed.
  • A maximum of 20 options may be specified on the command line. The same properties can be specified multiple times.
  • If the data contains a space, enclose the data with quote marks. For example, such as /T "MY TITLE".

Command Line Options

Msiinfo.exe uses the following case-insensitive command line options. A slash delimiter may also be used in place of a dash. For more information see Summary Information Stream Property Set.

Option Description Property ID PID
none If no options are specified, the utility displays the current values of the Summary Information properties.
-b Display information about every string in the string pool. The -b option is only valid if -d is also used and -b must come before the -d option.
-d Display information about the string pool. Validates the string pool and provides information about the codepage of the database. Note that the codepage of the database is different than the codepage of the Summary Information stream (PID_CODEPAGE). This option also checks every string for characters that are invalid in the codepage of the database.
-i Not applicable. Reserved. PID_DICTIONARY 0
-c Sets the Codepage Summary Property. PID_CODEPAGE 1
-t Sets the Title Summary Property. PID_TITLE 2
-j Sets the Subject Summary Property. ID PID_SUBJECT 3
-a Sets the Author Summary Property. PID_AUTHOR 4
-k Sets the Keywords Summary Property. PID_KEYWORDS 5
-o Sets the Comments Summary Property. PID_COMMENTS 6
-p Sets the Template Summary Property. PID_TEMPLATE 7
-l Sets the Last Saved By Summary Property. PID_LASTAUTHOR 8
-v Sets the Revision Number Summary Property. PID_REVNUMBER 9
-e Not applicable. Reserved. PID_EDITTIME 10
-s Sets the Last Printed Summary Property. To specify the year, month, day, hour, minute, and second, use the format "yyyy/mm/dd hh:mm:ss." For example, "1997/06/20 03:25:59". PID_LASTPRINTED 11
-r Sets the Create Time/Date Summary Property. To specify the year, month, day, hour, minute, and second, use the format "yyyy/mm/dd hh:mm:ss." For example, "1997/06/20 03:25:59". PID_CREATE_DTM 12
-q Sets the Last Saved Time/Date Summary Property. To specify the year, month, day, hour, minute, and second, use the format "yyyy/mm/dd hh:mm:ss." For example, "1997/06/20 03:25:59". PID_LASTSAVE_DTM 13
-g Sets the Page Count Summary Property. PID_PAGECOUNT 14
-w Sets the Word Count Summary Property. PID_WORDCOUNT 15
-h Sets the Character Count Summary Property. PID_CHARCOUNT 16
Not applicable. Reserved. PID_THUMBNAIL 17
-n Sets the Creating Application Summary Property. PID_APPNAME 18
-u Sets the Security Summary Property. PID_SECURITY 19

This tool is only available in the Windows SDK Components for Windows Installer Developers.

Related topics

Windows Installer Development Tools

Released Versions, Tools, and Redistributables

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)

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

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