It is a best practice to always have one assembly per component. This gives you 
far moe flexibility when you have to service your application.

Neil


-----Original Message-----
From: Shiliang Li <[EMAIL PROTECTED]>
Sent: Thursday, June 19, 2008 6:46 AM
To: wix-users@lists.sourceforge.net <wix-users@lists.sourceforge.net>
Subject: [WiX-users] How to install multiple assemlbies to GAC

Hi, there,

                It seems that the only way to install multiple assemblies to 
GAC is to add the same number of component element in the wix file, for example:

<Directory Id="GlobalAssemblyCache" Name="." SourceName="Global~1" 
LongSource="GlobalAssemblyCache">
  <Component Id="ADLL" Guid="8E598753-88AF-4C3D-9E46-C1C4DC4B4195" 
SharedDllRefCount="yes">
    <File Id="A.dll" Assembly=".net" Name="A.DLL" LongName="A.dll" 
Compressed="yes" KeyPath="yes" DiskId="1" src='c:\A.dll' />
  </Component>
  <Component Id="BDLL" Guid="5A06A7D3-E526-4c1d-8AC6-340097E6E417" 
SharedDllRefCount="yes">
    <File Id="B.dll" Assembly=".net" Name="B.DLL" LongName="B.dll" src="B.dll" 
Vital="yes" Compressed="yes" KeyPath="yes" DiskId="1" />
  </Component>
</Directory>

                Can we just use ONE component element to install multiple 
assemblies to GAC? If the answer is no, why?

Thanks
Shiliang Li
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to