Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 

Requiem87

List of Antivirus names for getAntiVirusProduct()

Recommended Posts

myselfidem    5

About IE version try to change inside wmi.js (line 320) :

wmi.js


function getIEver()
{
position="wmi.js";
whatfunc="getIEver()";

IEver=WshShell.RegRead("HKLM\\Software\\Microsoft\\Internet Explorer\\svcVersion");
IEver=IEver.substr(0,3);

return IEver;
}

Thanks to share your result!

Edited by myselfidem

Share this post


Link to post
Share on other sites
Dynaletik    0

I would use "Pro" instead of "Professional Edition", as "Pro" is the original name by Microsoft.

For the IE thing I ran into a problem with shortening the result to 3 digits, as it then shows "10." instead of "10.0".

I now tried

function getIEver()
{
position="wmi.js";
whatfunc="getIEver()";

if (szOSVerCache == "Win8")
{
IEver=WshShell.RegRead("HKLM\\Software\\Microsoft\\Internet Explorer\\svcVersion");
IEver=IEver.substr(0,4);
}
else
{
IEver=WshShell.RegRead("HKLM\\Software\\Microsoft\\Internet Explorer\\Version");
IEver=IEver.substr(0,3);
}

return IEver;
}

But this only works to determine if it is IE10 which ships with Windows 8, so I guess this is perhaps better:

function getIEver()
{
position="wmi.js";
whatfunc="getIEver()";

IEver=WshShell.RegRead("HKLM\\Software\\Microsoft\\Internet Explorer\\svcVersion");

if (IEver.substr(1,1) == ".")
{
IEver=IEver.substr(0,3);
}
else
{
IEver=IEver.substr(0,4);
}

return IEver;
}

It checks, if the second character of the svcVersion string is the "." and decides to cut the string down then. Shows "10.0" for me and if I change the reg value to 9.xxxx it Shows "9.0".

Does this svcVersion exist on Win 7 PC e.g., too?

Edited by Dynaletik

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×