CODEBASECODEBASE*
*Contents  *Index  *Topic Contents
*Previous Topic: ABSTRACT
*Next Topic: DEPENDENCY

CODEBASE


<CODEBASE
FILENAME="file"
HREF="url"
SIZE="n"
STYLE="ActiveSetup" | "MSICD"
/>

Specifies the location of the file or distribution unit to be installed.

FILENAME="file"
Name of the codebase. When this attribute is used, the file is expected to exist in the same archive (CAB file) as the OSD file.
HREF="url"
URL of the codebase. When this attribute is used, the file is expected to exist on the network. Note that either fully qualified or relative URLs are allowed.
SIZE="n"
Maximum allowable size for the distribution unit. The number is given in kilobytes (K). If SIZE is exceeded, the distribution unit will not be downloaded. If SIZE is not specified, no kilobyte limit is enforced. 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" Uses the ActiveX™ "Active Setup" engine.
"MSICD" Uses the Microsoft® Internet Component Download (MSICD) to download distribution units and look at the Open Software Description (OSD) file for processing instructions. To use Internet Explorer 3.0 processing procedures, the distribution unit can contain a *.inf file.

Number of allowed occurrences: None or one
Parent elements Child elements
IMPLEMENTATION None

When contained within a DEPENDENCY block, only the HREF attribute is used. If no CODEBASE is specified, Internet Explorer checks the object store for the distribution unit. When used as a child element of a NATIVECODE or JAVA block and no CODEBASE is specified, Internet Explorer checks the current distribution unit for the files to be installed.

Applies To

CDF, OSD


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