Yes. Components are to be considered atomic (all or nothing) and so if that
DLL is shared but the registry keys are not, they should not be part of the
same component.

Since MyDLL uses either keys A, B, & C OR X, Y, & Z, none of those six keys
is part of MyDLL's component. Only things that always, in all circumstances,
have to be installed together or not at all should be in the same component
together.

-----Original Message-----
From: Jacques Eloff [mailto:repst...@gmail.com] 
Sent: Wednesday, July 29, 2009 10:58 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Shared components

Hi

I have a DLL that is installed by two MSIs. If I mark it as shared, I
noticed that removing one product still leaves the DLL on the system.
However, the components create different registry keys along with the DLL.
So I would have the following:

MSI 1, Component: MyDLL, Registry keys: A, B, C

MSI 2, Component: MyDLL, Registry keys, X, Y, Z

So, if I want to mark them as shared, should I rather place the registry
keys in a separate component? I would like to keep the DLL on the file
system until all the MSIs are removed, but the registry keys need to be
removed immediately duiring an uninstall.

Thanks,
Jacques
----------------------------------------------------------------------------
--
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