Created
April 4, 2016 22:34
-
-
Save gregjhogan/67d8eba7736c6fc23bea5124f9b265e3 to your computer and use it in GitHub Desktop.
install msi file from powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $msiexecArgs = @( | |
| '/i', | |
| 'INSTALLER.msi', // THIS CAN BE A URL! | |
| '/quiet', | |
| '/norestart' | |
| ) | |
| Start-Process -FilePath msiexec -ArgumentList $msiexecArgs -NoNewWindow -Wait |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment