title: How to handle the .msi file with Inno Setup?
body: <p>I have this following code with Inno Setup.</p>
  
  <p>But how can I apply this similar function to .msi file?</p>
  
  <p><code>msiexec /I "\package\file.msi" /qb</code>? How?</p>
  
  <pre class="lang-pascal prettyprint-override"><code>procedure AfterMyProgInstall(S: String);
  var
    ErrorCode: Integer;
  begin
    {MsgBox('Please wait the libraries are getting installed, ' +
            'without the libraries it wont work.', mbInformation, MB_OK);}
    ExtractTemporaryFile(S);
    {SW_SHOW, SW_SHOWNORMAL, SW_SHOWMAXIMIZED, SW_SHOWMINIMIZED, SW_SHOWMINNOACTIVE, SW_HIDE}
    ShellExec('', ExpandConstant('{app}\package\' + S), '', '', SW_SHOWNORMAL,
              ewWaitUntilTerminated, ErrorCode);
  end;
  </code></pre>