Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office

MSXML 5.0 and Windows XP

To enable developers to better deal with DLL conflicts, Microsoft Windows XP and Windows .NET Server provide new features for installing shared components (also known as assemblies).

For example, a new service pack updated version of MSXML 5.0 when installed in side-by-side mode, will not replace any earlier version of MSXML 5.0 used by another application. Also this type of side-by-side installation allows both versions to be loaded in memory and used simultaneously by separate applications that depend upon the different versions. This represents an improvement over the way globally shared installation of component DLLs worked in earlier versions of Microsoft Windows in which the component was replaced and all applications were required to use the most recent version of the component.

Background on MSXML 5.0 and Side-by-Side Assembly

When MSXML 5.0 is installed on Microsoft® Windows® XP, it is installed as a shared side-by-side assembly. Side-by-side assemblies are:

For Windows XP, you specify all dependencies for your compiled applications or components with manifests. Assembly manifests are used with shared dynamic linked libraries. Application manifests are used with executables.

The table below summarizes some of the key differences between globally shared and side-by-side installations of the MSXML component. The same differences will apply for other Windows shared assemblies as well.

Globally shared installation Side-by-side installation
The only way to install globally shared components under Windows 2000 and earlier versions of Microsoft Windows. The recommended way to author and install shared components under Windows XP and other future versions of Microsoft Windows.
Requires higher support costs for maintaining an application over its life span. Can substantially reduce support costs over the life span of your application.
Shared components are more impacted by updates. Shared components are less impacted by updates.
Uses Windows Registry to store COM activation data. Uses manifest files to store COM activation data.
Only a single version of a shared component or application can exist in the Windows system folder (i.e., the %systemroot%\system32 folder). Multiple versions of a component or application can be shared and in use at the same time. Each version installs in its own distinctly named subfolder under the Windows side-by-side store (i.e., the %systemroot%\WinSxs folder).

The following topics provide more information about working with manifests and MSXML 5.0 in Windows XP and Windows .NET Server.

Notes