how to install .MSI using powershell -


i new powershell , have difficulty understanding.
want install .msi inside powershell script.
can please explain me how or provide me beginners level tutorial.

$wiobject = new-object -comobject windowsinstaller.installer ????? 

why fancy it? invoke .msi file:

& <path>\filename.msi 

or

start-process <path>\filename.msi 

edit: full list of start-process parameters

https://ss64.com/ps/start-process.html


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -