Venator Posted August 13, 2004 Share Posted August 13, 2004 Hi everybodyI would require a reg snippet to change the layout of my keyboard from English to Italian to include in my unattended Windows XP SP2 CD.Do you have any, please?_BIG_ thanks to anyone.ByeVenator B) Link to comment Share on other sites More sharing options...
Denney Posted August 13, 2004 Share Posted August 13, 2004 This is my "regional.inf" file, it removes the English(US) keyboard layout and adds the English(Australia) one:[Version]Signature = "$Windows NT$"[DefaultInstall]DelReg = Regional.DelRegAddReg = Regional.AddReg[Regional.DelReg]HKCU,"Keyboard Layout"; Removes all current keyboard layouts.[Regional.AddReg]; Add Australian regional settings.HKCU,%INat%,iCountry,%REG_SZ%,"61"HKCU,%INat%,iCurrDigits,%REG_SZ%,"2"HKCU,%INat%,iCurrency,%REG_SZ%,"0"HKCU,%INat%,iDate,%REG_SZ%,"1"HKCU,%INat%,iDigits,%REG_SZ%,"2"HKCU,%INat%,iLZero,%REG_SZ%,"1"HKCU,%INat%,iMeasure,%REG_SZ%,"0"HKCU,%INat%,iNegCurr,%REG_SZ%,"1"HKCU,%INat%,iTime,%REG_SZ%,"0"HKCU,%INat%,iTLZero,%REG_SZ%,"0"HKCU,%INat%,Locale,%REG_SZ%,"00000C09"HKCU,%INat%,s1159,%REG_SZ%,"AM"HKCU,%INat%,s2359,%REG_SZ%,"PM"HKCU,%INat%,sCountry,%REG_SZ%,"Australia"HKCU,%INat%,sCurrency,%REG_SZ%,"$"HKCU,%INat%,sDate,%REG_SZ%,"."HKCU,%INat%,sDecimal,%REG_SZ%,"."HKCU,%INat%,sLanguage,%REG_SZ%,"ENA"HKCU,%INat%,sList,%REG_SZ%,","HKCU,%INat%,sLongDate,%REG_SZ%,"dddd, d MMMM yyyy"HKCU,%INat%,sShortDate,%REG_SZ%,"dd.MM.yy"HKCU,%INat%,sThousand,%REG_SZ%,","HKCU,%INat%,sTime,%REG_SZ%,":"HKCU,%INat%,sTimeFormat,%REG_SZ%,"h:mm:ss tt"HKCU,%INat%,iTimePrefix,%REG_SZ%,"0"HKCU,%INat%,sMonDecimalSep,%REG_SZ%,"."HKCU,%INat%,sMonThousandSep,%REG_SZ%,","HKCU,%INat%,iNegNumber,%REG_SZ%,"1"HKCU,%INat%,sNativeDigits,%REG_SZ%,"0123456789"HKCU,%INat%,NumShape,%REG_SZ%,"1"HKCU,%INat%,iCalendarType,%REG_SZ%,"1"HKCU,%INat%,iFirstDayOfWeek,%REG_SZ%,"0"HKCU,%INat%,iFirstWeekOfYear,%REG_SZ%,"0"HKCU,%INat%,sGrouping,%REG_SZ%,"3;0"HKCU,%INat%,SMonGrouping,%REG_SZ%,"3;0"HKCU,%INat%,sPositiveSign,%REG_SZ%,""HKCU,%INat%,sNegativeSign,%REG_SZ%,"-"HKCU,%INat%\Geo,Nation,%REG_SZ%,"12"; Add Australian keyboard layout.HKCU,"Keyboard Layout\IMEtoggle\scancode"HKCU,"Keyboard Layout\Preload",1,%REG_SZ%,"00000c09"HKCU,"Keyboard Layout\Substitutes",00000C09,%REG_SZ%,"00000409"HKCU,"Keyboard Layout\Toggle",Hotkey,%REG_SZ%,"3"HKCU,"Keyboard Layout\Toggle","Language HotKey",%REG_SZ%,"3"HKCU,"Keyboard Layout\Toggle","Layout Hotkey",%REG_SZ%,"3"[Strings]INat = "Control Panel\International"REG_SZ = 0x00000000REG_BINARY = 0x00000001REG_SZ_NOCLOBBER = 0x00000002REG_BINARY_NOCLOBBER = 0x00000003REG_MULTI_SZ_APPEND = 0x0001000AREG_MULTI_SZ = 0x00010000REG_DWORD = 0x00010001REG_MULTI_SZ_NOCLOBBER = 0x00010002REG_DWORD_NOCLOBBER = 0x00010003REG_MULTI_SZ_DELVAL = 0x00010006REG_ADDREG_APPEND = 0x00010008REG_EXPAND_SZ = 0x00020000REG_EXPAND_SZ_NOCLOBBER = 0x00020002OFF = 0x00000000ON = 0x00000001Export "HKCU\Control Panel\International" for regional settings and "HKCU\Keyboard Layout" for your keyboard layout. Link to comment Share on other sites More sharing options...
big_gie Posted August 13, 2004 Share Posted August 13, 2004 Here's a reg file that I use to set my keyboard to French Canadian:; Clavier canadien-francais[-HKEY_CURRENT_USER\Keyboard Layout][HKEY_CURRENT_USER\Keyboard Layout\IMEtoggle][HKEY_CURRENT_USER\Keyboard Layout\IMEtoggle\scancode][HKEY_CURRENT_USER\Keyboard Layout\Preload]"1"="00000c0c"[HKEY_CURRENT_USER\Keyboard Layout\Profile]"B0A57A8"=hex:00,27,89,e5,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,4f,\ e6,28,04,a9,57,0a,0b"22983098"=hex:60,8a,14,6d,b2,ab,b2,2d,cb,fb,9a,22[HKEY_CURRENT_USER\Keyboard Layout\Substitutes]"00000c0c"="00001009"[HKEY_CURRENT_USER\Keyboard Layout\Toggle]"Hotkey"="1""Language Hotkey"="1""Layout Hotkey"="2"; Clavier Canadien Francais[-HKEY_USERS\.DEFAULT\Keyboard Layout\Preload][HKEY_USERS\.DEFAULT\Keyboard Layout\Preload]"1"="00000c0c"[-HKEY_CURRENT_USER\Keyboard Layout\Preload][HKEY_CURRENT_USER\Keyboard Layout\Preload]"1"="00000c0c"Look at your own values in your registry and change accordingly. Link to comment Share on other sites More sharing options...
visaversa Posted August 13, 2004 Share Posted August 13, 2004 why a script?insert these in your winnt.sif[RegionalSettings] LanguageGroup=1 SystemLocale=00000410 UserLocale=00000410 InputLocale=0410:00000410 Link to comment Share on other sites More sharing options...
Denney Posted August 14, 2004 Share Posted August 14, 2004 @visaversa: I've done that but it doesn't set the keyboard layout properly (it also installs both Engligh (US) and whatever keyboard you want).Also, I have customized some of the regional settings. Link to comment Share on other sites More sharing options...
visaversa Posted August 14, 2004 Share Posted August 14, 2004 now that u mension i hade the same behaviour.using winnnt.sif..and SP2, I used a regfile to correct. Now i use a preconfigured default profile so problem is gone.But strange that sp2 have that problem and SP1 not Link to comment Share on other sites More sharing options...
Venator Posted August 14, 2004 Author Share Posted August 14, 2004 nLite (_GREAT_ program!!! ) set this in my winnt.sif file:[RegionalSettings]LanguageGroup=1Language=00000410and in Windows XP SP2 it set Italian as the default language for the system.Thanks everybody for your suggestions. ByeVenator B) Link to comment Share on other sites More sharing options...
visaversa Posted August 14, 2004 Share Posted August 14, 2004 i am happy for you that the problem is solved, still there is that issue with sp2 strange... 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