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 linker to produce a successful result. Using this element creates an MSI file.
Parents
Children
- AdminExecuteSequence
- AdminUISequence
- AdvertiseExecuteSequence
- AppId
- Binary
- BroadcastEnvironmentChange (Util extension)
- BroadcastSettingChange (Util extension)
- CheckRebootRequired (Util extension)
- CloseApplication (Util extension)
- ComplianceCheck
- ComPlusApplication (Complus extension)
- ComPlusApplicationRole (Complus extension)
- ComPlusPartition (Complus extension)
- ComPlusPartitionRole (Complus extension)
- Component
- ComponentGroup
- CustomAction
- CustomActionRef
- CustomTable
- CustomTableRef
- Directory
- DirectoryRef
- DotNetCompatibilityCheck (Netfx extension)
- DotNetCompatibilityCheckRef (Netfx extension)
- EmbeddedChainer
- EmbeddedChainerRef
- EnsureTable
- ExitEarlyWithSuccess (Util extension)
- FailWhenDeferred (Util extension)
- Feature
- FeatureGroupRef
- FeatureRef
- FindVisualStudio (Vs extension)
- GetCapabilities (Directx extension)
- Group (Util extension)
- Icon
- InstallExecuteSequence
- InstallUISequence
- InstanceTransforms
- Launch
- MajorUpgrade
- Media
- MediaTemplate
- PackageCertificates
- PatchCertificates
- Property
- PropertyRef
- QueryNativeMachine (Util extension)
- QueryWindowsDirectories (Util extension)
- QueryWindowsDriverInfo (Util extension)
- QueryWindowsSuiteInfo (Util extension)
- QueryWindowsWellKnownSIDs (Util extension)
- Requires
- RestartResource (Util extension)
- SetDirectory
- SetProperty
- SFPCatalog
- SoftwareTag
- SqlDatabase (Sql extension)
- StandardDirectory
- SummaryInformation
- SymbolPath
- UI
- UIRef
- Upgrade
- User (Util extension)
- WaitForEvent (Util extension)
- WaitForEventDeferred (Util extension)
- WebApplication (Iis extension)
- WebAppPool (Iis extension)
- WebDirProperties (Iis extension)
- WebLog (Iis extension)
- WebSite (Iis extension)
- WixUI (Ui extension)
- WixVariable
Remarks
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.
Attributes
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.
Manufacturer (String, required) : The manufacturer of the package.
Name (String, required) : The descriptive name of the product.
ProductCode (AutogenGuid) : Optional ProductCode GUID for the package. By default, a new ProductCode will be generated with every build enabling major upgrades.
Scope (enumeration) : Use this attribute to specify the installation scope of this package: per-machine or per-user. This attribute's value must be one of the following:
- perMachine: Set this value to declare that the package is a per-machine installation and requires elevated privileges to install. Sets the ALLUSERS property to 1.
- perUser: Set this value to declare that the package is a per-user installation and does not require elevated privileges to install. Sets the package's InstallPrivileges attribute to "limited."
- perUserOrMachine: Set this value to declare that the package is dual-purpose that can install per-user or per-machine. Sets the ALLUSERS property to 2 and MSIINSTALLPERUSER property to 1.
ShortNames (YesNoTypeUnion) : Indicates whether the package files are installed using 8.3 filenames.
UpgradeCode (Guid) : The upgrade code GUID for the product.
Version (String, required) : The product's version string.