Sign in to follow this  
Followers 0
condor

WPI v8.7.2-v8.7.3 Windows 10 support-modded

10 posts in this topic

 

If someone want to test wpi on windows 10...here what you need to edit:

installer.js from WPIScripts, line 1400, replace with

   if (getOSver() == "Win7" || getOSver() == "Win8" || getOSver() == "Win8.1" || getOSver() == "Win10")

 

core.js, line 583, replace with

 

   if (getOSver() == "XP" || getOSver() == "Vista" || getOSver() == "Win7" || getOSver() == "Win8" || getOSver() == "Win8.1" || getOSver() == "Win10")

wmi.js

line 71, add this

        if      (Caption.indexOf("10")    != -1) { szOSVerCache = "Win10";  szEditionIDCache = getOSsku(OSSKU); }



and change

        if      (Caption.indexOf("8.1")    != -1) { szOSVerCache = "Win8.1";  szEditionIDCache = getOSsku(OSSKU); }

to

        else if (Caption.indexOf("8.1")   != -1) { szOSVerCache = "Win8.1"; szEditionIDCache = getOSsku(OSSKU); } 

configwizard.js

line 779, replace with

    HandleCommandsSelectionMenu("{OS=Win10 || Win8.1 || Win8 || Win7 || Vista || XP || 2K} "); 

 

Tips:

Because of the same OSSKU with another windows WPI will show Edition ID (Information-->My Computer) as:

- Pro Edition for Windows 10 PRO  (OSSKU 48)
- 8 Core Edition for Windows 10 Home (OSSKU 101)

Edited by condor
added v8.7.3
1

Share this post


Link to post
Share on other sites

Thank you, if these are verified by a couple of other win 10 users i'll add them in.

0

Share this post


Link to post
Share on other sites

Not working for me I dont have a line 779 in configwizard.js

0

Share this post


Link to post
Share on other sites

work fine...

in configwizardjs find this  Win8.1 || Win8 || Win7 || Vista || XP || 2K} and after insert new line HandleCommandsSelectionMenu("{OS=Win10 || Win8.1 || Win8 || Win7 || Vista || XP || 2K} ");

0

Share this post


Link to post
Share on other sites
On 9/20/2016 at 9:27 AM, krikkedk said:

Not working for me I dont have a line 779 in configwizard.js

Check again......

configwizard.png

0

Share this post


Link to post
Share on other sites

can someone please tell me step by step how to make WPI useable for windows 10 please? I treid but thin i am doing it wrong? Please verify what file u mod and using what?

0

Share this post


Link to post
Share on other sites

The information is all in this thread. Granted, yes the info is for v8.7.2 not 8.7.3 but if you follow and read whats there and use your eyes to look for a line if the line number isn't right you'll get it.

Your hand can only be held so much and remember WPI does not officially and will not officially support win 10.

0

Share this post


Link to post
Share on other sites

Unofficial WPI v8.7.2 with Windows 10 support

Download

- I added the above changes
- this line:

if      (Caption.indexOf("10")    != -1) { szOSVerCache = "Win10";  szEditionIDCache = getOSsku(OSSKU); }


was changed to:

if      (Caption.indexOf("10")    != -1) { szOSVerCache = "Win10";  szEditionIDCache = getXOSsku(OSSKU); }


- added new function to show correctly ID Caption for Windows 10.

Spoiler

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

   var OSSKU = "Not found";

   switch (sku)
   {
      case 0 :
         OSSKU = "Not found";
         break;

      case 4 :
         OSSKU = "Windows 10 Enterprise";
         break;

      case 27 :
         OSSKU = "Windows 10 Enterprise N";
         break;

      case 48 :
         OSSKU = "Windows 10 Pro";
         break;

      case 49 :
         OSSKU = "Windows 10 Pro N";
         break;

      case 98 :
         OSSKU = "Windows 10 Home N";
         break;

      case 100 :
         OSSKU = "Windows 10 Home Single Language";
         break;

      case 101 :
         OSSKU = "Windows 10 Home";
         break;

      case 121 :
         OSSKU = "Windows 10 Education";
         break;

      case 122 :
         OSSKU = "Windows 10 Education N";
         break;

      case 125 :
         OSSKU = "Windows 10 Enterprise 2016 LTSB";
         break;

      case 126 :
         OSSKU = "Windows 10 Enterprise N 2016 LTSB";
         break;         

   }

   return OSSKU;
}


PS:

- if @Kelsenellenelvian don`t want this modified version here, a mod can delete this post.
- happy testing.

0

Share this post


Link to post
Share on other sites
On 12/22/2016 at 9:26 AM, condor said:

Unofficial WPI v8.7.2 with Windows 10 support

Download

- I added the above changes
- this line:


if      (Caption.indexOf("10")    != -1) { szOSVerCache = "Win10";  szEditionIDCache = getOSsku(OSSKU); }


was changed to:


if      (Caption.indexOf("10")    != -1) { szOSVerCache = "Win10";  szEditionIDCache = getXOSsku(OSSKU); }


- added new function to show correctly ID Caption for Windows 10.

  Reveal hidden contents

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

   var OSSKU = "Not found";

   switch (sku)
   {
      case 0 :
         OSSKU = "Not found";
         break;

      case 4 :
         OSSKU = "Windows 10 Enterprise";
         break;

      case 27 :
         OSSKU = "Windows 10 Enterprise N";
         break;

      case 48 :
         OSSKU = "Windows 10 Pro";
         break;

      case 49 :
         OSSKU = "Windows 10 Pro N";
         break;

      case 98 :
         OSSKU = "Windows 10 Home N";
         break;

      case 100 :
         OSSKU = "Windows 10 Home Single Language";
         break;

      case 101 :
         OSSKU = "Windows 10 Home";
         break;

      case 121 :
         OSSKU = "Windows 10 Education";
         break;

      case 122 :
         OSSKU = "Windows 10 Education N";
         break;

      case 125 :
         OSSKU = "Windows 10 Enterprise 2016 LTSB";
         break;

      case 126 :
         OSSKU = "Windows 10 Enterprise N 2016 LTSB";
         break;         

   }

   return OSSKU;
}


PS:

- if @Kelsenellenelvian don`t want this modified version here, a mod can delete this post.
- happy testing.

The only request I have is that you post a modded version of 8.7.3 also please.

0

Share this post


Link to post
Share on other sites

I modded 8.7.2, because when I test to install some apps using 8.7.3 (on Win7) I waited too much, so I return to 8.7.2 :)

On 8.7.3 are only 3 files to do changes:  configwizard.js (line 779), core.js (line 582), wmi.js (line 72)

Download 8.7.3

0

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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.