1. get the Update-Pack from
winboard.org2. extract the exe-file
3. as you can see, a directory and three files will be extracted (not tested with the english-pack)
4. modifiy install.cmd as described below
5. ready - start install.cmd and all hotfixes will be installed (if necessary)
Modify install.cmd
1. put the following lines after the first set of echos
CODE
PUSHD "%~dp0"
set SILENT=false
if /I "%~1"=="-silent" set SILENT=true
if /I "%~1"=="/silent" set SILENT=true
The PUSHD-command changes to the script-directory - even if the batch is started from a network-share
The next three command give you the option to run the script silenty (as you can see with the silent-argument)
At next you can change the path to the logfile - if you want to disable it just set LOG to NUL
CODE
SET LOG=NUL
At next we have to modify the PAUSE-commands - just replace each
CODE
PAUSE
with
CODE
if %SILENT%==false PAUSE
At last we have to add the POP-command after the last PAUSE-line (this is before the last goto :eof before the :Patch1-line)
This is my modified batch from german update pack:
CODE
cls
@echo off
@Echo Willkommen beim Update-Pack von WinBoard
@echo ----------------------------------------------------------------
@Echo + Dieses UpdatePack stammt nicht von MICROSOFT +
@Echo + Es ist lediglich eine Zusammenstellung von einzelnen +
@Echo + Updates bzw. Patches, die MICROSOFT ver”ffentlicht hat +
@Echo + +
@Echo + Es sind nur Updates enthalten, die keine +
@Echo + Echtheitsberprfung erfordern +
@Echo + +
@Echo + Wir bernehmen keinerlei Haftung fr Sch„den an Ihrem System +
@Echo + +
@Echo + Version 2.20 (WinXP) +
@Echo + Created by: www.winboard.org (10.10.2006) +
@echo ----------------------------------------------------------------
REM ############## section modified ###################
PUSHD "%~dp0"
set SILENT=false
if /I "%~1"=="-silent" set SILENT=true
if /I "%~1"=="/silent" set SILENT=true[/b]
set RegHotfixListe=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Hotfix
REM set LOG="%USERPROFILE%\Desktop\UpdatePack.log"
set LOG="%SYSTEMDRIVE%\UpdatePack.log"
REM ############## section modified ###################
echo WinBoard.org UpdatePack >>%LOG%
echo ========================================================= >>%LOG%
echo Version 2.20 für Windows XP >>%LOG%
echo. >>%LOG%
echo Datum der Installation: %Date%, %Time% >>%LOG%
echo ========================================================= >>%LOG%
echo. >>%LOG%
echo. >>%LOG%
@echo.
@echo.
@echo Es werden wie blich nur Patches bercksichtigt, die nach dem
@echo SP2 fr WinXP erschienen sind.
@echo.
@echo BITTE ALLE AKTIVEN ANWENDUNGEN BEENDEN
REM ############## section modified ###################
if %SILENT%==false pause
REM ############## section modified ###################
@echo.
CLS
call :Patch1 898461 WindowsXP-KB898461-x86-DEU.exe "Package Installer fr Windows"
call :Patch1 885894 WindowsXP-KB885894-x86-deu.exe "Probleme beim Installieren von Updates nach SP2"
call :Patch1 885836 WindowsXP-KB885836-x86-DEU.exe "Sicherheitslcke im WordPad"
call :Patch1 873339 WindowsXP-KB873339-x86-DEU.exe "Sicherheitslcke im HyperTerminal"
call :Patch1 885835 WindowsXP-KB885835-x86-DEU.exe "Sicherheitslcke im Windows Kernel und LSASS"
REM ++++++++++++++++++++++++++
REM Version 2.4 (Februar 2005)
REM ++++++++++++++++++++++++++
call :Patch1 887472 WindowsXP-KB887472-x86-deu.exe "Sicherheitslcke im Windows Messenger"
call :Patch1 888302 WindowsXP-KB888302-x86-DEU.exe "Sicherheitslcke in Windows"
call :Patch1 891781 WindowsXP-KB891781-x86-DEU.exe "Sicherheitslcke im ActiveX-Steuerelement"
REM ++++++++++++++++++++++++++
REM Version 2.5 (April 2005)
REM ++++++++++++++++++++++++++
call :Patch1 887742 WindowsXP-KB887742-x86-DEU.exe "Fehlermeldung Stop 0x05 (INVALID_PROCESS_ATTACH_ATTEMPT)"
call :Patch1 890859 WindowsXP-KB890859-x86-DEU.exe "Sicherheitslcke in Windows-Kernel"
REM ++++++++++++++++++++++++++
REM Version 2.6 (Juni 2005)
REM ++++++++++++++++++++++++++
call :Patch1 890046 WindowsXP-KB890046-x86-DEU.exe "Sicherheitslcke in Microsoft Agent"
call :Patch1 896358 WindowsXP-KB896358-x86-DEU.exe "Sicherheitslcke in HTML-Hilfe"
call :Patch1 896428 WindowsXP-KB896428-x86-DEU.exe "Sicherheitslcke im Windows Telnet Client"
call :Patch1 898458 StepByStepInteractiveTraining-KB898458-x86-DEU.exe "Sicherheitslcke im Schritt fr Schritt - Interaktives Training"
REM ++++++++++++++++++++++++++
REM Version 2.7 (Juli 2005)
REM ++++++++++++++++++++++++++
call :Patch1 901214 WindowsXP-KB901214-x86-DEU.exe "Sicherheitslcke im Microsoft Color Management Module"
REM ++++++++++++++++++++++++++
REM Version 2.8 (August 2005)
REM ++++++++++++++++++++++++++
call :Patch1 893756 WindowsXP-KB893756-x86-DEU.exe "Sicherheitslcke im Telephony Service"
call :Patch1 896423 WindowsXP-KB896423-x86-DEU.exe "Sicherheitslcke im Print Spooler Service"
call :Patch1 899587 WindowsXP-KB899587-x86-DEU.exe "Sicherheitslcke im Authentifizierungsdienst Kerberos"
call :Patch1 899588 WindowsXP-KB899588-x86-DEU.exe "Sicherheitslcke im Plug and Play"
call :Patch1 899591 WindowsXP-KB899591-x86-DEU.exe "Nach Sicherheitsupdate MS05-012 Probleme mit Generic Host Process"
REM ++++++++++++++++++++++++++
REM Version 2.9 (Oktober 2005)
REM ++++++++++++++++++++++++++
call :Patch1 899589 WindowsXP-KB899589-x86-DEU.exe "Sicherheitslcke im Client Service for Netware"
call :Patch1 900725 WindowsXP-KB900725-x86-DEU.exe "Sicherheitslcke in Windows Shell"
call :Patch1 901017 WindowsXP-KB901017-x86-DEU.exe "Sicherheitslcke in Collaboration Data Objects"
call :Patch1 902400 WindowsXP-KB902400-x86-DEU.exe "Sicherheitslcke im MSDTC und COM+"
call :Patch1 904706 WindowsXP-KB904706-v2-x86-DEU.exe "Sicherheitslcke in DirectShow"
call :Patch1 905414 WindowsXP-KB905414-x86-DEU.exe "Sicherheitslcke im Network Connection Manager"
call :Patch1 905749 WindowsXP-KB905749-x86-DEU.exe "Sicherheitslcke im Plug and Play"
REM ++++++++++++++++++++++++++
REM Version 2.10 (November 2005)
REM ++++++++++++++++++++++++++
call :Patch1 907865 WindowsXP-KB907865-x86-DEU.exe "Sicherheitslcke im IPSec-Richtlinienagenten"
call :Patch1 896424 WindowsXP-KB896424-x86-DEU.exe "Sicherheitslcke in Graphics Rendering Engine"
REM ++++++++++++++++++++++++++
REM Version 2.11 (Dezember 2005)
REM ++++++++++++++++++++++++++
call :Patch1 910437 WindowsXP-KB910437-x86-DEU.exe "Korrektur fr Auto/Windows Update"
call :Patch1 908521 WindowsXP-KB908521-x86-DEU.exe "Probleme im RPC-Dienst"
REM ++++++++++++++++++++++++++
REM Version 2.12 (11.01.2006)
REM ++++++++++++++++++++++++++
call :Patch1 898900 WindowsXP-KB898900-v2-x86-DEU.exe "DFS Namespaces Client failback feature"
call :Patch1 912919 WindowsXP-KB912919-x86-DEU.exe "Sicherheitslcke in Grafik-Wiedergabe-Modul"
call :Patch1 900485 WindowsXP-KB900485-v2-x86-DEU.exe "Error Stop 0x7E in Windows XP SP2"
call :Patch1 908519 WindowsXP-KB908519-x86-DEU.exe "Sicherheitslcke in eingebetteten Webschriftarten"
REM ++++++++++++++++++++++++++
REM Version 2.13 (14.02.2006)
REM ++++++++++++++++++++++++++
call :Patch1 911564 WindowsMedia-KB911564-x86-DEU.exe "Scherheitslcke im Windows Media Player"
call :Patch1 911927 WindowsXP-KB911927-x86-DEU.exe "Sicherheitslcke im Web Client Service"
call :Patch1 901190 WindowsXP-KB901190-x86-DEU.exe "Sicherheitslcke im Korean Input Method Editor"
REM ++++++++++++++++++++++++++
REM Version 2.14 (11.04.2006)
REM ++++++++++++++++++++++++++
call :Patch1 911567 WindowsXP-KB911567-x86-DEU.exe "Kumulatives Sicherheitsupdate fr Outlook Express"
call :Patch1 908531 WindowsXP-KB908531-x86-DEU.exe "Sicherheitslcke im Internet Explorer"
call :Patch1 911562 WindowsXP-KB911562-x86-DEU.exe "Sicherheitslcke in Microsoft Data Access Components (MDAC)"
REM ++++++++++++++++++++++++++
REM Version 2.15 (09.05.2006)
REM ++++++++++++++++++++++++++
call :Patch1 913580 WindowsXP-KB913580-x86-DEU.exe "Sicherheitslcke im MS DTC-Dienst"
call :Patch2 913433 Windows-KB913433-x86-DEU.exe "Sicherheitslcke im Flash Player"
REM ++++++++++++++++++++++++++
REM Version 2.16 (13.06.2006)
REM ++++++++++++++++++++++++++
call :Patch1 918439 WindowsXP-KB918439-x86-DEU.exe "Sicherheitslcke im Internet Explorer"
call :Patch1 911280 WindowsXP-KB911280-v2-x86-DEU.exe "Sicherheitslcke im RAS Verbindungsmanager"
call :Patch1 917734_WMP10 WindowsMedia10-KB917734-x86-DEU.exe "Sicherheitslcke im Media Player 10"
call :Patch1 917734_WMP9 WindowsMedia9-KB917734-x86-DEU.exe "Sicherheitslcke im Media Player 9"
call :Patch1 914389 WindowsXP-KB914389-x86-DEU.exe "Sicherheitslcke im SMB-Dienst"
call :Patch1 917953 WindowsXP-KB917953-x86-DEU.exe "Sicherheitslcke im TCP/IP-Protokoll"
call :Patch1 917344 WindowsXP-KB917344-x86-DEU.exe "Sicherheitslcke im Windows Scripting Host"
REM ++++++++++++++++++++++++++
REM Version 2.17 (12.07.2006)
REM ++++++++++++++++++++++++++
call :Patch3 917283 NDP20-KB917283-X86.exe "Sicherheitslcke im ASP.NET"
call :Patch1 914388 WindowsXP-KB914388-x86-DEU.exe "Sicherheitslcke im DHCP Client Dienst"
call :Patch1 917537 WindowsXP-KB917537-x86-DEU.exe "Sicherheitslcke im Internetinformationsdienst"
REM ++++++++++++++++++++++++++
REM Version 2.18 (08.08.2006)
REM ++++++++++++++++++++++++++
call :Patch1 921883 WindowsXP-KB921883-x86-DEU.exe "Sicherheitslcke Windows Server-Dienst"
call :Patch1 920683 WindowsXP-KB920683-x86-DEU.exe "Sicherheitslcke in Windows DNS-Aufl”sung"
call :Patch1 918899 WindowsXP-KB918899-x86-DEU.exe "Kumulatives Sicherheitsupdate fr den Internet Explorer"
call :Patch1 920214 WindowsXP-KB920214-x86-DEU.exe "Sicherheitslcke in Windows erlaubt Code-Ausfhrung"
call :Patch1 921398 WindowsXP-KB921398-x86-DEU.exe "Sicherheitslcke im Windows Explorer"
call :Patch1 922616 WindowsXP-KB922616-x86-DEU.exe "Sicherheitslcke in der HTML-Hilfe von Windows"
call :Patch1 920670 WindowsXP-KB920670-x86-DEU.exe "Sicherheitslcke in Windows Hyperlink Object Library"
call :Patch1 917422 WindowsXP-KB917422-x86-DEU.exe "Sicherheitslcke im Windows Kernel erlaubt Code-Ausfhrung"
REM ++++++++++++++++++++++++++
REM Version 2.19 (12.09.2006)
REM ++++++++++++++++++++++++++
call :Patch1 920685 WindowsXP-KB920685-x86-DEU.exe "Sicherheitslcke im Index-Dienst"
call :Patch1 919007 WindowsXP-KB919007-x86-DEU.exe "Sicherheitslcke im Reliable Multicast-Protokoll"
REM ++++++++++++++++++++++++++
REM Version 2.20 (10.10.2006)
REM ++++++++++++++++++++++++++
call :Patch1 925486 WindowsXP-KB925486-x86-DEU.exe "Sicherheitslcke bei der Verarbeitung von VML-Dateien"
call :Patch3 922770 NDP20-KB922770-X86.exe "Sicherheitslcke in ASP.NET 2.0"
call :Patch1 923191 WindowsXP-KB923191-x86-DEU.exe "Sicherheitslcke im Internet Explorer"
call :Patch1 924191 WindowsXP-KB924191-x86-DEU.exe "Sicherheitslcke in den XML Core Services"
call :Patch1 923414 WindowsXP-KB923414-x86-DEU.exe "Sicherheitslcke im Server Service"
call :Patch1 924496 WindowsXP-KB924496-x86-DEU.exe "Sicherheitslcke im TCP/IPv6-Protokoll"
call :Patch1 922819 WindowsXP-KB922819-x86-DEU.exe "Sicherheitslcke im Windows Object Packager"
CLS
@ECHO.
@ECHO Alle Sicherheitsupdates wurden installiert.
@ECHO.
@ECHO BITTE DEN RECHNER NEU STARTEN
@ECHO.
@ECHO.
REM ############## section modified ###################
if %SILENT%==false pause
POPD
REM ############## section modified ###################
goto:eof
:Patch1
@echo INSTALLIERE Patch KB%1
@echo --------------------------------
@echo %3
Data\reg query "%RegHotfixListe%\KB%1" /v Installed 2>NUL | FIND "0x1" >Nul 2>NUL
if "%errorlevel%"=="0" (
echo ++++ Patch ist schon installiert
echo Patch %1 war bereits installiert >>%LOG%
) ELSE (
start /wait Data\%2 /passive /norestart
echo Patch %1 wurde installiert >>%LOG%
)
@echo.
goto:eof
:Patch2
@echo INSTALLIERE Patch KB%1
@echo --------------------------------
@echo %3
Data\reg query "%RegHotfixListe%\KB%1" /v Installed 2>NUL | FIND "0x1" >Nul 2>NUL
if "%errorlevel%"=="0" (
echo ++++ Patch ist schon installiert
echo Patch %1 war bereits installiert >>%LOG%
) ELSE (
start /wait Data\%2 /Q:A /R:N
echo Patch %1 wurde installiert >>%LOG%
)
@echo.
goto:eof
:Patch3
@echo INSTALLIERE Patch KB%1
@echo --------------------------------
@echo %3
Data\reg query "%RegHotfixListe%\KB%1" /v Installed 2>NUL | FIND "0x1" >Nul 2>NUL
if "%errorlevel%"=="0" (
echo ++++ Patch ist schon installiert
echo Patch %1 war bereits installiert >>%LOG%
) ELSE (
start /wait Data\%2 /qn /norestart
echo Patch %1 wurde installiert >>%LOG%
)
@echo.
goto:eof
Now you can start this script:
without arguments: you have to confirm all PAUSE-commands with a keypress
with the argument /silent or -silent (it's not casesensitive): all commands will be processed without user interaction.
Hope this helps.
Al