The underlying Windows Installer data relationship require a 1:1 mapping of the File, Component, Directory and MsiAssembly table. In short, each assembly is a component therefore multiple assemblies require multiple components.
Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me --- On Thu, 6/19/08, Shiliang Li <[EMAIL PROTECTED]> wrote: > From: Shiliang Li <[EMAIL PROTECTED]> > Subject: [WiX-users] How to install multiple assemlbies to GAC > To: "wix-users@lists.sourceforge.net" <wix-users@lists.sourceforge.net> > Date: Thursday, June 19, 2008, 8:45 AM > 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