|
本帖最后由 gbzx 于 2022-9-18 18:26 编辑
文件结构是:win 10 x86.WIM及x64.WIM 都是纯净的,极点五笔放在工具PETOOLS里。下面是安装输入法的代码:
IFEX %windir%\SysWOW64,CALL Win64!CALL Win86 //判断是x86还是x64PE
SUB Win86
//////////////////安装极点五笔输入法
EXEC =@%ProgramFiles%\7-Zip\7Z.EXE x %CurDir%\Input\freeime.7z -y -aos -o"%ProgramFiles%\"
FILE %ProgramFiles%\freeime\freeime.ime=>%SystemRoot%\System32\freeime.ime
regi HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0010804\Ime File=freeime.ime
regi HKLM\CurrentControlSet\Control\Keyboard Layouts\E0010804\Layout File=kbdus.dll
regi HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0010804\Layout Text=极点五笔输入法
regi HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0010804\system=X:\Program Files\freeime
regi HKCU\Keyboard Layout\Preload\3=E0010804
CALL $%SystemRoot%\System32\imm32,ImmInstallIMEW,%SystemRoot%\System32\freeime.ime,极点五笔
_END
_SUB Win64
//////////////////安装极点五笔输入法
EXEC =@%ProgramFiles%\7-Zip\7Z.EXE x %CurDir%\Input\freeime.7z -y -aos -o"%ProgramFiles(x86)%\"
FILE %ProgramFiles(x86)%\freeime\freeime.ime->%SystemRoot%\SysWOW64\freeime.ime
FILE %ProgramFiles(x86)%\freeime\freeime64.ime->%SystemRoot%\System32\freeime.ime
regi HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0010804\Ime File=freeime.ime
regi HKLM\CurrentControlSet\Control\Keyboard Layouts\E0010804\Layout File=kbdus.dll
regi HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0010804\Layout Text=极点五笔输入法
regi HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0010804\system=X:\Program Files (x86)\freeime
regi HKCU\Keyboard Layout\Preload\3=E0010804
CALL $imm32,ImmInstallIMEW,%SystemRoot%\System32\freeime.ime,极点五笔
CALL $%SystemRoot%\SysWOW64\imm32,ImmInstallIMEW,%SystemRoot%\SysWOW64\freeime.ime,极点五笔
_END
换个体积更小,界面更漂亮的极点五笔
需要极点五笔文件在下面PETOOLS里
链接:https://www.123pan.com/s/YherVv-ecwkv 提取码:EktX
|
|