Export (0) Print
Expand All

MSXML 3.0 SP1 .cab File Redistribution Package

 

Microsoft Corporation

May 2001

Summary: This article discusses how the Microsoft XML Parser Service Pack 1 (MSXML 3.0 SP1) .cab File Redistribution Package makes it possible to distribute MSXML 3.0 SP1 through the Internet. (5 printed pages)


Note   This distribution method works for any MSXML version as long as your parameters are updated correctly to the referred version (including the name of the component, version, and clsid).

Contents

Overview
Requirements
Notes

Overview

The Microsoft® XML Parser Service Pack 1 (MSXML 3.0 SP1) .cab File Redistribution Package makes it possible to distribute MSXML 3.0 SP1 through the Internet. To do this, you need to create a Web page that, upon opening, references the msxml3.cab file. The msxml3.cab file then downloads the MSXML 3.0 SP1 DLLs (msxml3.dll, msxml3a.dll, and msxmldr.dll) to the user's system folder and registers MSXML 3.0 SP1 on the user's computer.

The following steps describe how to create a Web page that downloads and registers MSXML 3.0 SP1 on a user's computer.

To create a Web page that downloads MSXML 3.0 SP1

  1. Click the MSDN Download Center link (above) and download the msxml3.cab file to your computer.
  2. Copy the msxml3.cab file to a folder in the virtual root of your Web server.
  3. Create a Web page and add the following object element (shown in bold) to that page.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>MSXML 3.0 SP1 Download Sample</title>
</head>

<body>

<object id="MSXML3"
classid="clsid: f5078f32-c551-11d3-89b9-0000f81fe221"
codebase="msxml3.cab#version=8,10,8308,0"
type="application/x-oleobject"
STYLE="display: none">
</object>

This page downloads MSXML 3.0 SP1...

</body>
</html>

Notice that the object element in this example has five attributes. The following table describes these attributes.

Attribute Description
id Identifies the object in the DOM. This attribute is optional.
classid Unique ID that identifies the object. This attribute is mandatory and cannot be changed.
codebase Specifies the path for the msxml3.cab file and the version number. For example, if the msxml3.cab file is located in the Objects folder of the Web site's root directory, the code base can be changed to:

codebase="Objects/msxml3.cab#version=8,10,3808,0"

The version number can be changed if you want users to download a different version of MSXML 3.0.

type Specifies the type of object. This attribute cannot be changed.
style Specifies that the object is not displayed on the Web page. This attribute should not be changed.

To test the Web page that downloads and registers MSXML 3.0 SP1

Delete the following files from your system directory: msxml3.dll, msxml3a.dll, and msxml3r.dll. For Microsoft Windows® 2000, the MSXML 3.0 SP1 DLLs are in the winnt\system32 directory. Note that you may need to reboot before you can delete the files.

Open Microsoft Internet Explorer and enter the URL of the Web page that you created to download MSXML 3.0 SP1 (see previous procedure).

Click Yes in the dialog box that asks if you want to install and run the Microsoft XML Parser Service Pack 1.

Verify that the following files are installed on your computer:

  • msxml3.dll
  • msxml3a.dll
  • msxml3r.dll
Note   Internet Explorer 5.0 will not correctly upgrade from MSXML 3.0 to MSXML 3.0 SP1 if the MSXML 3.0 DLLs are currently in use. In that case, all applications that load the MSXML 3.0 DLLs need to be closed for the files to be upgraded correctly. Internet Explorer 5.5 correctly handles this case by requiring a reboot if the MSXML 3.0 DLLs are being used by another process.

Requirements

Platforms supported by the MSXML 3.0 SP1 .cab File Redistribution Package include Windows 2000, Microsoft Windows NT® 4.0, Microsoft Windows Me, and Microsoft Windows 98.

Note   ServerXMLHTTP support is only available on computers that have Windows 2000 or Windows NT 4.0 with Internet Explorer 5.01 (or later) installed. In addition, support for the MIME Viewer is available with Internet Explorer 5.0 (or later).
The MSXML 3.0 SP1 .cab File Redistribution Package is a fully supported release. Please refer to the End User License Agreement regarding support considerations.

Notes

The MSXML 3.0 SP1 .cab File Redistribution installs MSXML 3.0 SP1 in side-by-side mode. It does not replace existing versions of MSXML on the user's computer. For more information about installing MSXML in side-by-side or replace mode, visit http://msdn.microsoft.com/library/default.asp?url=/downloads/list/xmlgeneral.asp.

The following tables provide information about the various versions of MSXML and the versions of MSXML that ship with Microsoft products.

Table 1. MSXML versions

Version File name File version
1.0 msxml.dll 4.71.1712.5
1.0a msxml.dll 4.72.2106.4
1.0 Service Pack 1 (SP1) msxml.dll 4.72.3110.0
2.0 msxml.dll 5.0.2014.0206
2.0a msxml.dll 5.0.2314.1000
2.0b msxml.dll 5.0.2614.3500
2.5 Beta 2 msxml.dll 5.0.2919.38
2.5a msxml.dll 5.0.2919.6303
2.5 msxml.dll 5.0.2920.0
2.5 Service Pack 1 (SP1) msxml.dll 8.0.5226
2.6 January 2000 Web Release msxml2.dll (January Web Release) 7.50.4920.0
2.6 Beta 2 msxml2.dll 8.0.5207.3
2.6 msxml2.dll 8.0.6518.1
3.0 March 2000 Web Release msxml3.dll (March Web Release) 7.50.5108.0
3.0 May 2000 Web Release msxml3.dll (May Web Release) 8.0.7309.3
3.0 July 2000 Web Release msxml3.dll (July Web Release) 8.0.7520.1
3.0 September 2000 Web Release msxml3.dll (September Web Release) 8.0.7728.0
3.0 Release msxml3.dll 8.0.7820.0

Table 2. XML versions shipped with Microsoft products

Operating system
or program
Internet Explorer MSXML version
Not applicable Internet Explorer 4.0 1.0
File version: 4.71.1712.5
Windows 95, OEM Service Release 2.5 Internet Explorer 4.0a 1.0a
File version: 4.72.2106.4
Not applicable Internet Explorer 4.01, Service Pack 1 (SP1),
or Internet Explorer 5.0
2.0
File version: 5.0.2014.0206
Office 2000 Internet Explorer 5.0a 2.0a
File version: 5.0.2314.1000
Windows 98, Second Edition Internet Explorer 5.0b 2.0b
File version: 5.0.2614.3500
Windows 95, Windows 98, or Windows NT 4.0 Internet Explorer 5.01 2.5a
File version: 5.0.2919.6303
Windows 2000 Internet Explorer 5.01 2.5
File version: 5.0.2920.0
Windows 2000 Internet Explorer 5.01, Service Pack 1 (SP1) 2.5 Service Pack 1 (SP1)
File version: 8 .0.5226
Windows 95, Windows 98, Windows NT 4.0, Windows 2000, or Windows 2000 Service Pack 1 (SP1) Internet Explorer 5.5 2.5 Service Pack 1 (SP1)
File version: 8.0.5226

Table 3. XML versions shipped with Microsoft SQL ServerSQL Server

MSXML version
Microsoft SQL Server 2000, Beta 2 2.6 Beta 2
File version: 8.0.5207.3
Microsoft SQL Server 2000 2.6
File version: 8.0.6518.1

Table 4. XML versions shipped with Microsoft BizTalk Server

BizTalk Server MSXML version
BizTalk (Technology Preview) 2.6
File version: 8.0.6518.1
BizTalk (Beta) 2.6
File version: 8.0.6518.1
Show:
© 2014 Microsoft