GAT Posted October 15, 2004 Share Posted October 15, 2004 Is there a way to automatically (during unattended installation) to automatically add new keyboard layouts?I'm wanting to add specifically the English (United States) United States-Dvorak and the Spanish (Mexico) United States-International layouts.I would also prefer that language bar be turned off.Any help would be appreciated,Thanks, GAT Link to comment Share on other sites More sharing options...
GAT Posted October 15, 2004 Author Share Posted October 15, 2004 Anyone know of a way to do this? Link to comment Share on other sites More sharing options...
ramik Posted October 15, 2004 Share Posted October 15, 2004 yes there is, check the section "[RegionalSettings]" in the ref.chm manual.it should be InputLocale=language codescomplete code list is here:http://www.microsoft.com/globaldev/referen...xp/xp-lcid.mspx Link to comment Share on other sites More sharing options...
Rodolfo Posted October 15, 2004 Share Posted October 15, 2004 What about turning the language bar off by default? Link to comment Share on other sites More sharing options...
Vel Straty Posted October 22, 2004 Share Posted October 22, 2004 I've the same problem. Well, to be specific, I want to add the Japanese Keyboard layout to my English WinXP unattended installation. For the winnt.sif, I've added the following and the registry settings [RegionalSettings] LanguageGroup="7" SystemLocale="00000411" UserLocale="00000411" InputLocale="0411:e0010411"411 -> stands for Japanese stuff.Anyway, I did the install but the keyboard layout was for the general 101 keyboard layout.I looked inside the keyboard drivers from the control panel and found out that the Japanese Windows XP had the following drivers installed.c:\windows\system32\drivers\i8042prt.sysc:\windows\system32\drivers\kdbclass.sysc:\windows\system32\kbd101.dllc:\windows\system32\kdbjpn.dlland the unattended English Windows only has the followingc:\windows\system32\drivers\i8042prt.sysc:\windows\system32\drivers\kdbclass.sysThe question is, how can I add the following two DLLs to the unattended installation of English WinXP?c:\windows\system32\kbd101.dllc:\windows\system32\kdbjpn.dll Link to comment Share on other sites More sharing options...
moo Posted October 22, 2004 Share Posted October 22, 2004 Well, you can do this like that1.create folder system32 and put in into $$ folder on your CD2.copy files that you need to system32 folder that you created3.register these files.(cmd file)regsvr32 /s %systemroot%\system32\your file namegood luckmoo Link to comment Share on other sites More sharing options...
Vel Straty Posted October 23, 2004 Share Posted October 23, 2004 Thank you moo!I'll try that! Link to comment Share on other sites More sharing options...
Vel Straty Posted October 23, 2004 Share Posted October 23, 2004 @mooTested but no good with regsvr32...Maybe I need a reg file to get it to work.I'll report back when it all works.A long night begins Link to comment Share on other sites More sharing options...
Vel Straty Posted October 24, 2004 Share Posted October 24, 2004 Thanks for who helped Things turned out that it was an easy thing to do after all.If someone else wants to add any foreign keyboards, i.e. 106 keys, instead of the normal 101 keyboard, all one has to do is to export the registry settings BEFORE you make the changes from the control panel -> keyboard -> update driver and then export the registry setting and compare them. The result is the registry settings that needs to be added at the unattended install part.The following is the .reg for the 101 keyboard to the 106 JPN style keyboard setting if anyone wil want to use it. Doing the same thing stated above can make the reg settings for your desired keyboard.Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318}\0000]"DriverDesc"="Japanese PS/2 Keyboard (106/109 Key)""InfSection"="106_TYPE_Inst""MatchingDeviceId"="*pnp0320"[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\ACPI\PNP0303\4&5289e18&0]"DeviceDesc"="Japanese PS/2 Keyboard (106/109 Key)"[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\i8042prt\Parameters]"LayerDriver JPN"="kbd106.dll""LayerDriver KOR"="kbd101a.dll""OverrideKeyboardIdentifier"="PCAT_106KEY""OverrideKeyboardSubtype"=dword:00000002"OverrideKeyboardType"=dword:00000007[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318}\0000]"DriverDesc"="Japanese PS/2 Keyboard (106/109 Key)""InfSection"="106_TYPE_Inst""MatchingDeviceId"="*pnp0320"[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\ACPI\PNP0303\4&5289e18&0]"DeviceDesc"="Japanese PS/2 Keyboard (106/109 Key)"[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters]"LayerDriver JPN"="kbd106.dll""LayerDriver KOR"="kbd101a.dll""OverrideKeyboardIdentifier"="PCAT_106KEY""OverrideKeyboardSubtype"=dword:00000002"OverrideKeyboardType"=dword:00000007The reg file is called from the cmdlines.txt as keyboard_JPN.regSTART /wait regedit /S %systemdrive%\install\intl_JPN.regSTART /wait regsvr32 /S %systemroot%\system32\kbdjpn.dllSTART /wait regsvr32 /S %systemroot%\system32\kbd101.dllSTART /wait regedit /S %systemdrive%\install\keyboard_JPN.regAnd also, I did the regsvr32 for the kbdjpn.dll and the kbd101.dll incase the system needs it. (Just didn't test it w/o the regsvr32 stuffs(the to lines)). 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