Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Install msi to remote computer

$
0
0
Hi
I am trying to install msi package to remote computer using this way:

$a = ([wmiclass]"\\remotecomp\root\cimv2:win32_product") 
$path = "\\server\share\file.msi" 
$a.install($path) 

If msi package is located locally on remote computer ($path=”c:\file.msi”) everything works great but if msi package is on server  ($path = \\server\share\file.msi) it doesn’t work and error 1619 appears.

What could it be?

Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>