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