Yes, each assembly must be its own component. The recommendation is actually
that every file should be its own component - see Rob's blog post 'Component
Rules 101' (which is in the WiX help file, WiX.chm) for why this is. In
general you should only put multiple files in one component if there is
actually a requirement to do so - for example, all files in a multiple-file
assembly should be in a single component.
--
Mike Dimmick
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 19 December 2006 21:54
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] GAC installs
Does each GAC installed .Net assembly have to be in its own component?
I get the follwing error implying on this line
<File Id="pbxCod" Name="xxxxx.dll" LongName="xxxxxxxxxxx.dll"
Assembly=".net" DiskId="1" Source
="$(var.installSrcBinsFolder)\xxxxxxxxxxx.dll" Vital="yes" />
Error 4 The File/@Assembly attribute's value, '0', cannot be
specified without attribute KeyPath present with value 'yes'.
But if I set KeyPath=yes at more than one file in a component I get the
following error:
Error 3 The Component element has multiple key paths set. The
key path may only be set to 'yes' in one of the following locations:
Component/@KeyPath, File/@KeyPath, Registry/@KeyPath, or
ODBCDataSource/@KeyPath.
any help much appreciated.
Thanks
Sandeep
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users