Article ID: 951950 - View products that this article applies to.
This article may contain a link to the Windows Installer Cleanup utility (MSICUU2.exe). If you were directed to this article to solve a problem by using the Windows Installer Cleanup utility, please contact your software manufacturer for installation support on the product, or see the following Microsoft Knowledge Base article for steps to troubleshoot uninstallation issues with products that use Windows Installer:
(http://support.microsoft.com/kb/2438651)How to troubleshoot problems that may occur when you install, uninstall, or upgrade a program on a Windows-based computer
NoticeThis article may contain a link to the Windows Installer Cleanup utility (MSICUU2.exe). If you were directed to this article to solve a problem by using the Windows Installer Cleanup utility, please contact your software manufacturer for installation support on the product, or see the following Microsoft Knowledge Base article for steps to troubleshoot uninstallation issues with products that use Windows Installer:
2438651 How to troubleshoot problems that may occur when you install, uninstall, or upgrade a program on a Windows-based computer
When you try to install the Microsoft .NET Framework 2.0 Service Pack 1 (SP1) on a computer that has the .NET Framework 2.0 installed and that is running Windows XP, Windows Server 2003, or Windows 2000, the .NET Framework 2.0 SP1 installation fails.
This problem occurs because Windows Installer must load the cached installation database and all updates when Windows Installer performs any maintenance installations, such as uninstallations. If packages for those updates do not exist in the Windows Installer cache, Windows Installer tries to find the updates from earlier source directories.
The .NET Framework 2.0 SP1 is a major upgrade that uninstalls the earlier version of the .NET Framework 2.0. If Windows Installer cannot find the packages for the earlier installed updates during the uninstall operation, the installation fails with an error message.
If an incomplete rollback occurs, this failure to install may also cause applications that use the .NET Framework to fail.
This problem may occur for one of the following two reasons.
The Windows Installer cache is missing necessary filesThe Windows Installer cache is critical for repairing, for updating, and for uninstalling products. Therefore, you should not remove or modify the contents of the cache. If you change the contents of the cache, you may be prompted for a source when you try to update or to repair Windows Installer-based products.
Sometimes a Windows Installer Patch (.msp) file that Windows Installer expects to find in the cache may not exist. The following are two common reasons why the .msp file may be missing:
MSI (s) (D0:B0) [19:05:57:843]: Couldn't find local patch 'C:\WINDOWS\Installer\a4784a.msp'. Looking for it at its source. MSI (s) (D0:B0) [19:05:57:843]: Resolving Patch source.You can use the Microsoft .NET Framework 2.0 Registration Correction Tool to resolve this issue when it occurs when you install the .NET Framework 2.0 SP1. The tool fixes this issue by deleting all hotfix or update registrations that are specific to this update so that maintenance installations do not try to load the specific .msp file.
You can also try to fix this issue by rebuilding the installer cache. You can typically find the Knowledge Base number for the hotfix or for the update in the lines that follow "Resolving Patch source," as shown in the following example:
MSI (s) (D0:B0) [19:05:57:859]: SOURCEMGMT: Source is invalid due to missing/inaccessible package.
The hotfix registration or the update registration is corruptedAfter a hotfix or an update is installed on a Windows Installer-based product, the hotfix registration or the update registration may become corrupted. This problem can occur because of third-party registry cleaner utilities that remove certain registry keys. These keys include the keys that are meant for internal use by Windows Installer. In this case, the "Resolving Patch source" message in the log reads as follows:
MSI (s) (CC:5C) [03:02:56:181]: Couldn't find local patch ''. Looking for it at its source.
You can use the Microsoft .NET Framework 2.0 Registration Correction Tool to resolve this issue when it occurs when you install the .NET Framework 2.0 SP1. The tool fixes this issue by deleting all hotfix or update registration that is specific to this service pack so that maintenance installations do not try to load the hotfix or the update package.
If you cannot successfully install the .NET Framework 2.0 SP1 and find the "Resolving Patch source" text in the installation log file as described in the “Cause” section, you can download the Microsoft .NET Framework 2.0 Registration Correction Tool to resolve this issue.
Microsoft .NET Framework 2.0 Registration Correction ToolThe Microsoft .NET Framework 2.0 Registration Correction Tool resolves both of the issues that the “Cause” section describes.
The following file is available for download from the Microsoft Download Center:
Download the Microsoft .NET Framework 2.0 Registration Correction Tool package now.
Collapse this imageExpand this image
The Microsoft Download Center has one version of the tool for each processor architecture that the .NET Framework 2.0 supports (x86, x64, and IA-64). Most customers run a 32-bit version of the operating system. Therefore, these customers need to download and to install the x86 version of the tool.
Administrators may also use this utility in scripts by passing either the /q command-line switch or the /quiet command-line switch. In this way, you can run the application in silent mode without using a user interface and without using block scripts.
The tool writes a running log under the %TEMP%\dd_clwireg.txt folder. You can view this log for more information about what the tool is doing.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
How to prevent the issues that this article describesMake sure that you do not remove files that are located directly in the %WINDIR%\Installer directory. Additionally, make sure that disk space reclamation utilities that free up space by deleting large files or rarely used files do not remove the files under this directory.
The Windows Installer CleanUp Utility uses the Msizap.exe file. This utility is included with the Windows Software Development Kit (SDK). The utility can delete some files or all files in the Installer cache. However, you should only use this tool as a last resort. Make sure that you carefully read all information and warnings about the utility before you use the utility. It is always best to uninstall a product, a hotfix, or an update by using Windows Installer through one of the following:
For more information about the Windows Installer CleanUp Utility, click the following article number to view the article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/290301/ )Description of the Windows Installer CleanUp Utility
Article ID: 951950 - Last Review: October 9, 2011 - Revision: 3.0