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
- :
- QuickPatch and Component Reference Counting
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 10, 2010
04:41 AM
QuickPatch and Component Reference Counting
I have created a QuickPatch project to add a new version of a DLL to my base product. The original file is a keyfile in a component that is marked as shared. When I build my patch (as an msp) which I created using the QuickPatch project, I look at the same component in my upgraded MSI and I can see that this is no longer marked as shared.
If I install a 32-bit version of my patch the shared reference count is not incremented when I apply the patch (which is good) but when I uninstall the patch and original application (together), an entry remains in the SharedDlls table with a value of 0x80000000.
If I install a 64-bit version of my patch, after installation the reference count is incremented to 2 when it should not be. As a result, after I uninstall my patch and original application, the DLL is left behind because the reference count has gone to 1.
Is this an installshield issue? How can I resolve?
If I install a 32-bit version of my patch the shared reference count is not incremented when I apply the patch (which is good) but when I uninstall the patch and original application (together), an entry remains in the SharedDlls table with a value of 0x80000000.
If I install a 64-bit version of my patch, after installation the reference count is incremented to 2 when it should not be. As a result, after I uninstall my patch and original application, the DLL is left behind because the reference count has gone to 1.
Is this an installshield issue? How can I resolve?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 01, 2010
01:34 AM
Hi,
I have the same problem! Anyone who has a solution or have Webster found a workaround?
I have the same problem! Anyone who has a solution or have Webster found a workaround?