title: How to set installation status for wix msi to command prompt
body: <p>I am using wix installer .msi.
  When i run it quitly with command &quot;<em>msiexec.exe /i Installer.msi /QN /L</em>V &quot;msilog.log&quot;*&quot;, it install and creates a log file.</p>
  <p>CMD does not hold to wait to complete the installation OR does not show the status of installation.</p>
  <p>My question is that
  How to hold the CMD while installation is in progress ?
  How to show installation status to CMD for wix installer?</p>
  <p>Edit : I have tried <strong>start /wait msiexec.exe /i installer.msi  PASSWORD=&quot;pass&quot; /QN /L*V &quot;msilog.log&quot;</strong> . It holds the cmd screen until installation process completed. Its fine now.</p>
  <p>2nd question, I tried to get the status of the installation after the above command. &quot;<strong>NET HELPMSG %errorLevel%</strong>&quot;. It gives the correct status if executed as separate commend.</p>
  <p>When excecuted as combined like <strong><em>start /wait msiexec.exe /i installer.msi  PASSWORD=&quot;pass&quot; /QN /L</em>V &quot;msilog.log&quot; &amp; NET HELPMSG %errorLevel%</strong>* , its always return 0-Successfully installed even in case of error.</p>
  <p>Please suggest?</p>