This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: COM DLL is not unregistering when I do an uninstall from Add/Remove Programs
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 22, 2009
08:45 AM
COM DLL is not unregistering when I do an uninstall from Add/Remove Programs
I have two installations, CA and CB (created using InstallShield 12)
Both CA and CB install the same library C.DLL
If I install CA, it installs C.DLL and works fine.
Then I install CB, and it still works OK
Then I uninstall CB, and CA no longer works, gives error that "Please ensure the C.DLL object is correctly registered."
How do I get this to work! Please help. I am pretty new to installshield.
Both CA and CB install the same library C.DLL
If I install CA, it installs C.DLL and works fine.
Then I install CB, and it still works OK
Then I uninstall CB, and CA no longer works, gives error that "Please ensure the C.DLL object is correctly registered."
How do I get this to work! Please help. I am pretty new to installshield.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 22, 2009
11:39 AM
Hi,
Whenever any dll is shared among different applications, the same will be recorded in Shared DLL's in registry.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls
Suppose abc.dll is got installed twice by the two different projects A and B. The count for abc.dll in SharedDll's(Registry) will be two. Another project C installs the same abc.dll , now the count will be 3.
When the project C uninsall the ref count in registry of abc.dll will be reduced to 2 and dll will not remove from the system.If A and B also uninstall the ref count will be 0 now. As the refcount is 0, the dll will be removed from the system.
Whenever any dll is shared among different applications, the same will be recorded in Shared DLL's in registry.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls
Suppose abc.dll is got installed twice by the two different projects A and B. The count for abc.dll in SharedDll's(Registry) will be two. Another project C installs the same abc.dll , now the count will be 3.
When the project C uninsall the ref count in registry of abc.dll will be reduced to 2 and dll will not remove from the system.If A and B also uninstall the ref count will be 0 now. As the refcount is 0, the dll will be removed from the system.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 23, 2009
01:54 AM
The problem here is: C.DLL is not being recorded in Shared DLL's in registry. Do I need to modify my InstallShield script to achieve the same.
However, C.DLL does exist in GAC. Please help.
However, C.DLL does exist in GAC. Please help.