【求助】XP 無人值守自動安裝 -- 如何加入特定中文輸入法?





jute
2004-03-12, 05:00 PM
因為我這邊所有的 XP 或 2K/2K3 都是英文版的, 所以灌完之後必須再手動加入輸入法才能打中文.
目前我的 WINNT.SIF 裡的 [RegionalSettings] 內容是這樣的:

[RegionalSettings]
LanguageGroup=1,7,8,9,10
SystemLocale=00000409
UserLocale=00000409
InputLocale=0409:00000409

很簡單, 上面全部都是用預設的 "英文(美國)" (0409).

目前我大概知道若要加入輸入法的話, 應該是要再多加幾行 InputLocal=xxxx:yyyyyyyy
xxxx = 語言 (國家)
yyyyyyyy = 輸入法 (?) <== 不確定

以中文 (台灣) 來講, 可用的參數有:
0404:00000404
0404:e0080404
0404:E0010404

就我所知, 0404 是代表中文(台灣), 那它後面紅字部份代表的是什麼輸入法, 有什麼地方可以參考嗎?
例如我要新增 [新倉頡] 輸入法, 該用麼值? :confused:




lamina
2004-03-12, 05:34 PM
Table of Language Identifiers
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/nls_238z.asp

可惜,上面的對照表並沒有輸入法的,所以土法煉鋼...
請到下面的機碼處看看(結尾 0404 的,應該就你要的)
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layouts

琥珀
2004-03-12, 05:43 PM
0404:00000404 中文(台灣) - 中文(繁體) - 美式鍵盤 // 1
0404:E0080404 中文(台灣) - 中文(繁體) - 新注音 // 2
0404:E0010404 中文(台灣) - 中文(繁體) - 注音 // 3
0404:E0090404 中文(台灣) - 中文(繁體) - 新倉頡 // 4
0404:E0020404 中文(台灣) - 中文(繁體) - 倉頡 // 5

[RegionalSettings]
LanguageGroup=1,7,8,9,10 // 西歐和美國, 日語, 朝鮮語, 繁體中文, 簡體中文
SystemLocale=00000404 // 中文(繁體)
UserLocale=00000404 // 中文(台灣)
InputLocale=0404:00000404,0404:E0090404 // (1) 和 (4)

jute
2004-03-12, 07:32 PM
多謝兩位的回覆, 終於可以製作真正的完全自動安裝與設定 :)

琥珀
2004-05-22, 04:55 PM
[RegionalSettings]
Language = <locale ID>
LanguageGroup =<language group ID>,<language group ID>,..
SystemLocale = <locale ID>
UserLocale = <locale ID>
InputLocale= <locale ID:keyboard layout ID>, <locale ID:keyboard layout ID>,…
UserLocale_DefaultUser =<locale ID>
InputLocale_DefaultUser =<locale ID:keyboard layout ID>, …

微軟提供的公式。來源是 http://www.microsoft.com/globaldev/handson/dev/winxpintl.mspx