title: Retrieve msiexec error code from script
body: <p>I have 2 problems that I need help with:</p>
  
  <ol>
  <li><p>I need to create a script to get the (error/success) code of an installation with msiexec.
  Any resources, examples about this?</p></li>
  <li><p>If my WIX Custom Action fails how can I return an error code for the installation?
  Any examples?</p></li>
  </ol>