<p>What is the best way to automatically install an MSI file or installer .exe? We want to do some automated testing from our build system on the installed copy of the product. Our installer has the usual license acceptance screen, install location, etc.</p>

<hr>

<p>As FryHard pointed out there are two options in particular that seem handy:</p>

<ul>
<li>"/quiet" - no use interaction</li>
<li>"/passive" - process bar only, unattended mode</li>
</ul>

If you head over to one of your MSI packages in the command prompt and run a:
```
```
Myproduct.MSI /?
```
```
A screen will pop up with all the details of command line parameters that you can pass to the MSI. I am sure that in this way you could install your application via a command prompt and in this way automate it.