incase anyone else needs it or i lose my copy
Code:
VER | findstr /l "5.1." > nul
IF %ERRORLEVEL% EQU 0 goto :installer45
goto :end

:installer45

setlocal

reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows XP\SP4\KB942288-v3\Filelist\13"

if NOT %errorlevel%==1 (goto end)
"\\server\packages$\ms msi\installer45\installer45.exe" /quiet /forcerestart


:End