INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: unattended updates?  (Read 1363 times)

zxsix

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1753
unattended updates?
« on: December 30, 2008, 07:26:55 pm »

I have several workstations that I try to keep updated within a few builds of each other.
Right now, I'm remotely controlling each desktop from my office and running the installer manually.
I'd like to automate this a bit.
Are there any command line switches I can pass the installer to make it a silent install with no prompts?
I'm thinking I could do something like this:

at \\othercomputername 18:00 /every:Monday "D:\downloads\MC\MediaCenter13.exe -silent"
or something similar to that.

MC is already installed on each computer in the default location, so as long as the installer would do it's thing and complete without any user prompts that would be awesome.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: unattended updates?
« Reply #1 on: December 30, 2008, 08:11:05 pm »

Try /Silent
Logged
Matt Ashland, JRiver Media Center

zxsix

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1753
Re: unattended updates?
« Reply #2 on: December 31, 2008, 12:16:43 am »

That /silent switch works.

Here's what ended up working the best for me:

psexec \\client1 -c -f -i -n 15 -s "d:\downloads\mc\mediacenter13.exe" /Silent
psexec \\client2 -c -f -i -n 15 -s "d:\downloads\mc\mediacenter13.exe" /Silent

I set that up as a batch file.
Now, I download the latest MC build, change the name so it gets saved as mediacenter13.exe in the path referenced above.
Then if I feel the need to update the client computers, I kick off the batch file.
If a computer is offline, it will attempt for 15 seconds, and then skip it.

psexec is a power tool available from Microsoft.  Google it to find a download source.

psshutdown is also a cool util that allows you to sit at one computer and schedule reboots of other computers.
I use that one at work all the time.

Logged
Pages: [1]   Go Up