title: Including many files in WiX without listing each one.
body: <p>I’m writing an MSI for using WiX 3.0 and I’m trying to figure out how to make it include all but some files from a directory without having to manually specify each and every  attribute.  Similar to a dynamic pickup in installshield.</p>
  
  <p>An old installer I’m looking at for reference (which uses WiX 2.0) does the following:</p>
  
  <ol>
  <li>A makefile to call a script that will copy all the necessary files to a separate directory structure that emulates how the final product should be installed.</li>
  <li>another script to insert the  attributes for each of the files in this temp folder to a partially completed wxs file.</li>
  <li>WiX runs</li>
  </ol>
  
  <p>I want to avoid this step and was wondering if there were some commands or pre-processor directives to achieve this WiX itself? </p>
  
  <p>Also the 1st step above spits out some generated files (from a tool) which is then included into the wxs file. Is there a way I can emulate that as well?</p>