Click to return to the Content     
CODEBASE Element     DISKSIZE Element     Open Software Description...    
Web Workshop  |  Content & Component Delivery

DEPENDENCY Element


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

Syntax

<DEPENDENCY
    ACTION="Assert" | "Install"
>

Attributes

ACTION
String value representing an action to take if the required distribution unit is not present on the user's computer.
"Assert"Default setting. 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.

Element Information

Number of occurrences Any number
Parent elements SOFTPKG
Child elements SOFTPKG
File formats supported CDF, OSD
Requires closing tag Yes

Example

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>


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.