Bundle

The Bundle element specifies the information about the bundle package.

Element hierarchy

<AppInstaller>
<OptionalPackages>
<Bundle>
<RelatedPackages>
<Bundle>
<Dependencies>
<Bundle>

Syntax

<Bundle 
    Name        = A string between 3 and 50 characters in length that consists of alpha-numeric, period, and dash characters.
    Publisher   = A string between 1 and 8192 characters in length that fits the regular expression of a distinguished name: "(CN|L|O|OU|E|C|S|STREET|T|G|I|SN|DC|SERIALNUMBER|(OID\.(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))+))=(([^,+="<>#;])+|".*")(, ((CN|L|O|OU|E|C|S|STREET|T|G|I|SN|DC|SERIALNUMBER|(OID\.(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))+))=(([^,+="<>#;])+|".*")))*". Further, semantic validation ensures that the string is compliant with CertNameToStr Windows API implementation of X.500 rules.
    Version     = A version string in quad notation, "Major.Minor.Build.Revision".
    Uri         = Uri to the app package location />

Attributes and Elements

Attributes

Attribute Description Data type Required
Name Name as specified in the identity element in the bundle manifest. The Name attribute is case-insensitive. A string between 3 and 50 characters in length that consists of alpha-numeric, period, and dash characters. Yes
Publisher Publisher as specified in the identity element in the bundle manifest. A string between 1 and 8192 characters in length that fits the regular expression of a distinguished name. Further, semantic validation ensures that the string is compliant with CertNameToStr Windows API implementation of X.500 rules. Yes
Version Version as specified in the identity element in the bundle manifest. A version string in quad notation, "Major.Minor.Build.Revision". Yes
Uri Uri to the app package location URI as a string between 1 and 2084 characters in length. Yes

Parent Elements

Parent Elements Description
OptionalPackages Specifies the optional pacakges
RelatedPackages Specifies the related packages. These packages won't be installed.
Dependencies These are dependencies that will be installed if required.

Requirements

Namespace http://schemas.microsoft.com/appx/appinstaller/2017