myselfidem Posted August 31, 2012 Share Posted August 31, 2012 Could you please update the downloading web site with the new WPI_v8.6.0 ?http://www.wpiw.net/Thanks and Regards Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted August 31, 2012 Author Share Posted August 31, 2012 Now That it's been out for awhile I wll tonight Link to comment Share on other sites More sharing options...
myselfidem Posted August 31, 2012 Share Posted August 31, 2012 (edited) Many thanks. I see that WPI_v8.6.0 is a stable release, even if with some localized version we can't have OSver, OSeditionID, OSlang, and OSlocale working, using Windows 7.It seems the three letters code not working with French and other language.I don't know if that can help:Building a Localized Platform in Microsoft Windows CE Platform Builder 3.0Locale Code Table Platform Builder supports all locales that are marked with an ampersand (&). For historical reasons, all locale names marked with an asterisk (*) do not use the standard three-letter naming convention. Use the locale directory to set the COUNTRY environment variable for a localized build of the OS. The following table shows the worldwide locales.Regards*Edit: However with Windows XP, OSver is found ! Edited August 31, 2012 by myselfidem Link to comment Share on other sites More sharing options...
myselfidem Posted August 31, 2012 Share Posted August 31, 2012 (edited) Solved = about OSver and OSeditionID works fine for me with french localized Windows 7 version changing inside wmi.jsfunction getOSver() { position="wmi.js"; whatfunc="getOSver()"; if (szOSVerCache==NOT_FOUND) // this function is called often - get it once and cache the result { try { objWMIService=GetObject("winmgmts:\\\\" + "." + "\\root\\CIMV2"); colItems=objWMIService.ExecQuery("SELECT * FROM Win32_OperatingSystem", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); enumItems=new Enumerator(colItems); objItem=enumItems.item(); var Caption=objItem.Caption; if (Caption.indexOf("8") != -1) szOSVerCache="Win8"; if (Caption.indexOf("7") != -1) szOSVerCache="Win7"; if (Caption.indexOf("2008") != -1) szOSVerCache="08"; if (Caption.indexOf("Vista") != -1) szOSVerCache="Vista"; if (Caption.indexOf("2003") != -1) szOSVerCache="03"; if (Caption.indexOf("XP") != -1) szOSVerCache="XP"; if (Caption.indexOf("2000") != -1) szOSVerCache="2K"; } catch(ex) { } } return szOSVerCache; }Adding also inside wmi.jsfunction getOSeditionID(){ position="wmi.js"; whatfunc="getOSeditionID()"; var Caption, OSSKU; if (szEditionIDCache==NOT_FOUND) // this function is called often - get it once and cache the result { try { objWMIService=GetObject("winmgmts:\\\\" + "." + "\\root\\CIMV2"); colItems=objWMIService.ExecQuery("SELECT * FROM Win32_OperatingSystem", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); enumItems=new Enumerator(colItems); objItem=enumItems.item(); Caption=objItem.Caption; OSSKU=objItem.OperatingSystemSKU; if (szOSVerCache=="Win8") szEditionIDCache=getOSsku(OSSKU);WPI_Log.txtFichier journal de l'installation WPIDébut de l'installation: vendredi 31 août 2012 10:40:05Information WPI: Version=8.6.0 Exécutable utilisé=true Version d'Internet Explorer=9.0 Connexion Internet=trueSystème d'exploitation Système d'exploitation=Win7 ID Edition=Ultimate Edition Version du Système d'exploitation=6.1 Version actuelle=7601 Service Pack=1Regards Edited August 31, 2012 by myselfidem Link to comment Share on other sites More sharing options...
myselfidem Posted August 31, 2012 Share Posted August 31, 2012 (edited) Solved = About OSlang and OSlocale FRA (French)I made some changes inside core.js, like this:Replace at line 329:var hD="0123456789ABCDEF";With:var hD="0123456789abcdef";Even if my keyboard is CH (Switzerland 100c) the Windows 7 language is fr-FR and all values are shown inside information window!I have also tried to change inside core.js this line and works fine:// %OSLANG% var Enum, DtoH; CreateLocalArray(); try { objWMIService=GetObject("winmgmts:\\\\" + "." + "[url="file://\\root\\CIMV2"]\\root\\CIMV2[/url]"); colItems=objWMIService.ExecQuery("SELECT * FROM Win32_OperatingSystem", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); enumItems=new Enumerator(colItems); for (; !enumItems.atEnd(); enumItems.moveNext()) objItem=enumItems.item(); OSLanguage=objItem.OSLanguage; // OSLanguage=1033, 1036, .... try { var Enum=objItem.OSLanguage; } catch(ex2) { Enum=1033; } DtoH=DecToHex(Enum); while (DtoH.length<4) DtoH="0" + DtoH+""; for (var x=0; x<arrOSLang.length; x++) { if (arrOSLang[x].LCID==DtoH) { oslang=arrOSLang[x].TLA; oslocale=arrOSLang[x].Locale; break; } } } catch(ex) { oslang="ENU"; oslocale="English - United States"; } // Environment variable for batch file setEnvVar("HDD",hdd,false); setEnvVar("CDDRV",cddrv,false); setEnvVar("WPIPATH",wpipath,false); setEnvVar("ROOT",root,false); setEnvVar("OSLANG",oslang,false); setEnvVar("OSLOCALE",oslocale,false);}WPI_Log.txtFichier journal de l'installation WPIDébut de l'installation: vendredi 31 août 2012 23:39:12Information WPI: Version=8.6.0 Exécutable utilisé=true Version d'Internet Explorer=9.0 Connexion Internet=trueSystème d'exploitation Système d'exploitation=Win7 ID Edition=Ultimate Edition Version du Système=6.1 Version actuelle=7601 Service Pack=1Architecture Nom de l'Architecture=GenuineIntel Chaîne du Nom de l'Architecture=Intel(R) Pentium(R) 4 CPU 3.00GHz ID Architecture=x86 Family 15 Model 4 Stepping 1 Nombre de Processeurs=2 MHz=3000 Type d'Architecture=x86 Bits Architecture=32 Fichier Configuration=C:\WPI_v8.6.0\UserFiles\config.js Fichier Options=C:\WPI_v8.6.0\UserFiles\useroptions.js Fichier Réseau=C:\WPI_v8.6.0\UserFiles\networkoptions.js Fichier Thème=C:\WPI_v8.6.0\UserFiles\themeoptions.js Fichier Options Fenêtre=C:\WPI_v8.6.0\UserFiles\windowoptions.js// Window tab Resolution=1024 MainWindowWidth=800 MainWindowHeight=600 MainWindowX=-1 MainWindowY=-1 InstallerWindowX=25 InstallerWindowY=25// General tab NumCols=1 // --- Timer=true Seconds=59 StartBeepAtSecs=10 // --- Language='fr' // --- DefaultInstallPath='default' CustomInstallPath=[''] // --- AbortInstallIfFailure=false ExecuteCommandIfFailure=[''] ContinueWhereFailed=false// Features tab ShowDownloadOutput=false DisableInstallCombobox=false ShowExtraButtons=true DoNotShowIfCD=true USSFSilentMode=false VerifyInstallHDD=false AllowCheckForInternet=false LoadDesktopBeforeInstall=false ReOpenAfterInstall=false DisableCatCheckBoxes=false SortWithinCats=false DisableOnDepsNotMet=false AlwaysUseScrollBar=false DontSplitCats=false InstallByCategory=false ReallyForce=false DisableIfDoGray=false InstallFonts=true ShowCommandInInstaller=false ShowInstallerImages=true AlwaysShowOutputWindow=false EjectCDWhenDone=false DoNotShowIfUSB=true DisableHotKeys=false MaintainAutoLogonCount=false// Tools tab MonitorResolution=0 MonitorDepth=0 MonitorRefresh=0 // --- ExecuteBeforeEnabled=false ExecuteBeforebit64=false ExecuteBefore=[''] ExecuteAfterEnabled=false ExecuteAfterbit64=false ExecuteAfter=[''] // --- RestartComputer=false RestartType=0 RestartSeconds=30 DoNotLoadDesktop=true // --- LogInstallation=true LogPath=['"%systemdrive%\WPI_Log.txt"']; TimeStampLogFile=false// Audio tab PlayAudioInInstaller=true InstallAudio=['Galaga.mp3,Kalimba.mp3,Galaga.mid,Zelda.mid'] Volume=75 Shuffle=true CopyAudioFolder=true CopyAudioPath=['C:\WPI_Audio'] DeleteAudioFolder=true// Sounds tab SndWPIStartCB=true SndWPIStart=['"%wpipath%\Audio\SoundsScheme\Alert.wav"']; SndInstallStartCB=false SndInstallStart=['"%wpipath%\Audio\SoundsScheme\AtBeginning.wav"']; SndInstallSuccessCB=false SndInstallSuccess=['"%wpipath%\Audio\SoundsScheme\Yes.wav"']; SndInstallFailCB=false SndInstallFail=['"%wpipath%\Audio\SoundsScheme\No.wav"']; SndInstallFinishCB=false SndInstallFinish=['"%wpipath%\Audio\SoundsScheme\AtEnd.wav"'];// Style tab Theme='Win7' Skin='SkyBlue' BgPicture='Wallpaper.jpg' // --- LayoutStyle=1 // --- ShowToolTips=falseVariables Globales: %OSLANG%=FRA %WPIPATH%=C:\WPI_v8.6.0 %ROOT%=C: %CDROM%= %USB%= %DOSPATH%= %SYSTEMDRIVE%=C: %WINDIR%=C:\Windows %PROGRAMFILES%=C:\Program Files %TEMP%=C:\Users\Antoine\AppData\Local\Temp %SYSDIR%=C:\Windows\System32 %ALLUSERSPROFILE%=C:\ProgramData %USERPROFILE%=C:\Users\Antoine %APPDATA%=C:\Users\Antoine\AppData\Roaming %COMMONPROGRAMFILES%=C:\Program Files\Common FilesListe des programmes à installer: Copie du dossier audio sur le disque dur VLC Suppression du dossier audio sur le disque dur3 Eléments, 3 Commandes-----vendredi 31 août 2012 23:39:14 Programme: Copie du dossier audio sur le disque dur ID unique: COPY_AUDIO_TO_HD Ordre: 0 Catégorie: WPI Built In vendredi 31 août 2012 23:39:14 - cmd1 Succès (Code de retour 0): CMD /C XCOPY C:\WPI_v8.6.0\Audio C:\WPI_Audio /C /I /E /Y /H /R vendredi 31 août 2012 23:39:15 - Installation terminée.-----vendredi 31 août 2012 23:39:15 Programme: VLC ID unique: VLC Ordre: 000001 Catégorie: Applications vendredi 31 août 2012 23:39:32 - cmd1 Succès (Code de retour 0): "C:\WPI_v8.6.0\Install\vlc-2.0.3-win32.exe" /S vendredi 31 août 2012 23:39:33 - Installation terminée.-----vendredi 31 août 2012 23:39:35 Programme: Suppression du dossier audio sur le disque dur ID unique: DELETE_AUDIO_FROM_HD Ordre: 0 Catégorie: WPI Built In vendredi 31 août 2012 23:39:36 - cmd1 Succès (Code de retour 0): CMD /C RMDIR /S /Q "C:\WPI_Audio" vendredi 31 août 2012 23:39:36 - Installation terminée.-----Nombre d'installations échouées: 0Installation terminée: vendredi 31 août 2012 23:39:36Regards Edited September 2, 2012 by myselfidem Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted September 1, 2012 Author Share Posted September 1, 2012 v8.6.0 Updates - Released September 1st, 2012====================================================*** Fixed some localizations not getting fully utilized.*** Get Firewall product now shows current information.*** Get Antivirus product now shows current information.*** Added Windows and Theme file location into the log.*** Fixed Get Edition ID.*** Added OS Current Build to log.*** More lines at the bottom of the lang_en file.*** Removed some redundant code. (Skins file???)Has gone up at the website also and is a release of official record now.(myselfidem = I made the 2 minor changes you suggested in there too, I just didn't change the v#) Link to comment Share on other sites More sharing options...
ZEUS__ Posted September 1, 2012 Share Posted September 1, 2012 here is lang file for WPI 8.6.0lang_tr.js Link to comment Share on other sites More sharing options...
myselfidem Posted September 1, 2012 Share Posted September 1, 2012 (edited) (myselfidem = I made the 2 minor changes you suggested in there too, I just didn't change the v#)Many thanks!I changed only few words for french language. Here is the new lang_fr.jsKeep your good work !Regards*Edit: lang file given Edited September 13, 2012 by myselfidem Link to comment Share on other sites More sharing options...
alfreire Posted September 2, 2012 Share Posted September 2, 2012 Thanks by new update... Regards... ;-) 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