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?
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?