|
This didn't work. People with the patch are getting the same results from the script as the people who do not have it. Can some one give it a quick looksee
$IEVersion=ReadValue"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InternetExplorer","Version"
if $IEVersion = "5.50.4807.2300" $PatchInstalled = READVALUE"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\D7B44F3E-77D3-44C5-8E03-4222D9A18B7B","IsInstalled" If $PatchInstalled < 1 $selection = Messagebox'Windows has determined that you need the Lastest IE Security Patch. This will take less than 1 minute to install. Please restart your machine when you are asked. Thank You! Press OK to Continue',"Internet Explorer Patch Security Patch Q321232",48 copy \\EB0Q2\Programs\IE55\q321232.exe "C:\" SHELL "C:\q321232.exe -q" else $selection = Messagebox'This is to let you know that you already have the latest IE Security Patch. Press OK to Continue',"Internet Explorer Patch Security Patch Q321232",48 endif endif
NOTE:For some reason I had to take out my parenthesis to post. [ 11 June 2002, 14:45: Message edited by: condichiamnotanetworkguy ]
|