Defines a software distribution.
Syntax
<SOFTPKG AUTOINSTALL="No" | "Yes" HREF="url" NAME="string" PRECACHE="No" | "Yes" STYLE="ActiveSetup" | "MSICD" VERSION="a,b,c,d" >
Attributes
- AUTOINSTALL
- Boolean value that instructs the browser whether to automatically download the distribution unit. "No" is the default value. This attribute is valid only within CDF files.
- HREF
- Required. URL for the page that should be navigated to when installing the SOFTPKG parent element. This attribute is valid only within CDF files.
- NAME
- Required. String value name of this distribution. The maximum length of the NAME attribute string is currently 260 characters.
- PRECACHE
- Boolean value that, when set to "Yes", instructs the browser 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. The default value is "No". This attribute is valid only within CDF files.
- STYLE
- 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 Microsoft® Internet Component Download (MSICD) to download distribution units and look at the Open Software Description (OSD) file for processing instructions. - VERSION
- String value corresponding to the major, minor, custom, and build version numbers.
Element Information
Number of occurrences Any number (One or none per CDF or OSD file recommended) Parent elements CHANNEL, DEPENDENCY Child elements ABSTRACT, DEPENDENCY, IMPLEMENTATION, LANGUAGE, NATIVECODE, TITLE File formats supported CDF, OSD Requires closing tag Yes
Example
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>