.NET assemblies once installed in GAC cannot be uninstalled

  • Thread starter Thread starter Partha Roy
  • Start date Start date
P

Partha Roy

I am facing this typical problem when trying to uninstall
an assembly which I have previously installed in GAC. It
always shows an error that the assembly is being
referenced by the Windows Installer !!

SCHEME: <WINDOWS_INSTALLER> ID: <MSI>

What is the way to uninstall the assembly from GAC? Is it
something related to the version of Windows Installer?
 
Try making use of gacutil "/uf" instead of gacutil -u.
I think you need to supply full name of the assembly,its
version number and all for making use of this command.
 
I am having the same issues. using the /uf switch does not
work. In fact, the documentation states:

/uf <assembly_name>
Forces uninstall of an assembly by removing all traced
references.
<assembly_name> is the full name of the assembly to
remove. Assembly will
be removed unless referenced by Windows Installer.


THe real issue then becomes how do we get MSI to release
this reference. THe project I am using has NEVER used MSI
in the first place.

What gives MS? THIS IS A LONG STANDING ISSUE. What is the
fix or work around?
 
Back
Top