Kelsenellenelvian Posted September 12, 2012 Author Posted September 12, 2012 All changes added.myselfidem read through the docs page at the forum...
myselfidem Posted September 12, 2012 Posted September 12, 2012 (edited) Many thanks! I've read the doc on the Main WPIW page, and I also made a new License.txt (French) inside French manual about this question:And here is the new lang_fr.js for WPI_v8.6.2Regards Edited September 18, 2012 by myselfidem
Dynaletik Posted September 12, 2012 Posted September 12, 2012 (edited) Hey Kel, here you go with updated german translation and manual for 8.6.2.Cheers Edited September 14, 2012 by Kelsenellenelvian
Dynaletik Posted September 13, 2012 Posted September 13, 2012 (edited) Here are the wmi.js changes for recognition of Windows 8 & Internet Explorer 10 that we discussed in the AntiVirus thread:Line 53, Changeif (Caption.indexOf("Windows 8") != -1)intoif (Caption.indexOf("8") != -1)In the function getOSsku(sku), add the following case, we need some people with Enterprise or non-Pro version to get the other IDs: case 48: OSSKU="Pro"; break;Change getIEver() to the following: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;}Cheers Edited September 13, 2012 by Dynaletik
myselfidem Posted September 13, 2012 Posted September 13, 2012 (edited) Yes, it's better to use sku: "Pro" for Windows 8 Pro or sku: "Pro Edition".Windows 8 editionsWindows 8 Pro succeeds Windows 7 Professional and Ultimate and is targeted towards enthusiasts and business users; it includes all the features of Windows 8. Regards Edited September 13, 2012 by myselfidem
Kelsenellenelvian Posted September 13, 2012 Author Posted September 13, 2012 Got them for next release, thanks guys.
myselfidem Posted September 13, 2012 Posted September 13, 2012 After testing Windows 8 Enterprise (eval) on Oracle VM VirtualBox the sku is 72:wmi.jscase 72: OSSKU="Enterprise Edition"; break;Regards
myselfidem Posted September 13, 2012 Posted September 13, 2012 (edited) On the WPIW Home page (Home tab) , thanks to remove also: sample config (word and link 404)For any questions about configuration see [the sample config] and read the FAQ. Thanks and regards. Edited September 13, 2012 by myselfidem
alfreire Posted September 13, 2012 Posted September 13, 2012 (edited) Attached lang_es.js with little corrections... Regards... ;-)lang_es.rar Edited September 13, 2012 by alfreire
ZEUS__ Posted September 13, 2012 Posted September 13, 2012 (edited) updated Turkish Lang for WPI v8.6.2 Edited September 14, 2012 by Kelsenellenelvian
Dynaletik Posted September 13, 2012 Posted September 13, 2012 After testing Windows 8 Enterprise (eval) on Oracle VM VirtualBox the sku is 72:wmi.jscase 72: OSSKU="Enterprise Edition"; break;RegardsI think the "normal" Enterprise edition DOES NOT match this ID. The ID 72 is "Enterprise Evaluation", as this is what it says in my VMBox, too.
Kelsenellenelvian Posted September 13, 2012 Author Posted September 13, 2012 Hey guys?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; }This doesn't work... IE 8 (possibly 7 and lower do not have the "svcVersion" key.function getIEver() { position="wmi.js"; whatfunc="getIEver()"; IEver=WshShell.RegRead("HKLM\\Software\\Microsoft\\Internet Explorer\\Version"); if (IEver.substr(1,1) == ".") { IEver=IEver.substr(0,3); } else { IEver=IEver.substr(0,4); } return IEver; }Try this ^
Dynaletik Posted September 14, 2012 Posted September 14, 2012 Yes, like I said the problem is the following:With IE 10 under Windows 8, the "Version" says "9.10", but "svcVersion" says "10.0". I do not know how this will be when installing IE 10 on Win7 or Vista.Please test this:function getIEver(){ position="wmi.js"; whatfunc="getIEver()"; IEver=WshShell.RegRead("HKLM\\Software\\Microsoft\\Internet Explorer\\Version"); if (IEver.substr(0,4) == "9.10") { IEver=WshShell.RegRead("HKLM\\Software\\Microsoft\\Internet Explorer\\svcVersion").substr(0,4); } else { if (IEver.substr(1,1) == ".") { IEver=IEver.substr(0,3); } else { IEver=IEver.substr(0,4); } } return IEver;}This should now check if IE version is 9.10, which it is on my Win8 system. If yes, it uses the svcVersion instead.If not, it checks if the version is "x.x" or "xx.x" to cut it down properly. (If the version value is later on modified by MS, perhaps they just forgot it. ^^)
myselfidem Posted September 14, 2012 Posted September 14, 2012 (edited) ..IE 8 (possibly 7 and lower do not have the "svcVersion" key.Yes, you are right this key doens't exist for IE8 and lower Internet Explorer version.However, testing the suggestion given by Dynaletik, works for me to detect IE8=8.0 or IE9=9.0I can't test with IE10 now.Thanks and regards Edited September 14, 2012 by myselfidem
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now