If you use WixEdit (http://wixedit.sourceforge.net/) you can just drop a directory into your tree and it will create the structure, including components, for you. I've done this with 2000+ files at a time and it works great.
WixEdit is only V2 schema compliant. What I usually do is write my initial installer with WixEdit, run it through WixCop (to convert it to v3) and continue day-to-day development with VisualStudio (VS2005 gets IntelliSense and SCC. It's neato...) -Matt -----Original Message----- From: Ben Rampling [mailto:[EMAIL PROTECTED] Sent: Friday, December 08, 2006 12:37 AM To: Subscriber Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Embedding a directory with files Kews, By using <File> elements, you automatically get uninstall support in the MSI. You could use Tallow (included in WiX). Tallow will scan a directory tree and produce a fragment with the required <Directory> and <File> elements. There is a description of it in section 5.2 of the WiX Tutorial: http://www.tramontana.co.hu/wix/lesson5.php#5.2 (If you are using version 3, Heat.exe has replaced Tallow.exe) Regards, Ben On 28/11/2006, at 7:01 PM, Subscriber wrote: > Hi, > > I would like to embed an entire directory including subfolders and > files > into my MSI package, but how do I do that? The only option I can > see, is > to add each file one at as a time with a <File> element. But that > is not > good as I have apprx. 1300 files that never changes and writing a > File > element for each file seems like massive overkill to me. > > Then, I've created a CAB file all my files and folders in. That's > easy, > but how do I embed the premade CAB file and make WiX use it as source > instead of <File> elements? > > Is this totally the wrong way or how can I do it? > > I know this is against the philosophy of WiX, as it is stated the one > should have control over each and every file... > > regards, > kews ------------------------------------------------------------------------ - 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=DEVDE V _______________________________________________ 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