If all copies of the shared component are installed using the exact same
GUID w/ MSI then you don't need that bit. However, if any installations
occur that don't share that same GUID, both installations should be using
that bit.

You will need to inspect into (or experiment with) your old InstallShield
packages to see what they are doing. The web page describing the shared DLL
registration system is:
http://msdn.microsoft.com/en-us/library/ms709304(VS.85).aspx and according
to this page (http://msdn.microsoft.com/en-us/library/aa368007(VS.85).aspx)
if the keypath is found in that registry key it's increment count/etc. will
be honored regardless of this bit being set. If the keypath isn't found it
won't be added to this registry key unless this bit is set.

-----Original Message-----
From: Ondrej Zarevucky [mailto:ondrej.zarevu...@fine.cz] 
Sent: Tuesday, July 28, 2009 2:15 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Reguirements for shared DLLs between more then one
product of one company

Hi,
reading the new messages in the mailing list I've noticed the Phil 
Wilson mentioning msidbComponentAttributesSharedDllRefCount bit 
(SharedDllRefCount Component attribute in WiX)

I'm asking:
We are preparing MSI installation for more products, but these products 
share some files in Program Files/Common Files/Fine Shared/... It is 
required to use SharedDllRefCount attribute? Currently we are setting 
the same GUID to the all instances of the same one-file components. 

BTW: The old installation was authored in old InstallShield 5.5 and I'm 
not sure, how it worked there. Until the process of upgrading all 
installations to MSI is done, there may be some products installed with 
InstallShield and with MSI and they have to work side by side.

Thank you for clarification.
Ondrej Zarevucky

----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to