[wpkg-users] using psexec to push client

Petersen, Tom Tom.Petersen at sduniversitycenter.org
Tue Oct 13 19:12:28 CEST 2009


Paul, I tried a couple of things, and also removed the spaces from my
file name.  I am still doing something wrong and I can't nail it down,
could you look at the command again and the results? (my ucs18601.xml
only contains one machine while testing, also I tried with and without
the --, didn't know if that was just for a line break in the email??)


c:\PsTools\psexec -u usdsu.local\tom.petersen -p G at nthet1968
@ucs18601.xml -d "msiexec /i
\"\\usdsu.local\storage\its\UC-ITS\WPKG\WPKGClient1.2.1.msi\"
SETTINGSFILE=\\usdsu.local\storage\its\UC-ITS\WPKG\settings.xml /qb"

Starting msiexec /i
"\\usdsu.local\storage\its\UC-ITS\WPKG\WPKGClient1.2.1.msi"
SETTINGSFILE=\\usdsu.local\storage\its\UC-ITS

PsExec could not start msiexec /i
"\\usdsu.local\storage\its\UC-ITS\WPKG\WPKGClient1.2.1.msi"
SETTINGSFILE=\\usdsu.local\stor
age\its\UC-ITS\WPKG\settings.xml /qb on UCS18601:
The system cannot find the path specified.


-----Original Message-----
From: wpkg-users-bounces at lists.wpkg.org
[mailto:wpkg-users-bounces at lists.wpkg.org] On Behalf Of Paul McGrath
Sent: Saturday, October 10, 2009 5:58 PM
To: wpkg-users at lists.wpkg.org
Subject: [wpkg-users] using psexec to push client


It is a combination of things, psexec wants quotes around your command
and windows wants quotes around the filename which has spaces in it.
You also have to put \" infront of embedded quotes (quotes within
quotes).

something like this:
c:\PsTools\psexec -u usdsu.local\username -p password @ucs186.xml -d
"msiexec /i \"\\usdsu.local\storage\its\uc-its\wpkg\WPKG Client
1.2.1.msi\"
--SETTINGSFILE=\\usdsu.local\storage\its\uc-its\wpkg\settings.xml /qb"


You could just remove the spaces from the file name

c:\PsTools\psexec -u usdsu.local\username -p password @ucs186.xml -d
"msiexec /i \\usdsu.local\storage\its\uc-its\wpkg\WPKGClient1.2.1.msi
--SETTINGSFILE=\\usdsu.local\storage\its\uc-its\wpkg\settings.xml /qb"

Hope that helps

Check it just for one machine first without the computer list xml file
Paul

________________________________________
From: wpkg-users-bounces at lists.wpkg.org
[wpkg-users-bounces at lists.wpkg.org] On Behalf Of Petersen, Tom
[Tom.Petersen at sduniversitycenter.org]
Sent: 09 October 2009 20:56
To: wpkg-users at lists.wpkg.org
Subject: [wpkg-users] using psexec to push client

I am new to all of this but actually managed to get things working for
the most part using the documentation online.
Once the client is installed my packages install ok.

I tried using this to push the client:
c:\PsTools\psexec -u usdsu.local\username -p password @ucs186.xml -d
msiexec /i "\\usdsu.local\storage\its\uc-its\wpkg\WPKG Client 1.2.1.msi"
/qb SETTINGSFILE=\\usdsu.local\storage\its\uc-its\wpkg\settings.xml

(replacing username and password with the correct ones)

I then get this for all 32 machines. (correct machine names, and
different process ID on each of the 32 machines)
\\UCS18602:

msiexec started on UCS18602 with process ID 692.


That is all I get, not sure if I was supposed to get any feedback on if
it was successful or not.  And the client is not installed on the
machines.  Is there a way to look at that process id somewhere???

Any help on this would be greatly appreciated, hope this is the right
place to post this question.

TIA!
Tom



------------------------------------------------------------------------
-
wpkg-users mailing list archives >>
http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users



More information about the wpkg-users mailing list