No, you'll need to create a separate CopyFile element for each subdirectory. The directory paths need to exist in the Directory Table otherwise Windows Installer doesn't know anything about them. You can't put completely unknown stuff on to the target machine in the first place to use the CopyFile element anyway. Windows Installer must know *something* about those files when it installs your package otherwise how are they getting on to the machine in the first place?
Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: loring vogel [mailto:lvo...@birdtree.com] Sent: 18 August 2011 20:52 To: wix-users@lists.sourceforge.net Subject: [WiX-users] installing directory contents and its subdirectories and their contents on target machine I have a CopyFile line in my .wxs file with wildcard "*" that copies all the contents of a directory to a target on the target machine. However now the directory has subdirectories in it of unknown quantity and having unknown contents at build time. Is there a way to get CopyFile to iterate over subdirectories and create them and copy their contents as well? Thanks, Loring ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users