Package (package schema for Windows 8)
Defines the root element of an app package manifest. The manifest describes the structure and capabilities of the software to the system.
Element hierarchy
<Package>
Syntax
<Package IgnorableNamespaces? = A string between 1 and 32767 characters in length with a non-whitespace character at its beginning and end. >
<!-- Child elements -->
( Identity
& Properties
& Resources
& Prerequisites
& Dependencies?
& Capabilities?
& Extensions?
& Applications?
)
</Package>
Key
?
optional (zero or one)
&
interleave connector (may occur in any order)
Attributes and Elements
Attributes
Attribute | Description | Data type | Required | Default value |
---|---|---|---|---|
IgnorableNamespaces | Declares namespaces used in the manifest that should be ignored. Ignored namespace elements are not validated and should be considered untrusted. Multiple namespaces are specified with a space between each namespace. |
A string between 1 and 32767 characters in length with a non-whitespace character at its beginning and end. | No |
Child Elements
Child Element | Description |
---|---|
Applications | Represents one or more apps that comprise the package. |
Capabilities | Declares the access to protected user resources that the package requires. |
Dependencies | Declares other packages that a package depends on to complete its software. |
Extensions (type: CT_PackageExtensions) | Defines one or more extensibility points for the package. |
Identity | Defines a globally unique identifier for a package. A package identity is represented as a tuple of attributes of the package. |
Prerequisites | Declares the minimum operating system and software requirements that must exist for the package to be applicable to the system. |
Properties | Defines additional metadata about the package including attributes that describe how the package appears to users.
Note You may get an error if the manifest elements DisplayName or Description contain characters disallowed by the Windows firewall; namely β|β and βallβ, due to which Windows fails to create the AppContainer profile for the package . Use this reference for [troubleshooting](/windows/win32/appxpkg/troubleshooting) if you get an error.
|
Resources | Declares languages for the resources that the package contains. Every package must declare at least one language for resources. |
Parent Elements
This outermost (document) element may not be contained by any other elements.
Requirements
Value | |
---|---|
Namespace | http://schemas.microsoft.com/appx/2010/manifest |