Partager via


DEPENDENCY element

Specifies an additional distribution unit that must be present for the software distribution SOFTPKG to function correctly.

Usage

<DEPENDENCY
  ACTION = "sAction">
  child elements
</DEPENDENCY>

Attributes

Attribute Type Required Description

ACTION

sAction

No

String value representing an action to take if the required distribution unit is not present on the user's computer.

Assert

Default. When set to Assert, the SOFTPKG is ignored if the distribution unit is not already on the computer.

Install

When set to Install, the required files should be downloaded and installed so the software distribution can be processed without errors.

Child elements

Element

SOFTPKG

Child element sequence

SOFTPKG

Parent elements

Element

SOFTPKG

Examples

In this example, the parent SOFTPKG element requires the child SOFTPKG element.

<SOFTPKG HREF="http://www.joyware.tld/rrrrr.cab"
    NAME="tld.joyware.www.rrrrr"
    VERSION="1,0,0,0">
    .
    .
    .
    <DEPENDENCY>
        <SOFTPKG HREF="http://www.joyware.tld/ee.cab"
            NAME="tld.joyware.www.ee"
            VERSION="1,0,0,0">
            .
            .
            .
        </SOFTPKG>
    </DEPENDENCY>
</SOFTPKG>

Element information

Minimum supported system

Windows XP
Can be empty No