The WordCount summary information property indicates the type of source file image. If this property is not present, it defaults to 0. Note that this property is stored in place of the standard Count property.
This property is a bit field. New bits may be added in the future. At present the following bits are available:
- Bit 0: 0 = long file names, 1 = short file names
- Bit 1: 0 = source is uncompressed, 1 = source is compressed
- Bit 2: 0 = source is original media, 1 = source is administrative installation
- [MSI 4.0] Bit 3: 0 = elevated privileges can be required to install, 1 = elevated privileges are not required to install
These are combined to give the WordCount summary information property one of the following values indicating a type of source file image:
- 0 - Original source using long file names. Matches tree in Directory table.
- 1 - Original source using short file names. Matches tree in Directory table.
- 2 - Compressed source files using long file names. Matches cabinets and files in the Media table.
- 3 - Compressed source files using short file names. Matches cabinets and files in the Media table.
- 4 - Administrative image using long file names. Matches tree in Directory table.
- 5 - Administrative image using short file names. Matches tree in Directory table.
Note that if the package is marked as compressed (bit 1 is set), the installer only installs files located at the root of the source. In this case, even files marked as uncompressed in the File table must be located at the root to be installed. To specify a source image that has both a cabinet file (compressed files) and uncompressed files that match the tree in the Directory table, mark the package as uncompressed by leaving bit 1 unset (value=0) in the WordCount summary information property and set Compressed (value=16384) in the Attributes column of the File table for each file in the cabinet.
For a patch package, the WordCount summary information property specifies the patch engine that was used to create the patch files. The default value is 1 and indicates that MSPATCH was used to create the patch A value of "2" means that the patch is using smaller, optimized, files available only with Windows Installer version 1.2 or later. A patch with a WordCount of "2" fails immediately if used with a Windows Installer version earlier than 1.2. A patch with a WordCount of "3" fails immediately if used with a Windows Installer version earlier than 2.0.
This summary property is REQUIRED.
Win32 MSI APIs: MsiSummaryInfoGetProperty, MsiSummaryInfoSetProperty