Jump to content

Dynaletik

Member
  • Posts

    668
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Germany

Posts posted by Dynaletik

  1. 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. ^^)

  2. Here are the wmi.js changes for recognition of Windows 8 & Internet Explorer 10 that we discussed in the AntiVirus thread:

    Line 53, Change

    if (Caption.indexOf("Windows 8") != -1)

    into

    if (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

  3. 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?

  4. Yes like I wrote you via PM, it is 48. I put it into my wmi.js now and it works:

    		case 48:
    OSSKU="Pro";
    break;

    But I do not know how to determine the other editions. I just deleted the free Enterprise installer when I got Win 8 Pro. :)

    EDIT: FYI, the Version of IE gets detected wrong, because the "Version" string it looks for holds the wrong Information, the reg key looks like in the pic

    post-31388-0-30175100-1347536636_thumb.j

  5. Perhaps split those Posts from the AntiVir thread and make a separate thread for it.

    I changed my getOSeditionID() like follows:

    			if (szOSVerCache=="Win8")
    if (Caption.indexOf("Microsoft Windows 8") != -1)
    szEditionIDCache="Standard";
    if (Caption.indexOf("Microsoft Windows 8 Enterprise") != -1)
    szEditionIDCache="Enterprise";
    if (Caption.indexOf("Microsoft Windows 8 Pro") != -1)
    szEditionIDCache="Pro";
    if (Caption.indexOf("Microsoft Windows RT") != -1)
    szEditionIDCache="RT";

    Works for testing purposes, but there should be a better way using SKU. I even can only test Windows 8 Pro, as my university only gave me that license. And the "normal" version just does not have an Edition ID, it is just called Windows 8 I guess.

  6. This is not a WPI related problem and should be covered here.

    Unfortunately not many seem to silent install Nero 11. I for myself still stick with my Nero 7 Lite installer I created years ago. It has all the stuff I need, the new Nero just blows up everything. :D

    Anyways, I would most likely try to solve this with an AutoIt script, as there will be no switch to select certain components.

  7. Hey guys.

    I just completed my Autounattend.xml for Windows 8 Pro so far with one exception: The account creation.

    I think it is easily possible to insert a local offline account into the .xml file like I did it for Windows 7.

    But is it also possible to insert a online Microsoft-Account with it's password that then automatically fetches the required user settings from the Microsoft server?

    Perhaps someone already figured that out. :)

    Thanks in advance.

×
×
  • Create New...