title: Inno Setup Execute a batch file before [Files] section
body: <p>Currently my batch file is in [Run] section. I need my batch file to execute before the [Files] section. Is there a way to do this in Inno Setup? Currently the [Run] section always execute after [Files] section.</p>
  
  <pre><code>[Run]
  Filename: "C:\Users\Scripts\Install\Install.bat"; Parameters: {code:GetDatabaseName}  
  
  [Files]
  Source: "C:\Users\MyApp\*"; DestDir: "\\MyServer\MyApp"; Flags: recursesubdirs createallsubdirs
  </code></pre>