SOFTPKGSOFTPKG*
*Contents  *Index  *Topic Contents
*Previous Topic: PROCESSOR
*Next Topic: TITLE

SOFTPKG

<SOFTPKG
AUTOINSTALL=
"No" | "Yes"
HREF="url"
NAME="string"
PRECACHE="No" | "Yes"
STYLE="ActiveSetup" | "MSICD"
VERSION="a,b,c,d"
>

Defines a software distribution.

AUTOINSTALL="No" | "Yes"
Browser should download the distribution unit and automatically install it when set to "Yes". The default value is "No". This attribute is valid only within CDF files.
HREF="url"
Required. "Launch URL" for this SOFTPKG element. This attribute is valid only within CDF files.
NAME="string"
Required. Name of this distribution.
PRECACHE="No" | "Yes"
Browser should download the distribution unit and leave it in the cache without attempting to autoinstall when set to "Yes". The AUTOINSTALL attribute takes precedence over PRECACHE when they are used together. The default value is "No". This attribute is valid only within CDF files.
STYLE="ActiveSetup" | "MSICD"
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 Microsoft® Internet Component Download (MSICD) to download distribution units and look at the Open Software Description (OSD) file for processing instructions.
VERSION="a,b,c,d"
Major, minor, custom, and build version numbers.

Number of allowed occurrences: Any number (One or none per CDF or OSD file recommended)
Parent elements Child elements
CHANNEL ABSTRACT
IMPLEMENTATION
LANGUAGE
LOGO
TITLE
USAGE

The end tag </SOFTPKG> is required.

Example

<SOFTPKG
    HREF="http://www.foo.edu/launch-page.htm"
    NAME="The First Sample"
    PRECACHE="Yes"
    VERSION="2,1,0,0"
    STYLE="MSICD">
        <TITLE>This is a sample software distribution</TITLE>
        <ABSTRACT>Put a useful description here. The user will benefit from it.</ABSTRACT>
        <LOGO HREF="ielogo.ico" STYLE="icon" / >
        <LANGUAGE VALUE="en;de"/ >
        <USAGE VALUE="email"></USAGE>
        <IMPLEMENTATION>
            <CODEBASE VALUE="http://www.microsoft.com/foo/foo.cab" / >
</IMPLEMENTATION>
</SOFTPKG>

Note For more information about software distribution and the Open Software Description format, see Creating Software Channels for Internet Explorer 4.0.

Applies To

CDF, OSD


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.