Deploying software with scripts

Not everyone has fancy(read: expensive) enterprise software to automatically deploy software to desktops.  Installing software by hand is time consuming, boring, and unnecessary with a little help from the pstools suite.

This is pretty basic, but it gets the job done. All we need is 2 batch files, 1 txt file with a list of the desktops we want to install on, and the psexec.exe file from the pstools suite.

Make a batch file for software installation like:
install.bat 

Code:

Net use z: \\software\location
z:
cd sub\folder\if\needed
mkdir c:\software
copy *.* c:\software /y
c:
cd c:\software
msiexec /i something.msi /qn (install software with msi)
msiexec /update something.msp /qn (for updating software, like adobe reader)
setup.exe /veryquiet (or something similiar depends on the .exe)
rmdir c:\software
net use z: /delete /y

workstations.txt

Code:

workstation1
workstation2
workstation3

process.bat

Code:

psexec @workstations.txt -s -c install.bat >> install.log

 
Copy psexec.exe into the same folder, then just run process.bat from dos and watch the installs.  I normally keep a second window open and 'type install.log' to see the results.

No feedback yet