Share via


ProductCode Element

 

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

Specifies the code of the product for which the add-in is intended.

  
<xs:element name="ProductCode" type="GuidType" minOccurs="1" />  
  
<xs:simpleType name="GuidType">  
   <xs:restriction base="xs:string">  
      <xs:pattern value="[{(]?[0-9A-Fa-f]{8}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{4}\-?[0-9A-Fa-f]{12}[})]?|PUT\-GUID\-(?:\d+\-)?HERE\)"/>  
   </xs:restriction>  
</xs:simpleType>  

Attributes and Elements

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

Child Elements

None.

Parent Elements

Element Description
File Element Specifies the information about the Windows Installer package (.msi file).

See Also

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