Removing from GAC

  • Thread starter Thread starter wes
  • Start date Start date
W

wes

I just installed VS .Net 2003 and now when I try to remove
something from the GAC I get the error:

Unable to uninstall: assembly is required by one or more
applications
Pending references:
SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION :
<Windows Installer>

These are components I had no problems installing and
uninstalling previously. Does anyone know how I can
uninstall?
 
Assemblies get flagged as being 'special' when an installer program places
them in the GAC. The only way you are supposed to remove them is to
uninstall the program
that originally installed it into the GAC.

Baring that, you can open a DOS prompt and go into %windir%\assembly and
find/delete the assembly by hand.

Tim

--------------------
| Content-Class: urn:content-classes:message
| From: "wes" <[email protected]>
| Sender: "wes" <[email protected]>
| Subject: Removing from GAC
| Date: Mon, 8 Sep 2003 06:31:52 -0700
| Lines: 13
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcN2DZCLUO9O4+waTHmhfwIcHklTTQ==
| Newsgroups: microsoft.public.dotnet.general
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:107652
| NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
| X-Tomcat-NG: microsoft.public.dotnet.general
|
| I just installed VS .Net 2003 and now when I try to remove
| something from the GAC I get the error:
|
| Unable to uninstall: assembly is required by one or more
| applications
| Pending references:
| SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION :
| <Windows Installer>
|
| These are components I had no problems installing and
| uninstalling previously. Does anyone know how I can
| uninstall?
|
|
 
I installed these using gacutil from the command prompt.
So I don't know why it thinks they were installed by
something else. That being said, I can remove them by
hand, but don't want this to be a permanent solution.
 
I just talked with the developer that works on this stuff. Apparently, this
is a known bug.

All assemblies belong to MSI, even though I installed assembly using gacutil


1) the (Default) name in the registry contains an MSI descriptor
value. This is an MSI bug, but they are not exactly sure how the system
gets into this state. Too hard to understand once system is in this state

Backup your HKCU\Software\Microsoft\Installer\Assemblies\Global. Go and
delete the (Default) key under
HKCU\Software\Microsoft\Installer\Assemblies\Global

OR

Backup your HKLM\SOFTWARE\Classes\Installer\Assemblies\Global. Go and
delete the (Default) key under
HKLM\SOFTWARE\Classes\Installer\Assemblies\Global

I hope this helps

Tim

--------------------
 
That worked. It was in the HKLM and not the HKCU.
-----Original Message-----
I just talked with the developer that works on this stuff. Apparently, this
is a known bug.

All assemblies belong to MSI, even though I installed assembly using gacutil


1) the (Default) name in the registry contains an MSI descriptor
value. This is an MSI bug, but they are not exactly sure how the system
gets into this state. Too hard to understand once system is in this state

Backup your
HKCU\Software\Microsoft\Installer\Assemblies\Global. Go
and
delete the (Default) key under
HKCU\Software\Microsoft\Installer\Assemblies\Global

OR

Backup your
HKLM\SOFTWARE\Classes\Installer\Assemblies\Global. Go and
 
Back
Top