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

Reply via email to