fisheye
Posts: 7
Joined: Sun May 10, 2009 12:54 pm

Uninstall doesn't unregister COM component

Hello,

I have a .NET assembly on which I have selected "Register .Net assembly for COM Interoperability". It is installed and registered correctly however when I uninstall the product the component isn't unregistered.

If I manually regasm /u <path to DLL> followed by the uninstall its fine.

How to ensure the component is unregistered?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Uninstall doesn't unregister COM component

Hi,

I'm not sure why you are encountering this behavior. Can you please send us the .AIP (project) file you are using and a verbose log of the uninstall process to support at advancedinstaller dot com so we can investigate them?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
fisheye
Posts: 7
Joined: Sun May 10, 2009 12:54 pm

Re: Uninstall doesn't unregister COM component

Thanks for the quick response.

As it turns out it was my problem and the fact that I was accidentally using the ProductCode for the COM component's GUID :wink:
fisheye
Posts: 7
Joined: Sun May 10, 2009 12:54 pm

Re: Uninstall doesn't unregister COM component

Hi,

I can see these keys left over after the uninstall.

HKEY_CLASSES_ROOT\CLSID\{E3D47ED7-E818-4C09-9AD8-0ED9E6A2137F}
HKEY_CLASSES_ROOT\CLSID\{E3D47ED7-E818-4C09-9AD8-0ED9E6A2137F}\Implemented Categories\{39AD2B5C-7A29-11D6-8E0A-0010B541CAA8}
HKEY_CLASSES_ROOT\CLSID\{E3D47ED7-E818-4C09-9AD8-0ED9E6A2137F}\Implemented Categories\{62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}

If I manually execute regasm /u c:\path\to\a\copy\of\my\DLL then these are cleaned up.

So, it appears my original query still stands.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Uninstall doesn't unregister COM component

Hi,

Can you please send us the .AIP (project) file you are using and a verbose log of the uninstall process to support at advancedinstaller dot com so we can investigate them?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
fisheye
Posts: 7
Joined: Sun May 10, 2009 12:54 pm

Re: Uninstall doesn't unregister COM component

Information sent.
fisheye
Posts: 7
Joined: Sun May 10, 2009 12:54 pm

Re: Uninstall doesn't unregister COM component (Solved)

Thanks Cosmin for your prompt email.

To fix this I right clicked on each of the registry keys in question and selected properties. From there it was a matter of selecting "Delete (if present) at uninstall".

Cheers

Return to “Common Problems”