Why so complicated??

i scripting this one:
code:
$BS_MS = ReadValue ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion","CurrentVersion")

$hot_MS = KeyExist ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows 2000\SP5\KB823980")

If $hot_MS = "0" AND $BS_MS = "5.0"
MessageBox ("Ein wichtiges Update muss JETZT installiert werden."
+ Chr(13) + Chr(10) +
"Der PC wird anschliessend Automatisch neugestartet"
+ Chr(13) + Chr(10) + "" + Chr(13) + Chr(10) +
"Bei fragen..." + Chr(13) + Chr(10) +
"User Help Desk Tel. XXXX",
"Microsoft Hotfix KB823980",16,20)
Shell "\\server\Updates\hotfix\KB823980\update\update.exe -u -f"
Shell "\\server\netlogon\shutdown.exe /L /R /Y /C"
EndIf

[Big Grin] but it only works with Win2k
because we only have Win2k [Wink]

[ 15. August 2003, 14:29: Message edited by: eviltrooper ]
_________________________
Goto are eVIL [TM]