No OSVer or OSLang recognition (Windows 7 with language pack) OSLang or OSVer empty when windows is installed on the second language
Posted 23 October 2010 - 02:54 PM
After several years of using XPlode, i thought the time had come to try something new. I tried WPI and i really like it, especially the conditions (based on OS Language, bits or Version).
Living in a region with two languages, i made myself a Windows 7 with a second language (de-DE base disk with fr-FR language pack). I did even make an AIO and a unattended installation works flawlesly (with both languages in any Windows version (x86, x64, de or fr)
Now i have the problem that when i install Windows in the second language, WPI does not recognize the OS nor the language. My whole condition system is based on the language and os detection.
I thought it could be a problem of language integration, but it is not (i builded at least three times - with and without changing the default language in lang.ini).
Where does WPI get those infos from ? Is it a file that is missing while installing another language version ?
Does someone have a hint ?
Posted 24 October 2010 - 01:51 PM
Now press Alt+G and click on the My Computer tab to see what your system is reporting back for these values
Posted 25 October 2010 - 12:45 PM
Well i did some futher research with a French DVD and it seems that integrating DE-DE in FR-FR doesn't change anything.
I tried a french system install only, and it's the same. So it seems that WPI doesn't recognize a french install. In alt+g screen OSLANG are OSVER are simply empty or "not found".
I hope that this behavour will be recognized as bug and fixed in the future.
Posted 26 October 2010 - 08:43 AM
So, in your lang.ini file there has to be some way to set the code, but to which, I don't know.
Posted 27 October 2010 - 04:43 AM
Well, to exclude a lang.ini issue, i tried (in virtualbox) the official french untouched version. The situation here was the same - %OSLANG% was empty and %OSver%="Not found". I
I also tried WPI on TWO real/existing french Vista configurations, the Vista version was correctly recognized by OSVer but OSLang was still empty.
As temporary solution, i'm using these parameters :
(getOSlang()=="FRA" || getOSlang()=="") & (getOSver()=="Win7" || getOSver()=="" || getOSver()=="Not found")This seems to work.
It's strange because with the german version, there is no issue.
This post has been edited by Jackrip5: 27 October 2010 - 04:44 AM
Posted 27 October 2010 - 05:21 PM
arrOSLang[i++]=new AddLocal("French - Belgium","FRB","080c"); arrOSLang[i++]=new AddLocal("French - Canada","FRC","0c0c"); arrOSLang[i++]=new AddLocal("French - France","FRA","040c"); arrOSLang[i++]=new AddLocal("French - Luxembourg","FRL","140c"); arrOSLang[i++]=new AddLocal("French - Monaco","FRM","180c"); arrOSLang[i++]=new AddLocal("French - Switzerland","FRS","100c");
- ← WPI and windows 7 addons
- Windows Post-Install Wizard (WPI)
- Preventing windows 7 entering in suspend while running WPI →