Partager via


Package Element

 

Applies To: Windows Server 2012 Essentials, Windows Home Server 2011, Windows Storage Server 2008 R2 Essentials, Windows Small Business Server 2011 Essentials

Defines the metadata for an add-in package.

  
<xs:element name="Package">  
   <xs:complexType>  
      <xs:sequence>  
         <xs:element name="Id" type="GuidType" />  
         <xs:element name="Version" type="VersionType" />  
         <xs:element name="Name" type="xs:string"/>  
         <xs:element name="Allow32BitOn64BitClients" type="xs:boolean" minOccurs="0"/>  
         <xs:element name="ServerBinary" type="BinaryCollectionType" minOccurs="0"/>  
         <xs:element name="ClientBinary32" type="BinaryCollectionType" minOccurs="0"/>  
         <xs:element name="ClientBinary64" type="BinaryCollectionType" minOccurs="0"/>  
         <xs:element name="SupportUrl" type="xs:anyURI" minOccurs="0"/>  
         <xs:element name="Location" type="LocationType" minOccurs="0" />  
         <xs:element name="PrivacyStatement" type="xs:anyURI" minOccurs="0"/>  
         <xs:element name="OtherBinaries" type="OtherBinariesType" minOccurs="0"/>  
      </xs:sequence>  
   </xs:complexType>  
</xs:element>  
  

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
xmlns Specifies the namespace.

Child Elements

Element Description
Allow32BitOn64BitClients Element Specifies whether 64-bit client computers must use the 32-bit Windows Installer package if a 64-bit Windows Installer package cannot be found.
ClientBinary32 Element Specifies the Windows Installer package (.msi file) for installing the 32-bit binary files on the client computer.
ClientBinary64 Element Specifies the Windows Installer package (.msi file) for installing the 64-bit binary files on the client computer.
Id Element Specifies the unique identifier for the add-in.
Location Element Specifies whether the add-in only enhances the local server or also integrates with an online service.
Name Element Specifies the name of the add-in.
OtherBinaries Element Provides the ability to specify a binary file that is installed on another operating system, such as Macintosh.
PrivacyStatement Element Specifies the URL that is used for the privacy statement for the add-in.
ServerBinary Element Specifies the Windows Installer package (.msi file) for installing the binary files on the server.
SupportUrl Element Specifies the URL that is used to obtain support or help information for the add-in.
Version Element Specifies the version of the add-in.

Parent Elements

None.

See Also

How to: Create the Metadata File for the Add-In