Unable to uninstall: assembly is required by one or more applications" Windows Installer error message when try to remove an assembly from the Global Assembly Cache (GAC) by using the Gacutil.exe tool
http://support.microsoft.com/kb/873195
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:
322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows
Expand all | Collapse all
SYMPTOMS
When you try to remove an assembly from the Global Assembly Cache (GAC) by using…
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.
Back to the top
WORKAROUND
Warning Serious problems might occur if you modify the registry incorrectly by u…
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:
- HKEY_CURRENT_USERSoftwareMicrosoftInstallerAssembliesGlobal
- HKEY_LOCAL_MACHINESoftwareClassesInstallerAssembliesGlobal //For me it worked.
If the value for the <Assembly Full Name> entry is a Windows Installer descriptor, delete the <Assembly Full Name> entry. For example, the value might be a cryptic REG_MULTI_SZ entry that resembles the following:
=ysgSC6wx9uiD1dqmmjW>m$!GP^D’A@?z}gn3}lta
Note You must delete the <Assembly Full Name> entry. Do not just clear the value of the <Assembly Full Name> entry.
Back to the top
MORE INFORMATION
Windows Installer is a probable source of the erroneous registry entry that bloc…
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.