Freigeben über


SOFTPKG element

Obsolete. Defines a software distribution.

Usage

<SOFTPKG
  AUTOINSTALL = "bAutoInst"
  HREF = "url"
  NAME = "character_string"
  PRECACHE = "bCache"
  STYLE = "sMechanism"
  VERSION = "sVersion">
  child elements
</SOFTPKG>

Attributes

Attribute Type Required Description

AUTOINSTALL

bAutoInst

No

Boolean value that instructs the browser whether to automatically download the distribution unit. This attribute is valid only within CDF files.

No

Default. Distribution unit is not installed automatically.

Yes

Distribution unit is installed automatically.

HREF

url

Yes

URL for the page that should be navigated to when installing the SOFTPKG parent element. This attribute is valid only within CDF files.

Note  CDF supports only HTTP, HTTPS, and FTP protocols. If a different protocol is used, Internet Explorer will fail to install the distribution unit without notifying the user.
 

NAME

character_string

Yes

String value name of this distribution. The maximum length of the NAME attribute string is currently 260 characters.

PRECACHE

bCache

No

Boolean value that instructs the browser whether to download the distribution unit and leave it in the cache without attempting to autoinstall. The AUTOINSTALL attribute takes precedence over PRECACHE when they are used together. This attribute is valid only within CDF files.

No

Default. Distribution unit is not precached.

Yes

Distribution unit is installed and left in the cache without attempting to download.

STYLE

sMechanism

No

String value mechanism the computer uses to download and install files from the Internet. This attribute is valid only within CDF files.

ActiveSetup

Use the ActiveX "Active Setup" engine.

MSICD

Use the MSICD to download distribution units and look at the OSD) file for processing instructions.

VERSION

sVersion

No

String value corresponding to the major, minor, custom, and build version numbers.

Child elements

Element

ABSTRACT

DEPENDENCY

IMPLEMENTATION

JAVA

LANGUAGE

NATIVECODE

TITLE

Child element sequence

ABSTRACTDEPENDENCYIMPLEMENTATIONJAVALANGUAGENATIVECODETITLE

Parent elements

Element

CHANNEL

DEPENDENCY

Remarks

Windows Internet Explorer 7. The CDF (Channel Definition Format) is obsolete and should not be used.

Examples

This example shows how to define a software distribution unit.

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

Element information

Minimum supported system

Windows XP
Can be empty No