Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Programatically fixing reference count?

1 view
Skip to first unread message

tom...@gmail.com

unread,
May 8, 2008, 5:03:27 AM5/8/08
to

Hi,

I am trying to figure out how to fix the following problem

1.Application A (with windows installer)including merge module,
installed on a system
2.Application B(with installshiled project) uses some files which
exist in the merge module
but including the merge module, installed on the system as well

3.Application A uninstalled from the system

Running application B now cause WI to look for a product which is not
on the system any more.

i guess there is a problem with the reference count,since application
B uses installshiled project,
i am thinking that i should fix the reference count of some dll's
under

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs

Will this solve the problem?

What will happen if WI detect that a componet has a refrence count of
1 under

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\[SID]
\Components

But a reference count of 2 under

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs

assuming Dll Reference Count was not selected in the component when
Application A was installed


Thanks in advance


0 new messages