By MartinLiss : Using and installing an MSXML4 application

The most recent Microsoft XML parser is MSXML4. To use it in your application you need to add a reference to “Microsoft XML, v4.0”. If that entry does not exist in your Available References list then the necessary components can be download from Microsoft’s site at http://msdn.microsoft.com/downloads/. MSXML4 appears in the download list in Web Development|XML Web Services|MSXML 4.0 SP1. Complete instructions for downloading and installing it are available at that site.

In your code, make sure that all references to MSXML2.DomDocument and SchemaCache
refer to MSXML2.DOMDocument40 and MSXML2.XMLSchemaCache40. If you don't include the "40" you will be referring too older versions of the parser and installation of your distributed application may not work.

To successfully install your application on all platforms, your installation package needs to include msxml4r.dll and msxml4a.dll in addition to msxml4.dll.