0

I have created an installer using WiXStandardBootstrapperApplication. If I run it in a command window with /quiet, the command window returns immediately to the prompt and the install continues in the background, so I can't use ERRORLEVEL to check the result of the install. How can I know if the install succeeded? More importantly, how can some system management tool that is pushing the install out to many PCs know if it succeeded?

MarkI
  • 3
  • 2

1 Answers1

0

You can specify the following at the command line:

msiexec installer.msi /quiet /l*v logfile.txt

This will perform a quiet install, and you can then check the resulting log file to see if the install succeeded or failed.

Calum MacLeod
  • 443
  • 3
  • 11
  • I'm sorry if I was not clear enough, but that misses the point on two counts. Firstly, I'm dealing with a WiX bootstrapper (AKA burn); it contains multiple MSIs. Secondly, I need the software pushing the install to be able to detect the result (and to know when it completes). – MarkI Aug 09 '17 at 16:26