title: Inno Setup: How to dynamically add files to the installation?
body: <p>Is there a way to dynamically fill the <code>[Dirs]</code> and <code>[Files]</code> sections of an Inno Setup script?</p>
  
  <p>Here is what I am trying to do:</p>
  
  <ol>
  <li><p>during the install process, the user will select <em>foo</em> (<em>foo</em> matches a repository to get from our SCM)</p></li>
  <li><p>Setup will run a batch to checkout <em>foo</em> from our SCM</p></li>
  <li><p>then the content of <em>foo</em> must be added to the <code>[Dirs]</code> and <code>[Files]</code> sections of the script</p></li>
  </ol>
  
  <p>Everything works fine except for the last step. I searched around and couldn't find explanations on how to do this. I have the feeling that my script should embed all the repositories of our SCM to then be able to copy only the selected ones to the destination directory.</p>
  
  <p>Thanks for your help!</p>
  
  <p>Regards,</p>