Friez (20th November 2009)
Anyone have any ideas on what should be thrown into the answer file for any of the following:
* Adding Japanese or Chinese IME as a keyboard language option, the default keyboards don't cut it.
* Removal of EN-US as a keyboard language option (it installs it regardless of what you specify it seems!)

This link -> ANSI Code Page for Windows System Locale with Identifier Constants and Strings - WhyGoSoFar??? - CSDN?? has a large list of codes so may help you out
Does Win7 require an additional Language Pack (IME?) to be installed?
I don't think it needs a language pack as such.
If I manually install Japanese IME then it works a treat, but of course I want this to be available straight after a sysprep. Installing a Japanese keyboard (default) doesn't really enable you to type Japanese symbiology (it's essentially a US keyboard), it's the input method that really enables this functionality.
Here's the keyboards we install (straight from the answer file):
<InputLocale>0809:00000809;0401:00000401;0411:00000411;0419:00000419;0804:00000804;0415:00000415</InputLocale>
English (GB)
Arabic
Japanese
Russian
Chinese (Simplified)
Polish (Programmers)
Now, in the case of English, Arabic, Russian and Polish, the keyboards have a 1:1 mapping. That is, if you press the Ж Key, you'll get the Ж Character. No problem here, pretty easy.
But with Japanese and Chinese, there's over 60,000 characters, the keyboards themselves use an input method to translate between the sound/reading of the word into the relevant character.
But it seems to me that Windows 7 Sysprep doesn't support the installation of these input methods, just the base keyboards themselves, here lies my problem.
(And yeah, we have a few foreign language keyboards here!)
As for the EN-US thing, you'll see I don't even have US keyboard listed there, Windows 7 "helpfully" adds it right on for us. There's no US keyboards in the school.
However, these are set like so:
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
This might have some weird knock-on effect that additionally adds the US keyboard layout.
But having read the docs en-US seems like the only sensible option (lest we have our interface in Japanese!)
Last edited by Friez; 20th November 2009 at 01:19 PM.
I think you can specify en-GB for the locale (but, as ever, I can't find anything on the MS web site to confirm this)
Sorry I can't help with the rest of it; only just managed to get Chinese working in XP!
Friez (20th November 2009)

Hmm. - i think the old XP format of 0809:00000809 (UK English) is not compatible with Vista and above - it has to be in the en-GB format...
I have attached my XML file (sorry no Fancy IME's though) for reference
I have noticed you are missing an XML tag though:
Which sets the keyboard language i beleive..Code:<InputLocale>xx-yy</InputLocale>
Friez (20th November 2009)
Infact, typing en-gb on my InputLocale seemed to not work at all (it TANKED the machine -- fresh W7 reinstall was required). The docs seem to strongly indicate use of the hex codes. I will try changing to some of the others to en-gb, but I suspect I will turn up with problems (as it is likely such a language pack doesn't exist in W7).
As an aside, your ZIP seems corrupted? Thanks for the help anyhow!

Not sure what happened with the zip but this is the main bit that I have in mine..
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>en-gb</InputLocale>
<SystemLocale>en-gb</SystemLocale>
<UILanguage>en-gb</UILanguage>
<UserLocale>en-gb</UserLocale>
</component>
All I can think is that its to do with an IME
Not sure why en-GB would cripple the install
Are you using the WAIK to edit the XML file?
Yeah, I am.
The sysprep does work if I use the config above, its just got some annoying quirks.
It seems that en-GB is an underdocumented feature (non-documented?).
This is how my languages sysprep section looks:
However, input locale still uses the hex format. This gets rid of en-us and still retains all the aforementioned languages (and doesn't tank the machine). But still no IME yet! Still, some progress at leastCode:<InputLocale>0809:00000809;0401:00000401;0411:00000411;0419:00000419;0804:00000804;0415:00000415</InputLocale> <SystemLocale>en-GB</SystemLocale> <UILanguage>en-GB</UILanguage> <UserLocale>en-GB</UserLocale>
I wonder if theres an un-documented hex for the imes or something? I'll try ja-JP and hope things don't fall over!
Update
Well how crazy is that?
Doing
Seems to work for Japanese IME but not Chinese :SCode:<InputLocale>0809:00000809;0401:00000401;ja-JP;0419:00000419;zh-CN;0415:00000415</InputLocale> <SystemLocale>en-GB</SystemLocale> <UILanguage>en-GB</UILanguage> <UserLocale>en-GB</UserLocale>
Last edited by Friez; 20th November 2009 at 02:40 PM.

I love how MS change the format but dont provide an adequate list of the new formats!!
Same goes for the TimeZone's
Aye, tis true. What the documents DO lack though are how to get IME's installed as standard, although you can sorta do it with Japanese (and I suspect Hong Kong IME too) no Chinese Simplified IME for me yet though...
There are currently 1 users browsing this thread. (0 members and 1 guests)