The Package element specifies the information about the package which includes name, publisher, version and uri. ProcessorArchitecture is an optional attribute of the Package.
<Package
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".
ProcessorArchitecture? = "x86" | "x64" | "arm" | "neutral"
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 Package 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 Package 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 Package manifest.
A version string in quad notation, "Major.Minor.Build.Revision".
Yes
ProcessorArchitecture
Describes the architecture of the code contained in the package. A package that includes executable code must include this attribute.