dependency Element

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

The dependency element contains a child productId element. A dependency element can also be nested by using logical and and or elements. The value of the productId element references a product on which the product has a dependency. The product referenced in the productId element must be installed before the product defined in the parent entry element can be installed.

When multiple child dependency elements are included using an and element, the products defined by the child dependency elements must be installed. When more than one dependency element is included using an or element, one of the products defined by the child dependency elements must be installed on the client computer.

Schema Hierarchy

feed Element
  installers Element

Syntax

<dependency>
  <productId>33</productId>
</dependency>
<dependency>
  <and>
    <dependency>
      <productId>WebFarmFramework</productId>
    </dependency>
    <dependency>
      <productId>ExternalCache</productId>
    </dependency>
    <dependency>
      <or>
        <dependency>
          <productId>UrlRewrite</productId>
        </dependency>
        <dependency>
          <productId>UrlRewrite10</productId>
        </dependency>
      </or>
    </dependency>
  </and>
</dependency>

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description

productId

A number or URL that references an application.

Parent Elements

Element Description

entry

Contains child elements that define information about an application displayed in the Web PI interface.

See Also

Reference

discoveryHint Element