PDA

View Full Version : uninstall doesn't remove dlls from GAC



assaf_sedaka
11-09-2003, 10:25 AM
i have 2 dlls in GAC that are not being uninstalled.
also it seems that next install doesn't update them (and i know
that they are changed 'cos i rebuild them.)
log shows:
MSI (s) (04:4C): delegating uninstallation of assembly file : Interop.My.dll to Fusion
for both dlls.
am i missing something in my installer project configuration ?

thanks,
Assaf

Jim Kang
11-10-2003, 10:14 PM
This is unlikely to be related to anything in your setup project since in your log MSI does in fact attempt to uninstall it by handing it to a lower layer.

If you run regasm.exe /u on your assemblies after installing them, are they removed from the GAC?

Jaymar
01-28-2004, 01:43 PM
I'm having this same problem. It seems that the Windows Installer Service creates registry entries that prevent the uninstallation of Assemblies in the GAC. Check the registry here: [HKEY_CURRENT_USER\Software\Microsoft\Installer\Assemblies], for references to your assmblies. If you delete those registry values you should be able to use GACUTIL or any other method to remove your assemblies from the GAC. Does anyone have any suggestions on how to prevent these registry entries from getting created in the first place?

assaf_sedaka
01-28-2004, 01:58 PM
the problem occured on developers' machines...yap -
they had those dlls registered from previous tests/works ! ;-{)
after thorough clean - everything works fine.