Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Hi I have a MSI package on Server1 and want to install on Server2 .And MSI package is on Server1. Can any help in setting the remote file path of the Installer.

Invoke-Command -ScriptBlock {Start-Process "msiexec.exe" -ArgumentList "/i \\Server1\d$\Drop\Package\DirectMSI.msi /lvx C:\installer.log INSTALLLOCATION=D:\Websites\DirectDevInt ENVPROPERTY=DEV  /quiet" -Wait} -ComputerName "Server2"

The main issue is how to set the file path "\Server1\d$\Drop\Package\DirectMSI.msi"

See below the log:

=== Verbose logging started: 4/8/2013  13:00:27  Build type: SHIP UNICODE 5.00.7601.00  Calling process: C:\Windows\system32\msiexec.exe ===
MSI (c): Resetting cached policy values
MSI (c): Machine policy value 'Debug' is 0
MSI (c): ******* RunEngine: ******* Product: \\Server1\d$\Drop\Package\DirectMSI.msi
******* Action:  ******* CommandLine: **********
MSI (c): Client-side and UI is none or basic: Running entire install on the server.
MSI (c):Grabbed execution mutex.
MSI (c): Cloaking enabled.
MSI (c): Attempting to enable all disabled privileges before calling Install on Server
MSI (c): Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s): Running installation inside multi-package transaction \\Server1\d$\Drop\Package\DirectMSI.msi
MSI (s): Grabbed execution mutex.
MSI (s): Resetting cached policy values
MSI (s): Machine policy value 'Debug' is 0
MSI (s)******* RunEngine:******* Product: \\Server1\d$\Drop\Package\DirectMSI.msi
 ******* Action: 
 ******* CommandLine: **********
MSI (s) Note: 1: 2203 2: \\Server1\d$\Drop\Package\DirectMSI.msi 3: -2147287035 
MSI (s): MainEngineThread is returning 1619
MSI (s): User policy value 'DisableRollback' is 0
MSI (s): Machine policy value 'DisableRollback' is 0
MSI (s): Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s): Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s): Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s): Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2 
MSI (s): Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2 
MSI (s): Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (s): Restoring environment variables
MSI (c): Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c): MainEngineThread is returning 1619
=== Verbose logging stopped: 4/8/2013  13:00:27 ===
share|improve this question

migrated from stackoverflow.com Apr 8 '13 at 20:56

This question came from our site for professional and enthusiast programmers.

    
You'll need to be more specific. In what way do you need help setting that path? What have you tried? What, if any, error messages do you get? –  alroc Apr 8 '13 at 18:15

1 Answer 1

At a minimum, you are facing the double-hop problem and will need to set up CredSSP to make this work.

But there may be other issues you're not telling us about. See my comment on the original question.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.