PDA

View Full Version : QuickPatch and Component Reference Counting



Webster
09-10-2010, 04:41 AM
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?

kalleh
10-01-2010, 01:34 AM
Hi,

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