And for the cherry on top, see this for a cross reference of build numbers
to version and SP.
http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q164539
-----Original Message-----
From: Shea, Linchi [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 21, 2001 4:20 PM
To: '[EMAIL PROTECTED]'; 'chris devers'; Crosby,
Sam F (GEP, Contractor)
Subject: RE: Find Version of Internet Explorer
This code would work:
use strict;
use Win32::Registry;
my $server = 'MyServer';
getIEVersion($server);
#############################
sub getIEVersion {
#############################
my($server) = shift;
use vars qw ($HKEY_LOCAL_MACHINE );
my $Registry_HKLM;
$HKEY_LOCAL_MACHINE->Win32::Registry::Connect($server, $Registry_HKLM);
unless ($Registry_HKLM) {
print "Unable to Connect to HKLM on $server\n";
}
my $IE;
$Registry_HKLM->Open('SOFTWARE\Microsoft\Internet Explorer', $IE);
unless ($IE) {
print "Unable to open SOFTWARE\\Microsoft\\Internet Explorer on
$server\n";
}
my ($value, $type);
$IE->QueryValueEx('Version', $type, $value);
if ($value) {
print "IE version = $value\n";
}
else {
print "Error: unable to read from Version value.\n";
}
} # getIEVersion
Linchi
> -----Original Message-----
> From: Chris Devers [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 21, 2001 4:21 PM
> To: Crosby, Sam F (GEP, Contractor)
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: Find Version of Internet Explorer
>
>
> On Fri, 21 Sep 2001, Crosby, Sam F (GEP, Contractor) wrote:
>
> > Is there a way to find the version of MS Internet Explorer installed
> > on a Win32 computer? Assumes having Admin privileges. Want to avoid
> > having to go to each desktop to click on "Help" - or have to connect
> > via pcAnywhere.... Required to determine what Hot Patches have to be
> > applied to protect against the latest viruses.
>
> Assuming this is standard across different IE versions, and can only
> assume that it would be, the version info is kept in the registry:
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version
>
> Presumably it should be possible to access that key programmatically.
> Those with more Win32 programming skills could give us an
> example of how,
> but it seems like it'll involve (I think) Win32::Registry. I think.
>
>
>
>
> --
> Chris Devers [EMAIL PROTECTED]
>
> _______________________________________________
> Perl-Win32-Admin mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin
>
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin