cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Webster
Level 3

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?
Labels (1)
0 Kudos
(1) Reply
kalleh
Level 3

Hi,

I have the same problem! Anyone who has a solution or have Webster found a workaround?
0 Kudos