Re: Login Script - Internet Explorer Patch
From: James Whitlow (JmsWhitlow_at_hotmail.com)
Date: 10/10/03
- Next message: John Bandy: "Re: Security Tab not showing up in File Properties"
- Previous message: Karel: "Re: changing home page on IE"
- In reply to: Moe Szyslak: "Login Script - Internet Explorer Patch"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 10 Oct 2003 08:06:41 -0500
"Moe Szyslak" <moe_szyslak@bigpond.com.news> wrote in
news:3f84a463@news.leadingedgeinternet.net.au:
> How can I determine what version of Internet Explorer is installed via
> Login Script so i can then proceed to install the correct IE Patch?
>
> Cheers;
> Moe
Moe,
This is the code that I use in my vbscript login script (watch out for wrapping):
' ### October 2003, Cumulative Patch for Internet Explorer (828750) ###
IEVersion=WSH.RegRead("HKLM\SOFTWARE\Microsoft\Internet Explore\Version")
Err.Clear
WSH.RegRead("HKLM\Software\Microsoft\Active Setup\Installed Components\" _
&"{96543d59-497a-4801-a1f3-5936aacaf7b1}\ComponentID")
If Not Err=0 Then
Select Case IEVersion
Case "5.50.4807.2300":ServerPath="5.5SP2"
Case "6.00.2800.1106", "6.0.2800.1106":ServerPath="6SP1"
Case Else:ServerPath=False
End Select
If ServerPath Then
WSH.Run """"&NetLogon&"\exe\MS03-040\"&ServerPath&"\q828750.exe"" /Q:A /R:N",0,True
End If
End If
- Next message: John Bandy: "Re: Security Tab not showing up in File Properties"
- Previous message: Karel: "Re: changing home page on IE"
- In reply to: Moe Szyslak: "Login Script - Internet Explorer Patch"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|