标题:
输入法精简详细介绍
[打印本页]
作者:
s37su37
时间:
2008-7-27 22:59
标题:
输入法精简详细介绍
输入法精简详细介绍
由于精简输入法是个比较麻烦的事情,很多nlite的人都搞不定,总是会出现各种各样的问题,我今天就来说一下精简输入法,首先我们用nlite进行组建移除,在额外删除列表里面添加列表:
cplexe.exe
imjpcic.dll
imjpcus.dll
imjpdct.dll
imjpdct.exe
imjprw.exe
imjpuex.exe
imjputy.exe
imjputyc.dll
imjpinst.exe
imjpinst.ini
imjpmig.exe
imjpdsvr.exe
imjpdadm.exe
imjpch.dic
imjpcd.dic
imjpln.dic
imjpnm.dic
imjpsb.dic
imjpst.dic
imjptk.dic
imjpzp.dic
imjpgn.grm
hwxjpn.dll
imskdic.dll
imskf.dll
multibox.dll
softkey.dll
voicepad.dll
voicesub.dll
imjp81.ime
imjp81k.dll
kbdjpn.dll
kbd101.dll
kbdax2.dll
kbd106.dll
kbd106n.dll
kbdibm02.dll
f3ahvoas.dll
kbdnec.dll
kbdnecNT.dll
kbdnec95.dll
kbdnecAT.dll
kbdlk41a.dll
kbdlk41j.dll
imjp81.ime
imjp81k.dll
kbdjpn.dll
kbd101.dll
kbdax2.dll
kbd106.dll
kbd106n.dll
kbdibm02.dll
f3ahvoas.dll
kbdnecNT.dll
kbdnec.dll
kbdnec95.dll
kbdnecAT.dll
kbdlk41a.dll
kbdlk41j.dll
jpnpaden.chm
imjpcl.chm
imjpcl.hlp
imjpcle.chm
imjpcle.hlp
imjpdt.chm
imjpdte.chm
imjppd.chm
imjpsm.chm
imjpsm.hlp
imjpsme.chm
imjpsme.hlp
imjptu.chm
voiceeng.chm
voicejp.chm
padrs411.dll
imekrcic.dll
imkrinst.exe
imkrinst.ini
imekrmig.exe
imkr61.chm
imkren61.chm
korpaden.chm
impdko61.chm
imkr61.hlp
imkren61.hlp
hanjadic.dll
hanja.lex
imekr.lex
imekrmbx.dll
hwxkor.dll
imekr61.ime
kbd101a.dll
kbdkor.dll
kbd101b.dll
kbd101c.dll
kbd103.dll
imekr61.ime
kbd101a.dll
kbdkor.dll
kbd101b.dll
kbd101c.dll
kbd103.dll
padrs412.dll
a15.tbl
a234.tbl
acode.tbl
msdayi.tbl
dayiptr.tbl
dayiphr.tbl
phon.tbl
phoncode.tbl
phonptr.tbl
lcptr.tbl
lcphrase.tbl
chajei.ime
phon.ime
dayi.ime
romanime.ime
uniime.dll
winime.ime
unicdime.ime
miniime.tpl
quick.ime
winar30.ime
arphr.tbl
arptr.tbl
array30.tab
arrayhw.tab
TINTLGNT.IME
PHHLP.CHM
PHHLP.CNT
PHHLP.HLP
PHHLPEN.CHM
PHHLPEN.CNT
PHHLPEN.HLP
TINTLGC.IMD
TINTLGL.IMD
TINTLGS.IMD
TINTLGD_.IMD
TINTLPHR.EXE
TINTSETP.EXE
TMIGRATE.DLL
CHTAPT.CHM
CHTAPT.HLP
CHTAPTEN.HLP
CHTPADEN.CHM
CHTMBX.DLL
CHTSKDIC.DIC
CHTSKDIC.DLL
CHTSKF.DLL
HWXCHT.DLL
PADRS404.DLL
CINTLGNT.IME
CINTIME.DLL
CINTLGB.IMD
CINTLGD.IMD
CINTLGL.IMD
CINTLGS.IMD
CINTLGU.IMD
CINTLGIE.IMD
CINTLGSI.IMD
CINTLGUC.IMD
CINTLGNT.CHM
CINTLGNT.CNT
CINTLGNT.HLP
CJHLPEN.CHM
CJHLPEN.CNT
CJHLPEN.HLP
CINTSETP.EXE
a15.tbl
a234.tbl
acode.tbl
msdayi.tbl
dayiptr.tbl
dayiphr.tbl
phon.tbl
phoncode.tbl
phonptr.tbl
lcptr.tbl
lcphrase.tbl
chajei.ime
phon.ime
dayi.ime
romanime.ime
uniime.dll
winime.ime
unicdime.ime
miniime.tpl
quick.ime
winar30.ime
arphr.tbl
arptr.tbl
array30.tab
arrayhw.tab
WINGB.IME
WINPY.IME
WINPY.MB
WINSP.IME
WINSP.MB
WINZM.IME
WINZM.MB
PINTLGNT.IME
PINTLPAD.HLP
PINTLPAE.HLP
PINTLPHR.EXE
PMIGRATE.DLL
IMSCINST.EXE
PINTLGC.IMD
PINTLGD.IMD
PINTLGDX.IMD
PINTLGI.IMD
PINTLGIX.IMD
PINTLGL.IMD
PINTLGNE.CHM
PINTLGNT.CHM
PINTLGR.IMD
PINTLGS.IMD
PINTLPAD.CHM
PINTLPAE.CHM
PINTLCSD.DIC
PINTLCSK.DIC
PINTLCSA.DLL
PINTLCSD.DLL
padrs804.dll
WINGB.IME
WINPY.IME
WINPY.MB
WINSP.IME
WINSP.MB
WINZM.IME
WINZM.MB
wingb.chm
winime.chm
winpy.chm
winsp.chm
winzm.chm
该列表是用LoveTao的脚本产生的如果你想要移除智能abc,可以添加:
WINABC.CNT
WINABC.HLP
WINABC.CWD
WINABC.IME
WINABC.OVL
还可以添加wingb.ime(表形码输入法)
然后在组建移除里面可以保留日韩繁。通过nlite初步处理后并没有完,还需要手动删除lang目录下除了gulim.ttc、msgothic.ttc、mingliu.ttc以外的文件,如果你选择了精简日韩繁的话,可以把lang目录直接干掉了。接下来是手动修改一些文件,因为nlite并不能很好的处理,所以需要手动修改,不过有的可能已经删除了。下面详细介绍每一个文件的修改方式。
layout.inf里删除
1 = %cdname%,%cdtagfilei%,,\i386
以下三行
删除:
127 = ime
130 = ime
132 = ime\imejp
133 = System32\IME\PINTLGNT
134 = System32\IME\CINTLGNT
135 = System32\IME\TINTLGNT
136 = IME\CHTIME\Applets
137 = ime\imejp98
138 = ime\imejp\applets
删除使其不会在windows以及system32下生成ime目录
删除:
WINGB.CHM = 1,,,,,,,21,0,0
WINGB.IME = 1,,,,,,,2,0,0
WINIME.CHM = 1,,,,,,,21,0,0
WINPY.CHM = 1,,,,,,,21,0,0
WINPY.IME = 100,,156672,,,,,2,0,0
WINPY.MB = 1,,,,,,,2,0,0
WINSP.CHM = 1,,,,,,,21,0,0
WINSP.IME = 100,,156672,,,,,2,0,0
WINSP.MB = 1,,,,,,,2,0,0
WINZM.CHM = 1,,,,,,,21,0,0
WINZM.IME = 100,,156672,,,,,2,0,0
WINZM.MB = 1,,,,,,,2,0,0
PINTLGNT.IME = 100,,482304,,,,,2,0,0
PINTLPHR.EXE = 100,,70144,,,,,204,0,0
IMSCINST.EXE = 100,,59392,,,,,204,0,0
PMIGRATE.DLL = 100,,67584,,,,,204,0,0
PINTLGC.IMD = 100,,188140,,,,,204,0,0
PINTLGD.IMD = 100,,825038,,,,,204,0,0
PINTLGDX.IMD = 100,,867242,,,,,204,0,0
PINTLGI.IMD = 100,,948656,,,,,204,0,0
PINTLGIX.IMD = 100,,1004904,,,,,204,0,0
PINTLGL.IMD = 100,,208744,,,,,204,0,0
PINTLGNE.CHM = 100,,114148,,,,,204,0,0
PINTLGNT.CHM = 100,,96585,,,,,204,0,0
PINTLGR.IMD = 100,,733292,,,,,204,0,0
PINTLGS.IMD = 100,,10011497,,,,,204,0,0
PINTLCSD.DIC = 100,,174803,,,,,205,0,0
PINTLCSK.DIC = 100,,487472,,,,,205,0,0
PINTLCSA.DLL = 100,,175104,,,,,205,0,0
PINTLCSD.DLL = 100,,53760,,,,,205,0,0
PINTLPAD.CHM = 1,,,,,,,21,0,0
PINTLPAD.HLP = 1,,,,,,,2,0,0
PINTLPAE.CHM = 1,,,,,,,21,0,0
PINTLPAE.HLP = 1,,,,,,,2,0,0
imepadsm.dll = 7,,,,,,,220,0,0
imepadsv.exe = 7,,,,,,,220,0,0
imlang.dll = 107,,102456,,,,,220,0,0
imepaden.hlp = 7,,,,,,,220,0,0
padrs804.dll = 100,,15360,,,,,221,0,0
ChsBrKr.dll = 1,,,,,,,2,0,0
noise.chs = 1,,1696,,,,_x,2,0,0
noise.cht = 1,,1696,,,,_x,2,0,0
如果你移除了智能abc,还要删除:
WINABC.CNT = 1,,,,,,,2,0,0
WINABC.HLP = 1,,,,,,,2,0,0
WINABC.CWD = 1,,,,,,,2,0,0
WINABC.IME = 100,,98304,,,,,2,0,0
WINABC.OVL = 1,,,,,,,2,0,0
删除layout.inf里的空白行。
txtsetup.sif里要删除的:
;建立的目录,删除使其不会在windows以及system32下生成ime目录
127 = ime
130 = ime
132 = ime\imejp
133 = System32\IME\PINTLGNT
134 = System32\IME\CINTLGNT
135 = System32\IME\TINTLGNT
136 = IME\CHTIME\Applets
137 = ime\imejp98
138 = ime\imejp\applets
204 = System32\IME\PINTLGNT
205 = IME\CHSIME\APPLETS
220 = IME\SHARED
221 = IME\SHARED\RES
;文件存放的路径。
PINTLCSA.DLL = 100,,,,,,,205,0,0
PINTLCSD.DIC = 100,,,,,,,205,0,0
PINTLCSD.DLL = 100,,,,,,,205,0,0
PINTLCSK.DIC = 100,,,,,,,205,0,0
PINTLGC.IMD = 100,,,,,,,204,0,0
PINTLGD.IMD = 100,,,,,,,204,0,0
PINTLGDX.IMD = 100,,,,,,,204,0,0
PINTLGI.IMD = 100,,,,,,,204,0,0
PINTLGIX.IMD = 100,,,,,,,204,0,0
PINTLGL.IMD = 100,,,,,,,204,0,0
PINTLGNE.CHM = 100,,,,,,,204,0,0
PINTLGNT.CHM = 100,,,,,,,204,0,0
PINTLGNT.IME = 100,,,,,,,2,0,0
PINTLGR.IMD = 100,,,,,,,204,0,0
PINTLGS.IMD = 100,,,,,,,204,0,0
PINTLPAD.CHM = 1,,,,,,,21,0,0
PINTLPAD.HLP = 1,,,,,,,2,0,0
PINTLPAE.CHM = 1,,,,,,,21,0,0
PINTLPAE.HLP = 1,,,,,,,2,0,0
PINTLPHR.EXE = 100,,,,,,,204,0,0
WINGB.CHM = 1,,,,,,,21,0,0
WINGB.IME = 1,,,,,,,2,0,0
WINPY.CHM = 1,,,,,,,21,0,0
WINPY.IME = 100,,,,,,,2,0,0
WINPY.MB = 1,,,,,,,2,0,0
WINSP.CHM = 1,,,,,,,21,0,0
WINSP.IME = 100,,,,,,,2,0,0
WINSP.MB = 1,,,,,,,2,0,0
WINZM.CHM = 1,,,,,,,21,0,0
WINZM.IME = 100,,,,,,,2,0,0
WINZM.MB = 1,,,,,,,2,0,0
以上不是全部,额外删除列表的文件的都查找一下,删掉。文件都不存在了留着安装的时候会出现缺少文件提示。
可以按照查找末尾含有
127,0,0
130,0,0
132,0,0
134,0,0
135,0,0
136,0,0
137,0,0
138,0,0
204,0,0
205,0,0
220,0,0
221,0,0
的行来删除winsows\ime下的文件。
HIVEDEF.inf需要删除的行:
;系统启动的时候加载的默认输入法和键盘布局
;系统开机加载中文 (简体) - 微软拼音输入法 3.0 版(KLT_91)
;HKCU,"Keyboard Layout\Preload","2",0x00000002,"E00E0804"
;系统开机加载中文 (简体) - 全拼(KLT_73 )
;HKCU,"Keyboard Layout\Preload","3",0x00000002,"E0010804"
;系统开机加载中文中文 (简体) - 郑码(KLT_75)
;HKCU,"Keyboard Layout\Preload","4",0x00000002,"E0030804"
;系统开机加载中文中文 -智能ABC
HKCU,"Keyboard Layout\Preload","5",0x00000002,"E0040804"
***必须保留的:(不然会导致语言栏不出现)
;中文简体美式键盘布局
HKCU,"Keyboard Layout\Preload","1",0x00000002,"00000804"
intl.inf里[SourceDisksFiles]字段保留:
gulim.ttc = 7,,,,,,,0,0
msgothic.ttc = 7,,,,,,,0,0
mingliu.ttc = 7,,,,,,,0,0
如果删除了日韩繁的话就不留。
[IME.LGReg.Install.CHS]字段下保留:
HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00000804","Layout File",,KBDUS.DLL
HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00000804","Layout Text",,%KLT_72%
HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00000804","Layout Display Name",,"@%SystemRoot%\system32\input.dll,-5072"
其余全部删除
[IME.LGReg.Remove.CHS]字段保留:
HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00000804"
HKCR,"CLSID\{F3BA9074-6C7E-11D4-97FA-0080C882687E}"
HKCR,"CLSID\{873046D8-0AD2-486C-ADEF-3C7701D95EB2}"
HKLM,"SOFTWARE\Microsoft\CTF\TIP\{F3BA9074-6C7E-11D4-97FA-0080C882687E}"
HKLM,"SOFTWARE\Microsoft\TIP Shared\1.1\IMEPad\2052"
还可以删除intl.inf里的KLT_XX,保留留下来的输入法就OK了
顺便说一下,无人职守安装里面做好预选语言和键盘布局。
这样下来,你的系统里面你想要干掉的输入法都滚蛋了,也不会产生ime目录。enjoy it !
欢迎光临 【3.A.S.T】网络安全爱好者 (http://3ast.com./)
Powered by Discuz! 7.2