#40458 - 2003-05-20 01:24 PM
Re: windows and ie patches and OS plus software License
|
AzzerShaw
Seasoned Scripter
  
Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
|
No problem - I would use something like this
code:
Break on
If Exist("c:\temp\IEver5.log") Del "c:\temp\fail.log" EndIf
If Exist("c:\temp\IEver6.log") Del "c:\temp\IEver6.log" EndIf
If Exist("c:\temp\AaronistheBest.log") Del "c:\temp\IEver6.log" EndIf $os_Version_IE= ReadValue("HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer","version")
If $os_Version_IE= "5.50.4807.2300" WriteProfileString("c:\temp\ieVer5.log","ie6","sp","$os_service_p") WriteProfileString("c:\temp\ieVer5.log","ie6","fart","checkdrive") WriteProfileString("c:\temp\ieVer5.log","ie6","sp","6.0") EndIf If $os_Version_IE= "6.0.2800.1106" WriteProfileString("c:\temp\IeVer6.log","ie6","sp","$os_service_p") WriteProfileString("c:\temp\IeVer6.log","ie6","fart","checkdrive") WriteProfileString("c:\temp\IeVer6.log","ie6","sp","6.0") Else WriteProfileString("c:\temp\AaronistheBEST.log","ie6","sp","$os_service_p") WriteProfileString("c:\temp\AaronistheBEST.log","ie6","fart","checkdrive") WriteProfileString("c:\temp\AaronistheBEST.log","ie6","sp","6.0") EndIf
Exit
I basically use this script to check the IE verison and then it writes to a log file but you can amend it to how you like (put the key for the veriosn of os etc), you can put the $PCname as the name of the log so you can easily gather all the info. Or even get the script to write the info to one file on a server or sumfin... Hope this is what you want...of course you will have to find the verion numbers your self
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 484 anonymous users online.
|
|
|