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=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to