|
|
不会批处理,你抄文件列表和注册表就行了。不到1小时就可以了。
WimBuilder2\Projects\WIN10XPE\01-Components\IME\Ime_Common.bat
- set "f0=%~f0"
- set SysDir=System32
- call :Ime_Files
- rem =================WOW64 Support=================
- if not "x%opt[build.wow64support]%"=="xtrue" goto :UDPATE_REGISTY
- set SysDir=SysWOW64
- call :Ime_Files
- :UDPATE_REGISTY
- if %VER[3]% GTR 18300 (
- call RegCopy HKLM\Software\Microsoft\FuzzyDS
- call RegCopy HKLM\Software\Microsoft\Input
- )
- call :Ime_Reg HKLM\Software
- if "x%opt[build.wow64support]%"=="xtrue" (
- call :Ime_Reg HKLM\Software\WOW6432Node
- )
- goto :EOF
- :Ime_Files
- call AddFiles "%f0%" :end_files
- goto :end_files
- \Windows\IME\SPTIP.DLL
- \Windows\IME\??-??\SpTip.dll.mui
- @\Windows\%SysDir%\
- IME\SHARED
- InputMethod\SHARED
- inputLocaleManager.dll,inputHost.dll,inputService.dll
- msctfime.ime,Msctfp.dll,MSWB7.dll,NOISE.DAT
- MTF.dll,MTFServer.dll,TextInputFramework.dll,Winsta.dll
- Ctfmon.exe,Globinputhost.dll,input.dll,inputSwitch.dll,msctf.dll,msutb.dll
- MsCtfMonitor.dll,MsctfuiManager.dll,Windows.Globalization.dll,Winlangdb.dll
- +ver > 18300
- umpdc.dll
- clbcatq.dll,dusmapi.dll
- netprofm.dll,npmproxy.dll
- Windows.Networking.HostName.dll
- TextInputMethodFormatter.dll,WordBreakers.dll
- Language*.dll
- Windows.UI.Core.TextInput.dll
- +ver*
- :end_files
- goto :EOF
- :Ime_Reg
- call RegCopy %1\Microsoft\CTF
- call RegCopy %1\Microsoft\IME
- if "x%WB_PE_LANG%"=="xja-JP" call RegCopy %1\Microsoft\IMEJP
- if "x%WB_PE_LANG%"=="xko-KR" call RegCopy %1\Microsoft\IMEKR
- if "x%WB_PE_LANG%"=="xzh-CN" call RegCopy %1\Microsoft\IMETC
- if "x%WB_PE_LANG%"=="xzh-TW" call RegCopy %1\Microsoft\IMETC
- call RegCopy %1\Microsoft\InputMethod
复制代码
WimBuilder2\Projects\WIN10XPE\01-Components\IME\Ime_zh-CN.bat
- call AddFiles %0 :end_files
- goto :end_files
- @\Windows\InputMethod\CHS\
- ChsPinyin.lex,ChsPinyin.lm
- ChsWubi.lex
- @\Windows\System32\
- InputMethod\CHS
- MSWB70804.dll,NL7Data0804.dll,NL7Lexicons0804.dll,NL7Models0804.dll
- NOISE.CHS,chs_singlechar_pinyin.dat,ChsStrokeDS.dll
- :end_files
- rem =================WOW64 Support=================
- if not "x%opt[build.wow64support]%"=="xtrue" goto :UDPATE_REGISTY
- call AddFiles %0 :end_wow64_files
- goto :end_wow64_files
- \Windows\SysWOW64\InputMethod\CHS
- \Windows\SysWOW64\chs_singlechar_pinyin.dat
- :end_wow64_files
复制代码
WimBuilder2\Projects\WIN10XPE\01-Components\IME\ImeTC_zh-CN.bat
- call AddFiles %0 :end_files
- goto :end_files
- @\Windows\InputMethod\CHS\
- ChsPinyin.lex,ChsPinyin.lm
- ChsWubi.lex
- @\Windows\System32\
- InputMethod\CHS
- MSWB70804.dll,NL7Data0804.dll,NL7Lexicons0804.dll,NL7Models0804.dll
- NOISE.CHS,chs_singlechar_pinyin.dat,ChsStrokeDS.dll
- :end_files
- rem =================WOW64 Support=================
- if not "x%opt[build.wow64support]%"=="xtrue" goto :UDPATE_REGISTY
- call AddFiles %0 :end_wow64_files
- goto :end_wow64_files
- \Windows\SysWOW64\InputMethod\CHS
- \Windows\SysWOW64\chs_singlechar_pinyin.dat
- :end_wow64_files
复制代码
中文拼音输入法可用了,但是输入法只能输入默认第一个,不能选择别的联想字。
一个月前yamingw已经说过了。。。直接拿成果就好。为什么要自己再折腾呢。
yamingw 发表于 2019-3-15 11:20:09
1、管理员模式
PecmdAdmin.ini
注释掉
//REGI HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-18\ProfileImagePath=X:\Users\Administrator
18855会报错,并且此句好像用处不大
SwitchToAdmin.bat
wuceffects.dll
2、输入法,原始输入法微软已改成MetroApp,PE不可用
Ime_Common.bat
在 +ver > 18300 之后加入
Language*.dll
Windows.UI.Core.TextInput.dll
3、一些精简
last.bat
;edgehtml.dll是浏览器脚本组件,对IE好像无用
del /q "%X_SYS%\edgehtml.dll
;为什么会有一个14MB的imageres.dll?
if %VER[3]% GTR 18300 (
del /q "%X_WOW64%\imageres.dll
)
IE使用的是SysWow64下的32位Flash.ocx,64位的用处不大
文件Projects\WIN10XPE\02-Apps\Browsers\IE
main.bat
在@windows\system32\之后删除
Macromed\Flash\activex.vch
Macromed\Flash\Flash.ocx
4、无线网络:
将服务WlanSvc注册表键值DependOnService中的WcmSvc删掉 |
|