Multiple Langauages in Taskbar
Hi Everyone,
Im trying to install the Chinese (PRC) languages in addition to the Aust English, on my test lab Win 7 64bit workstations. Currently the Chinese languages install, however the only input locale that works is Pinyin. I also need QuanPin and ZhengMa.
I have a language pack sccm package which installs the lp.cab and runs a unattend.xml with a customsettings.ini.
Below is the customsettings.ini :
[Settings]
Priority=Default
Properties=MyCustomProperty
[Default]
OSInstall=Y
SkipAppsOnUpgrade=YES
SkipCapture=YES
SkipAdminPassword=NO
SkipProductKey=YES
UserLocale=en-au
KeyboardLocale=en-au;ZH-CN
InputLocalce=0409:00000c09;0415:00000415;0804:e00e0804;0804:e0010804;0804:e0030804
As I said the ZH-CN langauage pack installs along with the Pinyin locale, but none of the others work!!
For your reference, I obtained all the input locals from here -->
http://msdn.microsoft.com/en-us/goglobal/bb895996.aspx
Pinyin = 0804:e00e0804 (installs)
QuanPin = 0804:e0010804 (doesnt install)
ZhengMa = 0804:e0030804 (doesnt install)
I cannot find any direct reference for windows 7 input locals. Maybe thats whats wrong??
Please help!
Thanks
Matt
October 11th, 2010 2:33am
hi,
Have you tried to use the string value instead of hexa value ?
If I am not wrong, the hexa value is used for Windows XP and the string value is used for Vista and later. you can find more information about languageID in the MDT Help file downloadable here : http://www.microsoft.com/downloads/en/details.aspx?FamilyId=3BD8561F-77AC-4400-A0C1-FE871C461A89&displaylang=en
So instead of using the url specfied in your topic, i advice you to use this one which is closer than Windows deployment :
http://msdn.microsoft.com/fr-FR/library/dd373765(VS.85).aspx
So try to change with the string values. For example :
Pinyin = zh-CN
(for the two other, it's a little bit complicated for a fench guy :-) )
Régis
Free Windows Admin Tool Kit Click here and download it now
October 11th, 2010 12:43pm
You could add the languages needed to the image wim file using DISM. (if the are to be set for all users that is).
DISM.exe /Mount-Wim /WimFile:C:\image.wim /index:1 /MountDir:C:\MOUNT
DISM.exe /Image:C:\Mount /Set-InputLocale:en-US
or
DISM.exe /Image:C:\Mount /Set-InputLocale:0409:00000409
DISM.exe /Unmount-Wim /MountDir:C:\Mount /commit
Just an idea..http://kongkuba1.spaces.live.com
October 11th, 2010 1:41pm
Hi Régis,
thanks for the quick reply. There was a typo in the customsettings.ini!
InputLocalce=0409:00000c09 should be
InputLocale=0409:00000c09
So, I will try that first and see what happens. You have shed some light on as to why the pinyin language was installed. Because the KeyboardLocale has ZH-CH in it, it has probably installed the default language which is Pinyin. So HOPEFULLY, when I get
a chance to test it, the input locales will work.
I'll post back the results.
Cheers!
Matt
Free Windows Admin Tool Kit Click here and download it now
October 12th, 2010 11:48am
Thanks Michael. However I want to get to the bottom of it, and install the languages as part of the task sequence.
Cheers,
Matt
October 12th, 2010 11:50am
Ok,
so the typo didn't seem to fix the problem. It seems to ignore the 'InputLocale=' line.
I found this article which is rather outdated now, but maybe still relevant? -->
http://blogs.technet.com/b/benhunter/archive/2007/04/09/bdd-2007-tips-and-tricks-multiple-keyboard-locales.aspx
I changed the value overwrite=true in the ZTIGather.xml file but it made no difference. However I did exclude the SkipLocaleSelection=Yes when i implemented this.
Its still not working. What do you guys think?
Matt
Free Windows Admin Tool Kit Click here and download it now
October 19th, 2010 10:06am
Come to think of it (when you use ZTIConfigure.wsf), you need to define your InputLocale settings as
KeyboardLocale=DA-dk (for danish) as that variable vill then update the InputLocale in the Unattend.xml. Further more the InputLocale entry must be pressent in your Uanttend.xml for ZTIConfigure to work..
<?xml version="1.0"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" language="neutral" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale></InputLocale>
<SystemLocale></SystemLocale>
<UILanguage></UILanguage>
<UserLocale></UserLocale>
<UILanguageFallback></UILanguageFallback>
</component>
</settings>
</unattend>
Michaelhttp://kongkuba1.spaces.live.com
October 19th, 2010 10:20am
Sorry Michael, you've lost me. I am new to sccm ;)
Free Windows Admin Tool Kit Click here and download it now
October 19th, 2010 10:33am
I will write a blog post on this subject over the weekend... but for now, i guess you could just add all the languages to the KeyoardLocale entry in your cutomsettings.ini
Michaelhttp://kongkuba1.spaces.live.com
October 19th, 2010 12:11pm
hi Matt,
Michael advice you to custom the unattend.xml file assiciated to your task sequence.
First, check that a unattend file is associated to your task sequence :
open sscm console navigate up to "Operating system deployment" edit your task sequence go up to "install operating system image" and verify that "use an unattend or syspre file" is checked and a file is specified.
if this option is checked, edit the unattend file specified and add options specified by Michael.
If not, use the following procedure
open "Windows system image manager" on a machine on which the Windows AIK is installed
create a new unattend.xml file, in the catalogue (bottom left) select the operating system image .wim file. this will give you all options possible
in the component pane, navigate up to "Microsoft-Windows-International-Core" right click and select "add to specialize" and "add to oobe". the component is added to your new unattend file.
modify variables specified by Michael. you can also configure default values (for example : inputlocale=0409:00000c09)
save and close the unattend file next always in SCCM, but in the software distribution section, create a new package containing the unattend file. push it on your distribution points
finally, edit your task sequence and navigate up to "Operating system deployment"
check the "use unattend and sysprep file ...". Specify the package previously created and the filename.
try to deploy computer with this task sequence.
I wait and see you feedback :-)
regards,
Régis
Free Windows Admin Tool Kit Click here and download it now
October 19th, 2010 1:12pm
The moderator marked this as the answer but i havent had time to implement it yet! So i will report back. Keep your noses out of it moderators...unless you going to contribute to a solution!!
October 22nd, 2010 12:00pm
No luck Régis. I added all the locales to the keyboardlocale and no success. I checked all of your settings too and they are all there. Everything seems to work ok...except for the fact that the languages quanpin and zhengma are not enabled as keyboards.
I'm starting to think about enabling them via the registry....I'll have to try and track it down.
Any other ideas?
Matt
Free Windows Admin Tool Kit Click here and download it now
October 27th, 2010 12:54am
Just found an interesting article..
http://blogs.msdn.com/b/michkap/archive/2009/09/15/9894707.aspx
I have tested with the new locale..
0804:{E429B25A-E5D3-4D1F-9BE3-0C608477E3A1}{54FC610E-6ABD-4685-9DDD-A130BDF1B170}
but the results are worse...no language at all.
mmmmm
Matt
October 27th, 2010 2:33am
Finally solved this! Thanks to John Flavel @Adexis for solving this.
Here is a good post explaining the situation:
http://blogs.technet.com/b/deploymentguys/archive/2010/01/20/configuring-regional-and-language-settings-online-in-an-mdt-task-sequence.aspx
In a nutshell, create three packages. One with the language pack, customsettings.ini and another with an xml file.
The xml package must have a program that runs the following command:
control.exe intl.cpl,,/f:"name.of.xml.file.xml"
The XML file for your reference:
<!-- Keyboard Language Change -->
- <gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend">
- <!-- User List -->
- <gs:UserList>
<gs:User UserID="Current" CopySettingsToDefaultUserAcct="true" CopySettingsToSystemAcct="true" />
</gs:UserList>
- <!-- input preferences -->
- <gs:InputPreferences>
- <!-- en-US -->
- <!-- <gs:InputLanguageID Action="add" ID="0409:00000409" Default="true"/> -->
- <!-- KO-Korean -->
- <!-- <gs:InputLanguageID Action="add" ID="0412:{A028AE76-01B1-46C2-99C4-ACD9858AE02F}{B5FE1F02-D5F2-4445-9C03-C568F23C99A1}"/> -->
- <!-- CH-Chinese Simplified PinyinIme50 -->
<gs:InputLanguageID Action="add" ID="0804:{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}{F3BA9077-6C7E-11D4-97FA-0080C882687E}" />
- <!-- CH-Chinese Simplified QuanPin -->
<gs:InputLanguageID Action="add" ID="0804:{E429B25A-E5D3-4D1F-9BE3-0C608477E3A1}{54FC610E-6ABD-4685-9DDD-A130BDF1B170}" />
- <!-- CH-Chinese Simplified ZhengMa -->
<gs:InputLanguageID Action="add" ID="0804:{E429B25A-E5D3-4D1F-9BE3-0C608477E3A1}{733B4D81-3BC3-4132-B91A-E9CDD5E2BFC9}" />
</gs:InputPreferences>
</gs:GlobalizationServices>
The customsettings.ini has the following:
[Settings]
Priority=Default
Properties=MyCustomProperty
[Default]
OSInstall=Y
SkipAppsOnUpgrade=YES
SkipCapture=YES
SkipAdminPassword=NO
SkipProductKey=YES
UserLocale=en-au
KeyboardLocale=en-au;ZH-CN
I hope this helps people, because this was a curly one!
Matt
Free Windows Admin Tool Kit Click here and download it now
November 3rd, 2010 7:48am