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

Syntax

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

Type

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description

filePath

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.

minimumVersion

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

discoveryHint

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