Partager via


File 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 information about the Windows Installer package (MSI).

  
<xs:element name="File" type="BinaryType" minOccurs="1" maxOccurs="unbounded" />  
  
<xs:complexType name="BinaryType">  
   <xs:sequence>  
      <xs:element name="ProductCode" type="GuidType" minOccurs="1" />  
      <xs:element name="Version" type="VersionType" minOccurs="1" />  
      <xs:element name="Name" type="xs:string" minOccurs="1" />  
      <xs:element name="Arguments" type="xs:string" minOccurs="0" />  
      <xs:element name="Filter" type="FilterType" minOccurs="0" />  
   </xs:sequence>  
</xs:complexType>  
  

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description
Arguments Element Specifies the arguments that are passed to the Windows Installer package when it is installed.
Filter Element Specifies information about the operating system to which the Windows Installer package applies.
Name Element (File) Specifies the name of the Windows Installer package.
ProductCode Element Specifies the code of the product for which the add-in is intended.

Parent Elements

Element Description
ServerBinary Element Specifies the Windows Installer package (.msi file) for installing the binary files on the server.
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.

See Also

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