This article describes an update that resolves certain application compatibility issues and reliability issues in Microsoft XML Core Services 4.0 Service Pack 2 (SP2). These issues may occur on a Windows Vista-based computer after you install security update 936181. This security update is announced in security bulletin MS07-042.
For more information about security update 936181, click the following article number to view the article in the Microsoft Knowledge Base:
936181 Description of the security update for Microsoft XML Core Services 4.0: August 14, 2007
The following file is available for download from the Microsoft Download Center:
Note To apply the package on your computer, you must use the Run as administrator option by right-clicking the package.
For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
You must have Microsoft XML Core Services (MSXML) 4.0 installed to apply this update.
If the Msxml4.dll file is being used, you must restart the computer after you apply this update.
Update replacement information
This update does not replace any other updates.
The English version of this update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
To work around this problem, use one of the following methods.
Use Microsoft XML Core Services (MSXML) 6.0 instead of MSXML 4.0.
Modify the client application to release all the instances of objects that are created. Do this before the client application unloads the Msxml4.dll file.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More information about this update
Update 941833 is a complete installation package. You can use this package to install MSXML 4.0 SP2 on a computer that has no earlier versions of MSXML 4.0 installed. You can also use this package to update an existing installation of MSXML 4.0, of MSXML 4.0 Service Pack 1 (SP1), or of MSXML 4.0 SP2.
To install this update in quiet mode together with verbose logging, type the following command:
Note You do not have to restart the computer. A detailed log of the installation process will be located in the file that you specify in the command. In this example, the file is C:\kb941883.log.
If the Msxml4.dll file is locked, the file may not be updated when you apply update 941833. To work around this issue, type the following commands to uninstall the Msxml4.dll file. Press ENTER after you type each command.
Update 941833 for MSXML 4.0, for MSXML 4.0 SP1, and for MSXML 4.0 SP2 does not support the complete removal of MSXML 4.0. This situation occurs because this version of MSXML is installed in side-by-side mode. To work around this issue, follow these steps:
Remove update 941833 by using the View installed Updates item in under Programs and Features in Control Panel.
Delete the Msxml4.dll file from the %SystemRoot%\System32 folder.
Repair the previous installation of MSXML 4.0 by using the View installed Updates item in under Programs and Features in the Control Panel.
The earlier versions of the Msxml4.dll file and of the Msxml4r.dll file are restored to the side-by-side folder and to the %SystemRoot%\System32 folder.
Note The HP printing software sometimes locks the Msxml4.dll file regardless of which operating system you are using. Therefore, this file may not be deleted. If this file is not deleted, you must restart your operating system and then delete this file in safe mode.
You may receive the following error message when you install update 941833 from Windows Update:
Could not register type library for file c:\Windows\system32\msxml4.dll. Contact your support personnel.
When this issue occurs, you may also notice information that resembles the following in the log file:
Error 1911. Could not register type library for file c:\Windows\system32\msxml4.dll. Contact your support personnel. MSI (s) (20:18) [17:52:31:612]: Product: MSXML 4.0 SP2 (KB941833) -- Error 1911. Could not register type library for file c:\Windows\system32\msxml4.dll. Contact your support personnel. === Logging stopped: 11/10/2006 17:53:07 === MSI (c) (34:20) [17:53:07:252]: Note: 1: 1708 MSI (c) (34:20) [17:53:07:260]: Product: MSXML 4.0 SP2 (KB941833) -- Installation failed. MSI (c) (34:20) [17:53:07:267]: Windows Installer installed the product. Product Name: MSXML 4.0 SP2 (KB941833). Product Version: 4.20.9849.0. Product Language: 1033. Installation success or error status: 1603.MSI (c) (34:20) [17:53:07:313]: Grabbed execution mutex. MSI (c) (34:20) [17:53:07:319]: Cleaning up uninstalled install packages, if any exist MSI (c) (34:20) [17:53:07:331]: MainEngineThread is returning 1603 === Verbose logging stopped: 11/10/2006 17:53:07 ===
To work around this problem, manually install the update from the Microsoft Download Center, and then click Ignore when you receive the error message. To confirm that the installation was successful, verify that the version of the Msxml4.dll file in the %systemroot%\System32 folder is version 4.20.9849.0.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates