We should probably add this to the FAQ.  Windows Installer doesn't have such 
functionality and we don't have a standard custom action in WiX to do it.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nilkund Aseef
Sent: Friday, June 27, 2008 10:24
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Copying all files in a directory recursively

Hello,

I was wondering if there is a way in WIX to copy all files in a directory ( 
with several subdirectories and files). I tried using copyfile element, but it 
only seems to copy all the files at the top level. The files under the 
subdirectories were not copied.

This is the syntax I use in my wxs files
<Property Id="SOURCE">$(var.SamplesSourcePath)</Property>
<CopyFile Id="Foo" SourceName="*" SourceProperty="SOURCE" 
DestinationDirectory="Workflow" />
<RemoveFolder Id="Workflow" On="uninstall" />

I would really appreciate if someone can give me pointers on how this can be 
achieved.

Thanks!
Aseef.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to