title: Inno Setup: How to run an installed batch file programmatically
body: <p>How to run a <code>bat</code> file in the <code>Code</code> section (procedure <code>DeinitializeSetup</code>)?</p>
  
  <p>As I tried to do:</p>
  
  <pre class="lang-pascal prettyprint-override"><code>Exec('"' + installationFolder + '\mysql\db\db.cmd"',
       '"'+ installationFolder +'"', '', SW_SHOW, ewWaitUntilTerminated, ResultCode);
  </code></pre>
  
  <p>Source and destination parameters are returning to the correct locations.</p>