|
你可以在Win7系统中直接提取你要的微软拼音输入法,手动提取比较麻烦,给你一个批处理文件,直接就可以提取出来,你试试吧。
echo Preparing IME folder for WinPE.
setlocal
rem set WinPEWinDir=<Path to Windows Directory of your WinPE image (i.e. C:\myWinPE\Windows)>
rem set WinPEWinDir=D:\PE3\IME\TC
SET ARCH=%PROCESSOR_ARCHITECTURE%
for %%i in (F E D C) do if exist %%i:\Windows\System32\wlansvc.dll SET win7drive=%%i:
SET PEWork=C:\winpe3_%ARCH%
set WinPEWinDir=%PEWork%\mount\Windows
rem set IMEBinSrc=%windir%
set IMEBinSrc=%win7drive%\Windows
md %WinPEWinDir%\IME
md %WinPEWinDir%\IME\IMESC5
md %WinPEWinDir%\IME\IMESC5\DICTS
md %WinPEWinDir%\IME\IMESC5\HELP
md %WinPEWinDir%\System32\IME
md %WinPEWinDir%\System32\IME\IMESC5
md %WinPEWinDir%\System32\IME\shared
rem SYSTEM32 folder (Cicero)
copy /y %IMEBinSrc%\System32\CTFMON.EXE %WinPEWinDir%\System32\CTFMON.EXE
copy /y %IMEBinSrc%\System32\MSUTB.DLL %WinPEWinDir%\System32\MSUTB.DLL
copy /y %IMEBinSrc%\System32\MsCtfMonitor.DLL %WinPEWinDir%\System32\MsCtfMonitor.DLL
copy /y %IMEBinSrc%\System32\PINTLGNT.IME %WinPEWinDir%\System32
rem DICTS folder
%windir%\system32\xcopy %IMEBinSrc%\IME\IMESC5 %WinPEWinDir%\IME\IMESC5 /s /y /d
rem IMESC5 folder
%windir%\system32\xcopy %IMEBinSrc%\System32\IME\IMESC5 %WinPEWinDir%\System32\IME\IMESC5 /s /y /d
rem shared folder
%windir%\system32\xcopy %IMEBinSrc%\System32\IME\shared %WinPEWinDir%\System32\IME\shared /s /y /d
rem Fonts folder
rem Creating some batch files...
@echo @echo off > %WinPEWinDir%\System32\IME\IMEReg.CMD
@for %%i in (MSUTB.DLL MsCtfMonitor.dll ) do @echo REGSVR32 /S %%WinDir%%\System32\%%i >> %WinPEWinDir%\System32\IME\IMEReg.CMD
@for %%i in (IMEAPIS.DLL imecfm.dll IMEPADSM.DLL IMETIP.DLL imever.dll IMJKAPI.DLL MSCAND20.DLL) do @echo REGSVR32 /S %%WinDir%%\System32\IME\shared\%%i >> %WinPEWinDir%\System32\IME\IMEReg.CMD
@for %%i in (ImSCCfg.DLL ImSCCore.dll IMSCTIP.dll imscui.DLL PMIGRATE.dll) do @echo REGSVR32 /S %%WinDir%%\System32\IME\IMESC5\%%i >> %WinPEWinDir%\System32\IME\IMEReg.CMD
@echo REG ADD HKCU\Software\Microsoft\CTF\TIP\{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E} /f ^> nul >> %WinPEWinDir%\System32\IME\IMEReg.CMD
@echo REG ADD HKCU\Software\Microsoft\CTF\TIP\{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}\LanguageProfile /f ^> nul >> %WinPEWinDir%\System32\IME\IMEReg.CMD
@echo REG ADD HKCU\Software\Microsoft\CTF\TIP\{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}\LanguageProfile\0x00000804 /f ^> nul >> %WinPEWinDir%\System32\IME\IMEReg.CMD
@echo REG ADD HKCU\Software\Microsoft\CTF\TIP\{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}\LanguageProfile\0x00000804\{F3BA9077-6C7E-11D4-97FA-0080C882687E} /f ^> nul >> %WinPEWinDir%\System32\IME\IMEReg.CMD
@echo REG ADD HKCU\Software\Microsoft\CTF\TIP\{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}\LanguageProfile\0x00000804\{F3BA9077-6C7E-11D4-97FA-0080C882687E} /v "Enable" /t REG_DWORD /d 1 /f ^> nul >> %WinPEWinDir%\System32\IME\IMEReg.CMD
@echo REG ADD HKCU\Software\Microsoft\CTF\Assemblies\0x00000804\{34745C63-B2F0-4784-8B67-5E12C8701A31} /v "Default" /d "{00000000-0000-0000-0000-000000000000}" /f ^> nul >> %WinPEWinDir%\System32\IME\IMEReg.CMD
@echo REG ADD HKCU\Software\Microsoft\CTF\Assemblies\0x00000804\{34745C63-B2F0-4784-8B67-5E12C8701A31} /v "Profile" /d "{00000000-0000-0000-0000-000000000000}" /f ^> nul >> %WinPEWinDir%\System32\IME\IMEReg.CMD
@echo REG ADD HKCU\Software\Microsoft\CTF\Assemblies\0x00000804\{34745C63-B2F0-4784-8B67-5E12C8701A31} /v "KeyboardLayout" /t REG_DWORD /d "00000804" /f ^> nul >> %WinPEWinDir%\System32\IME\IMEReg.CMD
@echo REG ADD "HKCU\Software\Microsoft\CTF\LangBar" /v ShowStatus /t REG_DWORD /d 0 /f ^> nul >> %WinPEWinDir%\System32\IME\IMEReg.CMD
@echo REG ADD "HKCU\Software\Microsoft\CTF\LangBar" /v Transparency /t REG_DWORD /d 255 /f ^> nul >> %WinPEWinDir%\System32\IME\IMEReg.CMD
@echo REG ADD "HKCU\Software\Microsoft\CTF\LangBar" /v Label /t REG_DWORD /d 1 /f ^> nul >> %WinPEWinDir%\System32\IME\IMEReg.CMD
@echo REG ADD "HKCU\Software\Microsoft\CTF\LangBar" /v ExtraIconsOnMinimized /t REG_DWORD /d 0 /f ^> nul >> %WinPEWinDir%\System32\IME\IMEReg.CMD
@echo start CTFMON.EXE >> %WinPEWinDir%\System32\IME\IMEReg.CMD
@if not exist %WinPEWinDir%\System32\startnet.org copy %WinPEWinDir%\System32\startnet.cmd %WinPEWinDir%\System32\startnet.org
@echo @echo off > %WinPEWinDir%\System32\autorun1Langbar.CMD
@echo echo Preparing WinPE ... >> %WinPEWinDir%\System32\autorun1Langbar.CMD
rem @type %WinPEWinDir%\System32\STARTNET.org >> %WinPEWinDir%\System32\autorun1Langbar.cmd
@echo @echo. >> %WinPEWinDir%\System32\autorun1Langbar.CMD
@echo Call %%WinDir%%\System32\IME\IMEReg.CMD >> %WinPEWinDir%\System32\autorun1Langbar.CMD
@echo Exit >> %WinPEWinDir%\System32\autorun1Langbar.cmd
endlocal
提取出来的相关文件都保存在C盘下你winpe3目录中,相信你能看懂了
[ 本帖最后由 2011Sunday 于 2011-10-1 16:47 编辑 ] |
|