Msiinfo.exe

Windows Installer

Msiinfo.exe

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.

See Also

Windows Installer Development Tools
Released Versions, Tools, and Redistributables

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.