title: Inno Setup : Exclude a directory and its files also
body: <p>I use the "Exclude" flag in Inno Setup in order to exclude from installation a subdirectory name "Bin32" or "Bin64" depending on the user's architecture.</p>
  
  <p>All I want is to NOT install the useless folder and ALL its files and subdirectories as well.</p>
  
  <p>Here are my current rules:</p>
  
  <pre><code>[Files]
  Source: "Z:\Work\temp\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
  
  ; Exclude
  Source: "*"; Excludes: "\Bin64"; DestDir: "{app}"; Flags: recursesubdirs; Check: not Is64BitInstallMode
  Source: "*"; Excludes: "\Bin32"; DestDir: "{app}"; Flags: recursesubdirs; Check: Is64BitInstallMode
  </code></pre>
  
  <p>First, I don't quite understand what the "*" stands for at the beginning of the excluded rules ?
  Second, it works fine with all subdirectories inside Bin32/64 folder but the files are still been installed and I can't figure out a way to not install them...</p>
  
  <p>Thx.</p>