Page 1 of 1 1
Topic Options
#162524 - 2006-05-26 11:03 AM Detailed Browser/Mail Info
abaddon Offline
Lurker

Registered: 2006-05-26
Posts: 2
Hello all,

Like most here I'm sure, I have a script that detects certain attributes of a client and logs them to make sure that a workstation or whatever is compliant and up to date. However I have been having problems recently with browser versions not being as up to date as they should be. The snippet of script below shows how I enumerate certain reg keys to get the browser etc, but I'd really like to get much more detailed info on the default browser and mail client, like version numbers etc. Is this possible?

Code:
$max_iKeys=3
DIM $iKeys[$max_iKeys+1]
$iKeys[1]="mailto"
$iKeys[2]="http"
$iKeys[3]="news"

? "HKEY_CLASSES_ROOT\???\Shell\open\command"
$i=1
$x=$tmp+" HKCR.specials=("
$first=""
while ($i <= $max_iKeys)
$iKey="HKEY_CLASSES_ROOT\"+$iKeys[$i]+"\Shell\open\command"
if (ExistKey($iKey) = 0)
$iCode=ENUMVALUE($iKey,$index)
$iValue=ReadValue($iKey,$iCode)
? "["+SubStr($iKeys[$i]+" ",1,14)+"]="+$iValue
$x=$x+$first+$iKeys[$i]+"='"+$iValue+"'"
$first=","
endif
$i=$i+1
loop
$x=$x+")"


Top
#162525 - 2006-05-26 11:09 AM Re: Detailed Browser/Mail Info
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11629
Loc: CA
Hello and welcome to the board.

You mean something like these UDFs?

GetIEVersion2() - Info on Explorer,Netscape,FireFox

GetOfficeDetails2() - Get MS Office version details
 

Top
#162526 - 2006-05-26 11:34 AM Re: Detailed Browser/Mail Info
abaddon Offline
Lurker

Registered: 2006-05-26
Posts: 2
Wow, very detailed. I'll have a try of those, thank you. Oh and thanks for the welcome aswell.
Top
#162527 - 2006-05-26 01:08 PM Re: Detailed Browser/Mail Info
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
if you want to know the default app version, you can do as many pcinfo scanners do and get file version of the executable.
for instructions on usage, see manual on getfileversion()
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 988 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.052 seconds in which 0.025 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org