how to install MSI application using wmic?
1. run command (cmd) as Domain Administrator runas /user:domainadmin@domain cmd
2. step in WMIC. (type wmic on command prompt)
3. for single machine use following
/node:exampleremotemachine product call install true,”” , “c:\PathToYour\File.msi”
Which will prompt us for confirmation in the following format:
Execute (Win32_Product)->Install() (Y/N)?
To which we must answer yes (y) to confirm. If your WMI compliant MSI package was successfully installed, you should see something like the following:
Method execution successful.
instance of __PARAMETERS
ReturnValue = 0;
4. For multiple files
> /node::@”c:\computers.txt” product call install true,”” , “c:\PathToYour\File.msi