Skip to main content

Package element

The Package element is analogous to the main function in a C program. When linking, only one Package section can be given to the build to produce a successful result. Using this element creates an MSI file which often referred to as a Product.





You can specify any valid Windows code page by integer like 1252, or by web name like Windows-1252. See Code pages for more information.


Codepage (String) : The code page integer value or web name for the resulting MSI. See remarks for more information. The default codepage is 65001 (UTF-8).

Compressed (YesNoTypeUnion) : Indicates whether the package files are compressed. Default is compressed packages.

InstallerVersion (Integer) : The minimum version of the Windows Installer required to install this package. Take the major version of the required Windows Installer and multiply by a 100 then add the minor version of the Windows Installer. For example, "200" would represent Windows Installer 2.0 and "405" would represent Windows Installer 4.5. This value is defaulted to "500" which is the latest version of the Windows Installer and present in Windows 7 and later.

Language (LocalizableInteger) : The decimal language ID (LCID) for the product. Sets the ProductLanguage property.

Manufacturer (String, required) : The manufacturer of the package. Sets the Manufacturer property.

Name (String, required) : The descriptive name of the product. Sets the ProductName property.

ProductCode (AutogenGuid) : Optional ProductCode GUID for the package. By default, a new ProductCode property will be generated with every build enabling major upgrades.

Scope (PackageScopeTypeUnion) : Use this attribute to specify the installation scope of this package: per-machine, per-user, or a choice of either.

ShortNames (YesNoTypeUnion) : Indicates whether the package files are installed using 8.3 filenames.

UpgradeCode (Guid) : The upgrade code GUID for the product. Sets the UpgradeCode property.

Version (String, required) : The product's version string. Sets the ProductVersion property.

Edit the schema for this page