For our class libraries (shared assemblies that are GAC-installed), we just 
create two components for the same file (and add the file twice).

In our case, we are conditionally adding the assemblies to both the GAC and 
a local install directory to support adding of references to our .NET 
projects.

Local developers (who will be selecting references) get both the install to 
the GAC & local install folder.  Any other target machine (that will not 
need to support IDE project referencing) installs to the GAC only.

I agree with Rob.  It's easy & very straight-forward to those who will one 
day inherit my work.

David Adams
MSN MessengerID: [EMAIL PROTECTED]





>From: "Derek Cicerone" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'Rob Hamflett'" <[EMAIL PROTECTED]>,<wix-users@lists.sourceforge.net>
>Subject: Re: [WiX-users] How to set one File for two Components
>Date: Mon, 31 Jul 2006 10:52:49 -0700
>MIME-Version: 1.0
>Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by 
>bay0-mc6-f3.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Mon, 31 
>Jul 2006 10:53:14 -0700
>Received: from sc8-sf-list1-new.sourceforge.net (unknown [10.3.1.93])by 
>sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid D8B9D1602B; Mon, 31 Jul 
>2006 10:53:13 -0700 (PDT)
>Received: from sc8-sf-mx1-b.sourceforge.net 
>([10.3.1.91]helo=mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net 
>with esmtp (Exim 4.43)id 1G7bwm-0005uS-Cbfor 
>wix-users@lists.sourceforge.net; Mon, 31 Jul 2006 10:52:56 -0700
>Received: from winisp-ti72.winisp.net ([192.197.157.85])by 
>mail.sourceforge.net with esmtp (Exim 4.44) id 1G7bwm-0005DT-4pfor 
>wix-users@lists.sourceforge.net; Mon, 31 Jul 2006 10:52:56 -0700
>Received: from derekclap ([131.107.0.81]) by winisp-ti72.winisp.net over 
>TLSsecured channel with Microsoft SMTPSVC(6.0.3790.1830); Mon, 31 Jul 2006 
>10:52:50 -0700
>X-Message-Info: LsUYwwHHNt36ULQHSU5k5gFm9bwNKkUMsN/s4sz5J4I=
>X-Mailer: Microsoft Office Outlook 11
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2922
>Thread-Index: Aca0doZcr3ZAl4k2RYSwLmuusOSixgAU0mtQ
>X-OriginalArrivalTime: 31 Jul 2006 17:52:50.0638 
>(UTC)FILETIME=[23F65EE0:01C6B4CA]
>X-Spam-Score: 0.0 (/)
>X-Spam-Report: Spam Filtering performed by sourceforge.net.See 
>http://spamassassin.org/tag/ for more details.Report problems 
>tohttp://sf.net/tracker/?func=add&group_id=1&atid=200001
>X-BeenThere: wix-users@lists.sourceforge.net
>X-Mailman-Version: 2.1.8
>Precedence: list
>List-Id: "General discussion for Windows Installer XML 
>toolset."<wix-users.lists.sourceforge.net>
>List-Unsubscribe: 
><https://lists.sourceforge.net/lists/listinfo/wix-users>,<mailto:[EMAIL 
>PROTECTED]>
>List-Archive: 
><http://sourceforge.net/mailarchive/forum.php?forum=wix-users>
>List-Post: <mailto:wix-users@lists.sourceforge.net>
>List-Help: <mailto:[EMAIL PROTECTED]>
>List-Subscribe: 
><https://lists.sourceforge.net/lists/listinfo/wix-users>,<mailto:[EMAIL 
>PROTECTED]>
>Errors-To: [EMAIL PROTECTED]
>Return-Path: [EMAIL PROTECTED]
>
>Please note that CopyFile and RemoveFile are dangerous from a security
>perspective because they don't provide a simple patching solution.  I would
>advise against that method.
>
>Derek
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Rob Hamflett
>Sent: Monday, July 31, 2006 12:54 AM
>To: wix-users@lists.sourceforge.net
>Subject: Re: [WiX-users] How to set one File for two Components
>
>You could use CopyFile and RemoveFile elements, but it's much easier to 
>just
>include the file twice.
>   I'd only really consider this option if the file was huge.
>
>Rob
>
>Derek Cicerone wrote:
> > There's no better way - that's it.
> >
> > Derek
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Peter G.
> > Sakhno
> > Sent: Friday, July 28, 2006 6:44 AM
> > To: wix-users@lists.sourceforge.net
> > Subject: [WiX-users] How to set one File for two Components
> >
> > Hello.
> >
> > I have two Components installed into different directories. And these
> > Components include the same file, so the same file appears in two
> > different directories.
> >
> > I have authored an MSM with two <Component> elements under different
> > <Directory> elements. Those <Component> elements include <File> elements
> > with different Id's pointing to the same source file.
> > But I do not like this way. The file is twice copied into the database.
> >
> > How can do it in another, better way?
> >
> >
>
>
>-------------------------------------------------------------------------
>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
>
>
>-------------------------------------------------------------------------
>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



-------------------------------------------------------------------------
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

Reply via email to