Article ID: 873195 - View products that this article applies to.
Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/322756/ )How to back up and restore the registry in Windows
When you try to remove an assembly from the Global Assembly Cache (GAC) by using the Gactutil /u command at a command prompt, you may receive the following Microsoft Windows Installer error message:
Unable to uninstall: assembly is required by one or more applications.
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
To work around this problem, examine the list of values for the following subkeys in Registry Editor:
=ysgSC6wx9uiD1dqmmjW>m$!GP^D'A@?z}gn3}ltaNote You must delete the <Assembly Full Name> entry. Do not just clear the value of the <Assembly Full Name> entry.
Windows Installer is a probable source of the erroneous registry entry that blocks the Global Assembly Cache tool (Gacutil.exe) from uninstalling the assemblies. Gacutil.exe itself does not read from or write to the registry, but it starts the utilities that search for the Windows Installer references in the registry.
Gacutil.exe cannot override Windows Installer reference counts. Several possible causes of conflict exist between Windows Installer and Gacutil.exe. If you use Windows Installer to install an assembly in the GAC, Gacutil.exe may not be able to remove the assembly.
For more information, visit the following Microsoft Developer Network (MSDN) Web site:
Article ID: 873195 - Last Review: May 13, 2009 - Revision: 2.0