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: Two setups using same dll - Problem when unistalling
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
‎May 10, 2012
10:14 AM
Two setups using same dll - Problem when unistalling
Hello,
I have 2 independent msi-setups. Both setups register the same component named sc.dll using self-register. If I install both setups on a PC everything is fine. As soon as I uninstall one setup sc.dll is unregistered. This makes the other setup not working anymore. As soon as I manually register sc.dll everything is working again. Any idea how to solve the problem?
Thank you
I have 2 independent msi-setups. Both setups register the same component named sc.dll using self-register. If I install both setups on a PC everything is fine. As soon as I uninstall one setup sc.dll is unregistered. This makes the other setup not working anymore. As soon as I manually register sc.dll everything is working again. Any idea how to solve the problem?
Thank you
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 10, 2012
02:31 PM
then put those .dll NOT to be removed 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 11, 2012
01:47 AM
Hello KEiGHT,
this is not a solution, because I want a clean uninstall. One solution would be to do a custom action while uninstalling that re-register the dll if it still exists when the files have been removed. As I may have mentioned the dll is still in place. It is simple not registered anymore.
Does somebody know a better solution?
Thank you in advanced
Katerchen
this is not a solution, because I want a clean uninstall. One solution would be to do a custom action while uninstalling that re-register the dll if it still exists when the files have been removed. As I may have mentioned the dll is still in place. It is simple not registered anymore.
Does somebody know a better solution?
Thank you in advanced
Katerchen
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 11, 2012
06:07 PM
In Windows Installer, component ref count is managed by component GUID. When count is properly managed, you would not run into the problem described.
You will want to read up on Component Rules 101 and About Shared Components.
You will want to read up on Component Rules 101 and About Shared Components.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)