file Element

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

The file element contains child elements that define the path to a file and the file version number to examine to determine whether a product is already installed on a client computer.

Schema Hierarchy

feed Element
  msiProductCode Element


  <filePath>%programfiles%\IIS\Microsoft Web Deploy\Microsoft.Web.Deployment.dll</filePath>


Attributes and Elements

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



Child Elements

Element Description


Required. Defines the path of a file on a client computer. The version number of the file specified is examined to determine whether it is later than the version defined in the minimumVersion element.


Required. Defines the version of a file that is the minimum version number associated with a release of an application. If the version of the file is later than the minimum version, it is determined that the client already has the latest version available.

Parent Elements

Element Description


Contains child elements that define the values checked to determine whether an application is already installed on the client computer.