Hello,

I am trying to install a package (.MSI) on a remote machine using PsExec (sysinternals tool). It gives an error during installation saying "somefile.txt" is missing whereas it gets installed correctly on a local machine.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Does the account you use with PsExec have full access to the (network) location where the MSI is located?
Answered 01/13/2010 by: pjgeutjens
Red Belt

Please log in to comment
0
I jerked around with PSExec MSI installs for a couple of days awhile back and couldn't get it to work reliably. There are a myriad of undocumented switches and no one can seem to agree on one that works well.
If anyone has a method that works, please share.
Answered 01/13/2010 by: turbokitty
Sixth Degree Black Belt

Please log in to comment
0
I am running with the system account
Answered 01/13/2010 by: milindsm
Blue Belt

Please log in to comment
0
Hey.. I could do it...!!! There was some sequencing problem. But still wondering how come it worked on a local machine...!!!
Answered 01/14/2010 by: milindsm
Blue Belt

Please log in to comment
0
Unfortunately I have ran into the issue when you try to use psexecute to run a command and copy the file at the same time. I usually dump the msi file to a temp folder then use the psexec command to run it.

For example:

psexec \\computername msiexec /switches "path to msi"
Answered 01/15/2010 by: TAiNiUM
Yellow Belt

Please log in to comment
0
I realize this is a little late on this post but if the msi works locally then create a batch file and call it as such:

psexec -s -d -i 0 -c -f \\%pc% adob.bat

or if you don't want the windows to show:(keeps the cows calm)

psexec \\%pc% -s -d -c -f adob.bat

so in adob.bat I have:

@echo off
Echo Adobe Reader 9 Installing ... please wait.
c:\AdbeRdr910_en_US_Std.exe /sAll /rs /l /msi"/qb-! /norestart ALLUSERS=1 EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES"
regdelete "[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]" "Adobe Reader Speed Launcher"
REM end.

but just use whatever syntax worked on the local machine for you.

Remove the -d in both if you like to see the exit with error 0 meaning no errors.

-Mike [8D]

I have my own utility that automatically authenticates to the IPC$ and then calls the batch file, so you need to make sure you auth to the machine before calling it or include the user and pass on psexec. I'll post up my programs later if it is allowed.
Answered 05/06/2010 by: OpK
Yellow Belt

Please log in to comment
0
The command I usually use is the following:

psexec \\[computer name] -u [domain]\[user] -p [password] cmd /k "[command to execute]"

I never had any problems with it for a while now :)
Answered 05/06/2010 by: Mencaliss
Senior Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity