INTERACT FORUM

More => Old Versions => Media Center 13 (Development Ended) => Topic started by: zxsix on December 30, 2008, 07:26:55 pm

Title: unattended updates?
Post by: zxsix 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.
Title: Re: unattended updates?
Post by: Matt on December 30, 2008, 08:11:05 pm
Try /Silent
Title: Re: unattended updates?
Post by: zxsix 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.