pe從無到有,執行8大的BATCH檔就有,簡單加上UCBrowser, wget, yong足矣。說實在yong打注音不是很方便,所以產生加微軟新注音的念頭,剛好看到Add Input Method Editor (IME) to Windows PE這篇文章,摘錄2個重點(僅繁中適用,該篇亦有提及簡中日韓部分):
1. 從win7安裝iso獲得檔案及目錄,放於pe相對位置
xcopy \windows\System32\CTFMON.EXE
xcopy \windows\System32\MSUTB.DLL
xcopy \windows\System32\MsCtfMonitor.DLL
xcopy \windows\System32\PINTLGNT.IME
xcopy \windows\IME\IMETC10
xcopy \windows\System32\IME\IMETC10
xcopy \windows\System32\IME\shared
2. Creating batch file(如下),進入pe後執行
@echo off
REGSVR32 /S %WinDir%\System32\MSUTB.DLL
REGSVR32 /S %WinDir%\System32\MsCtfMonitor.DLL
REGSVR32 /S %WinDir%\System32\IME\shared\IMEAPIS.DLL
REGSVR32 /S %WinDir%\System32\IME\shared\imecfm.dll
REGSVR32 /S %WinDir%\System32\IME\shared\IMEPADSM.DLL
REGSVR32 /S %WinDir%\System32\IME\shared\IMETIP.DLL
REGSVR32 /S %WinDir%\System32\IME\shared\imever.dll
REGSVR32 /S %WinDir%\System32\IME\shared\MSCAND20.DLL
REGSVR32 /S %WinDir%\System32\IME\IMETC10\ImTCCfg.DLL
REGSVR32 /S %WinDir%\System32\IME\IMETC10\ImTCCore.dll
REGSVR32 /S %WinDir%\System32\IME\IMETC10\IMTCTIP.dll
REGSVR32 /S %WinDir%\System32\IME\IMETC10\imtcui.DLL
REG ADD HKCU\Software\Microsoft\CTF\TIP\{531FDEBF-9B4C-4A43-A2AA-960E8FCDC732} > nul
REG ADD HKCU\Software\Microsoft\CTF\TIP\{531FDEBF-9B4C-4A43-A2AA-960E8FCDC732}\LanguageProfile > nul
REG ADD HKCU\Software\Microsoft\CTF\TIP\{531FDEBF-9B4C-4A43-A2AA-960E8FCDC732}\LanguageProfile\0x00000404 > nul
REG ADD HKCU\Software\Microsoft\CTF\TIP\{531FDEBF-9B4C-4A43-A2AA-960E8FCDC732}\LanguageProfile\0x00000404\{B2F9C502-1742-11D4-9790-0080C882687E} > nul
REG ADD HKCU\Software\Microsoft\CTF\TIP\{531FDEBF-9B4C-4A43-A2AA-960E8FCDC732}\LanguageProfile\0x00000404\{B2F9C502-1742-11D4-9790-0080C882687E} /v "Enable" /t REG_DWORD /d 1 > nul
REG ADD HKCU\Software\Microsoft\CTF\Assemblies\0x00000404\{34745C63-B2F0-4784-8B67-5E12C8701A31} /v "Profile" /d "{B2F9C502-1742-11D4-9790-0080C882687E}" /f > nul
REG ADD HKCU\Software\Microsoft\CTF\Assemblies\0x00000404\{34745C63-B2F0-4784-8B67-5E12C8701A31} /v "KeyboardLayout" /t REG_DWORD /d "04040404" /f > nul
😀
谢谢分享