Jump to content

Help with winxp update disc


Recommended Posts

Posted

I have a winxp update disc that I've been using / updating for a while now. It contains all the hotupdates, security software and a bunch of other information I use to setup or fix computers. It's not perfect, but I've been using various cmd scripts to automatically install the updates and software. It's worked fine for me so far, but now with the latest updates from microsoft I'm having a little trouble.

I need to know how to automatically detect which version of media player has been installed on a machine, so that I can have a script install the right update.

Also is there a way to automatically detect which service pack is installed on a computer? Right now I have to know what service pack is installed and manually run the script for it. If it could be done automatically that would be cool. Thanks for any help with this


Posted

For Windows Media Player (used in a cmd batch)

::Détection de la version de Windows Media Player
set wmpver=9
reg query HKLM\Software\Microsoft\MediaPlayer\10.0 >NUL
if %errorlevel%==0 set wmpver=10
if exist WMP%wmpver%_911565.exe echo - Windows Media Player, Hotfix
if exist WMP%wmpver%_911565.exe start /wait "" WMP%wmpver%_911565.exe /quiet /norestart

For service pack, use the same system but with this regkey ( I don't use SP1 ... I update all systems to SP2 ^^)

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CSDVersion

Posted

Thank you for the information, it is exactly what I've been looking for. Since I deal with a lot of different computers and people, the choice of SP1 or SP2 isn't always mine. It is up to me to make sure they stay up to date with the proper updates and the information that you have provided me will help immensly. Thanks again

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...