title: Import .reg registry files silently in Inno Setup
body: <p>I have a need to run few registry files via Inno Setup within the code. I can not use <code>[Registry]</code> section as this is a standard installation kit which should pick <code>.reg</code> files created and run them.</p>
  
  <pre class="lang-pascal prettyprint-override"><code>Exec('regedit.exe', 'C:\Support\MyReg.reg', '', SW_HIDE, ewWaitUntilTerminated, ResultCode)
  </code></pre>
  
  <p>I want to run this silently so I tried the following.</p>
  
  <pre class="lang-pascal prettyprint-override"><code>Exec('regedit.exe', 'C:\Support\MyReg.reg /s', '', SW_HIDE, ewWaitUntilTerminated, ResultCode)
  </code></pre>
  
  <p>But it does not work. Can anybody tell me what I am missing here?</p>