Skip to content

Bundle element

The root element for creating bundled packages.

Attributes

AboutUrl

string

A URL for more information about the bundle to display in Programs and Features (also known as Add/Remove Programs).

CommandLineVariables, from extension namespace http://wixtoolset.org/schemas/v4/wxs/bal

This value determines whether case sensitivity is used to match overridable variables specified on the command line. The default is “caseSensitive”. This attribute’s value must be one of the following:

  • caseSensitive
  • caseInsensitive

Compressed

YesNoDefaultTypeUnion

Whether Packages and Payloads not assigned to a container should be added to the default attached container or if they should be external. The default is yes.

Condition

string

The condition of the bundle. If the condition is not met, the bundle will refuse to run. Conditions are checked before the bootstrapper application is loaded (before detect), and thus can only reference built-in variables such as variables which indicate the version of the OS.

Copyright

string

The legal copyright found in the version resources of final bundle executable. If this attribute is not provided the copyright will be set to “Copyright (c) [Bundle/@Manufacturer]. All rights reserved.”.

DisableModify

YesNoButtonTypeUnion

Determines whether the bundle can be modified via the Programs and Features (also known as Add/Remove Programs). If the value is “button” then Programs and Features will show a single “Uninstall/Change” button. If the value is “yes” then Programs and Features will only show the “Uninstall” button”. If the value is “no”, the default, then a “Change” button is shown. See the DisableRemove attribute for information how to not display the bundle in Programs and Features.

DisableRemove

yesno

Determines whether the bundle can be removed via the Programs and Features (also known as Add/Remove Programs). If the value is “yes” then the “Uninstall” button will not be displayed. The default is “no” which ensures there is an “Uninstall” button to remove the bundle. If the “DisableModify” attribute is also “yes” or “button” then the bundle will not be displayed in Progams and Features and another mechanism (such as registering as a related bundle addon) must be used to ensure the bundle can be removed.

HelpTelephone

string

A telephone number for help to display in Programs and Features (also known as Add/Remove Programs).

HelpUrl

string

A URL to the help for the bundle to display in Programs and Features (also known as Add/Remove Programs).

IconSourceFile

string

Path to an icon that will replace the default icon in the final Bundle executable. This icon will also be displayed in Programs and Features (also known as Add/Remove Programs).

Id

string

New in WiX v6: WiX v6 adds this attribute to the Package element. A globally unique identiifer for the bundle in the world. It is recommended to use a prefix such as “CompanyName.” to create a namespace of sorts. By default, higher versioned upgrade lower versioned bundles with the same Id. Use this attribute instead of the UpgradeCode attribute in new development.

InProgressName

string

Optional name to display in Add/Remove Programs while the bundle is being installed, uninstalled, repaired.

Manufacturer

string

The publisher of the bundle to display in Programs and Features (also known as Add/Remove Programs).

Name

string

The name of the bundle to display in Programs and Features (also known as Add/Remove Programs). This name can be accessed and overwritten by a BootstrapperApplication using the WixBundleName bundle variable.

ParentName

string

The name of the parent bundle to display in Installed Updates (also known as Add/Remove Programs). This name is used to nest or group bundles that will appear as updates. If the parent name does not actually exist, a virtual parent is created automatically.

ProviderKey

string

Optional attribute to explicitly author the provider key for the entire bundle.This provider key is designed to persist throughout compatible upgrades so that dependent bundles do not have to be reinstalled and will not prevent your product from being upgraded. If this attribute is not authored, the value is the automatically-generated bundle ID and will not automatically support upgrades.

Only a single provider key is supported for bundles. To author that your bundle provides additional features via packages, author different provider keys for your packages.

SplashScreenSourceFile

string

Path to a bitmap that will be shown as the bootstrapper application is being loaded. If this attribute is not specified, no splash screen will be displayed.

Tag

string

Set this string to uniquely identify this bundle to its own BA, and to related bundles. The value of this string only matters to the BA, and its value has no direct effect on engine functionality.

UpdateUrl

string

A URL for updates of the bundle to display in Programs and Features (also known as Add/Remove Programs).

UpgradeCode

Guid

For new bundles, it is recommended to use the Id attribute instead. This attribute exists for backwards compatibility scenarios. Use this attribute to provide a specific unique identifier for a family of bundles. If two bundles have the same UpgradeCode the bundle with the highest version will be installed.

Version

string required

The version of the bundle. Newer versions upgrade earlier versions of the bundles with matching UpgradeCodes. If the bundle is registered in Programs and Features then this attribute will be displayed in the Programs and Features user interface.

Children

Log

Parents

Wix