Installation using PsExec
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.
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
Answers (7)
Please log in to answer
Posted by:
pjgeutjens
14 years ago
Posted by:
turbokitty
14 years ago
Posted by:
milindsm
14 years ago
Posted by:
TAiNiUM
14 years ago
Posted by:
OpK
14 years ago
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.
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.
Posted by:
Mencaliss
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.