myselfidem Posted August 10, 2012 Share Posted August 10, 2012 (edited) Tested using the fix you gave inside core.js and installer.js , but the result using Oracle VM VirtualBox is the same.WPI_Log.txtFichier journal de l'installation WPIDébut de l'installation: vendredi 10 août 2012 13:57:17Information WPI: Version=8.5.4 Exécutable utilisé=true Version d'Internet Explorer=9.0 Connexion Internet=falseSystème d'exploitation Système d'exploitation=Not found ID Edition=Not found Service Pack=1Regards Edited August 10, 2012 by myselfidem Link to comment Share on other sites More sharing options...
myselfidem Posted August 10, 2012 Share Posted August 10, 2012 and in wpi.hta and core.js it'sif (getOSver()=="XP" || getOSver()=="Vista" || getOSver()=="Win7" || || getOSver()=="Win8")When I made this changes there is errors, but not using: (using only one ||)if (getOSver()=="XP" || getOSver()=="Vista" || getOSver()=="Win7" || getOSver()=="Win8")Regards Link to comment Share on other sites More sharing options...
Francesco Posted August 11, 2012 Author Share Posted August 11, 2012 (edited) The strings for windows server 2012 (and 2008R2) are missing among with all the server 2012 and win8 editions. Also there isn't any exposed function to use the edition in conditions (should be getOSeditionID). Edited August 11, 2012 by Francesco Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 11, 2012 Share Posted August 11, 2012 Its partial left over code from mritters days. Link to comment Share on other sites More sharing options...
myselfidem Posted August 21, 2012 Share Posted August 21, 2012 I see there is no more WinVer.vbsHere it is.WinVer.rar Link to comment Share on other sites More sharing options...
myselfidem Posted August 28, 2012 Share Posted August 28, 2012 (edited) WFM:Operating System Operating System=Win7 Edition ID=Not found Service Pack=1Architecture Architecture Name=AuthenticAMD Architecture Name String=AMD Phenom™ II X6 1100T Processor Architecture ID=AMD64 Family 16 Model 10 Stepping 0 Number Of Processors=6 MHz=3300 Architecture Type=AMD64 SysArch6432=NOT_DEFINED Architecture Bits=64 True 64 Bits=trueTo obtain EditionID (Is CurrentBuildNumber, isn't it?), I made some changes inside: wmi.js (adding at first)function getOSeditionID(){ position="wmi.js"; whatfunc="getOSeditionID()"; try { return WshShell.RegRead("HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\CurrentBuildNumber"); } catch(ex1) { } return NOT_FOUND; Adding also inside: information.jsConditionsGrid.addRow(gId++,'getOSeditionID()=="'+getOSeditionID()+'"');Works fine for me:WPI_Log.txtFichier journal de l'installation WPIDébut de l'installation: mardi 28 août 2012 19:27:30Information WPI: Version=8.5.8 Exécutable utilisé=true Version d'Internet Explorer=9.0 Connexion Internet=trueSystème d'exploitation Système d'exploitation=Windows 7 Ultimate Version du Système d'exploitation=6.1 ID Edition=7601 Service Pack=1Ragards Edited August 28, 2012 by myselfidem Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 30, 2012 Share Posted August 30, 2012 WFM:Operating System Operating System=Win7 Edition ID=Not found Service Pack=1Architecture Architecture Name=AuthenticAMD Architecture Name String=AMD Phenom™ II X6 1100T Processor Architecture ID=AMD64 Family 16 Model 10 Stepping 0 Number Of Processors=6 MHz=3300 Architecture Type=AMD64 SysArch6432=NOT_DEFINED Architecture Bits=64 True 64 Bits=trueTo obtain EditionID (Is CurrentBuildNumber, isn't it?), I made some changes inside: wmi.js (adding at first)function getOSeditionID(){position="wmi.js";whatfunc="getOSeditionID()"; try{ return WshShell.RegRead("HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\CurrentBuildNumber");}catch(ex1) { } return NOT_FOUND; Adding also inside: information.jsConditionsGrid.addRow(gId++,'getOSeditionID()=="'+getOSeditionID()+'"');Works fine for me:WPI_Log.txtFichier journal de l'installation WPIDébut de l'installation: mardi 28 août 2012 19:27:30Information WPI: Version=8.5.8 Exécutable utilisé=true Version d'Internet Explorer=9.0 Connexion Internet=trueSystème d'exploitation Système d'exploitation=Windows 7 Ultimate Version du Système d'exploitation=6.1 ID Edition=7601 Service Pack=1RagardsCLOSE but not quite: WPI information: Version=8.6.0 Used launcher=true Internet Explorer version=8.0 Internet Connection=trueOperating System Operating System Version=6.1 Operating System=Win7 OS Current Build=7601 Edition ID=Ultimate Edition Service Pack=1See what I have manged to do there? (You put me on the right track though!) Link to comment Share on other sites More sharing options...
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