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)