Package (Bundle schema, child of Packages)
Defines one of the app packages or resource packages in the bundle.
Element hierarchy
- <Bundle>
-
- <Packages>
- <Package>
Syntax
<Package Type? = Specifies the package type as app or resource. : "resource"
Version = A version string in quad notation, "Major.Minor.Build.Revision".
Architecture? = "x86" | "x64" | "arm" | "neutral" : "neutral"
ResourceId? = A string between 1 and 30 characters in length that consists of alpha-numeric, period, and dash characters.
FileName = A string between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.
Offset = unsignedLong
Size = unsignedLong
IsStub = boolean >
<!-- Child elements -->
Resources
Dependencies
</Package>
Key
?
optional (zero or one)
:
default value
Attributes and Elements
Attributes
Attribute | Description | Data type | Required | Default value |
---|---|---|---|---|
Architecture | Describes the architecture of the code contained in the package. A package that includes executable code must include this attribute. |
This attribute can have one of the following values:
|
No | neutral |
FileName | Describes the file name of the package. |
A string between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *. | Yes | |
Offset | Describes the offset in bytes into the bundle to the package. |
unsignedLong | Yes | |
ResourceId | Describes the type of resource in the package. |
A string between 1 and 30 characters in length that consists of alpha-numeric, period, and dash characters. | No | |
Size | Describes the size in bytes of the package. |
unsignedLong | Yes | |
Type | Defines the type of package in the bundle. |
Specifies the package type as app or resource. | No | resource |
Version | Defines the version number of the package. |
A version string in quad notation, "Major.Minor.Build.Revision". | Yes | |
IsStub | Indicates whether the application in the current package is a stub application. |
True if the application is a stub; otherwise, false. | No | False |
Child Elements
Child Element | Description |
---|---|
Resources | Declares languages, resolution scales, and DirectX feature levels for the resources that the package contains. |
Dependencies | Declares languages, resolution scales, and DirectX feature levels for the resources that the package contains. |
Parent Elements
Parent Element | Description |
---|---|
Packages | Defines the app packages and resource packages that are contained in the bundle. |
Requirements
Value | |
---|---|
Namespace | http://schemas.microsoft.com/appx/2013/bundle |