Last Update:2014-12-23
Source: Internet
Author: User
Keywords
nbsp
whole process
C9
article
Mirror
See Hong Kong friend Ivan said, he has been through my article can diy a own PE, feel very relieved, then don't let it stop, I will continue to write about WinPE articles, with you grow up together.
Here also hope that you can send my article to the Internet any relevant site, so that everyone grow together to achieve the ultimate goal of the Internet-resource sharing. Send me a link after the article, let me see the needs of everyone, thank you. (Turn the article remember to leave this article link ^_^)
Specify action – Review the whole idea of making WinPE system
get WinPE material: Copype.cmd x86 C:\winpe_x86 Mount Mirror: dism/mount-wim/wimhttp://www.aliyun.com/zixun/aggregation/19352. HTML ">file:c:\winpe_x86\winpe.wim/index:1/mountdir:c:\winpe_x86\mount for editing:! @#¥%......&x (uninstall Mirror: dism/unmount-wim/mountdir:c:\winpe_x86\mount/commit Copy file: Copy C:\winpe_x86\winpe.wim C:\winpe_ X86\iso\sources\boot.wim package Mirrors: oscdimg-n-bc:\winpe_x86\etfsboot.com C:\winpe_x86\iso C:\winpe.iso
If you see this, you are foggy, please read the article several times first:
Windows Automated Installation Kit for Windows 7 uncover Win7pe the whole process (foreword) The whole process of revealing win7pe production (i) the whole process of revealing Win7pe production (ii) Uncover the whole process of WIN7PE production (iii) reveal the whole process of WIN7PE production (iv)
Officially started
This tells us how to add Input method.
1. Get WinPE file, Copype.cmd x86 C:\winpe_x86
2. Load Mirror, dism/mount-wim/wimfile:c:\winpe_x86\winpe.wim/index:1/mountdir:c:\winpe_x86\mount
3. Add support for the Simplified Chinese IME by pasting the script into a new file named WinPEIMETC.txt:
Echo Preparing IME folder for Winpe.setlocalset Winpewindir=<path to Windows Directory of your WinPE image (for example, C : \winpe_x86\windows) >set IMEBINSRC=%WINDIR%MD%winpewindir%\ime MD%winpewindir%\ime\imesc5md%WinPEWinDir%\IME\ IMESC5\DICTSMD%WINPEWINDIR%\IME\IMESC5\HELPMD%winpewindir%\system32\imemd%winpewindir%\system32\ime\imesc5md% Winpewindir%\system32\ime\sharedrem SYSTEM32 folder (Cicero)%windir%\system32\xcopy%imebinsrc%\system32\ctfmon. EXE%winpewindir%\system32\ctfmon. exe/y/d%windir%\system32\xcopy%imebinsrc%\system32\msutb. DLL%winpewindir%\system32\msutb. dll/y/d%windir%\system32\xcopy%imebinsrc%\system32\msctfmonitor.dll%winpewindir%\system32\msctfmonitor.dll/y/d %windir%\system32\xcopy%imebinsrc%\system32\pintlgnt. IME%winpewindir%\system32/y/d%windir%\system32\xcopy%imebinsrc%\ime\imesc5%winpewindir%\ime\imesc5/s/y/drem IMESC5 folder%windir%\system32\xcopy%imebinsrc%\system32\ime\imesc5%winpewindir%\system32\ime\imesc5/s/y/drem SharedFolder%windir%\system32\xcopy%imebinsrc%\system32\ime\shared%winpewindir%\system32\ime\shared/s/y/drem Creating Some batch files ... @echo @echo off >%winpewindir%\system32\ime\imereg.cmd@echo regsvr32/s% Windir%%\system32\msutb. dll >>%winpewindir%\system32\ime\imereg.cmd@echo regsvr32/s%%windir%%\system32\ msctfmonitor.dll >>%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@rem @echo REG ADD "HKLM\SOFTWARE\MICROSOFT\CTF"/"Startonnotaskeng"/t reg_dword/d 1 ^> nul >>%winpewindir%\system32\ime\imereg.cmd@echo REG ADD hkcu\software\microsoft\ctf\tip\{81d4e9c9-1d3b-41bc-9e6c-4b40bf79e35e} ^> nul >>%WinPEWinDir%\ System32\ime\imereg.cmd@echo REG ADD hkcu\software\microsoft\ctf\tip\{81d4e9c9-1d3b-41bc-9e6c-4b40bf79e35e}\ Languageprofile ^> nul >>%winpewindir%\system32\ime\imereg.cmd@echo REG ADD hkcu\software\microsoft\ctf\tip \{81d4e9c9-1d3b-41bc-9e6c-4b40bf79e35e}\languageprofile\0x00000804 ^> 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} ^> 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 ^> nul >>%winpewindir%\system32\ime\imereg.cmd@rem @echo REG ADD hkcu\software\ Microsoft\ctf\sortorder ^> nul >>%winpewindir%\system32\ime\imereg.cmd@rem @echo REG ADD hkcu\software\ microsoft\ctf\sortorder\assemblyitem ^> nul >>%winpewindir%\system32\ime\imereg.cmd@ rem @echo REG ADD hkcu\software\microsoft\ctf\sortorder\assemblyitem\0x00000804 ^> nul >>%winpewindir%\system32\ime\imereg.cmd@rem @echo REG ADD Hkcu\software\microsoft\ctf\sortorder\assemblyitem \0X00000804\{34745C63-B2F0-4784-8B67-5E12C8701A31} ^> nul >>%winpewindir%\system32\ime\imereg.cmd@rem @ echo REG ADD Hkcu\software\microsoft\ctf\sortorder\assemblyitem\0x00000804\{34745c63-b2f0-4784-8b67-5e12c8701a31} \00000000 ^> nul >>%winpewindir%\system32\ime\imereg.cmd @rem @echo REG ADD hkcu\software\microsoft\ctf\ Sortorder\assemblyitem\0x00000804\{34745c63-b2f0-4784-8b67-5e12c8701a31}\00000000/v "CLSID"/d "{ 81d4e9c9-1d3b-41bc-9e6c-4b40bf79e35e} "^> nul >>%winpewindir%\system32\ime\imereg.cmd @rem @ecHo REG ADD hkcu\software\microsoft\ctf\sortorder\assemblyitem\0x00000804\{34745c63-b2f0-4784-8b67-5e12c8701a31}\ 00000000/v "Profile"/"{f3ba9077-6c7e-11d4-97fa-0080c882687e}" ^> nul >>%winpewindir%\ System32\ime\imereg.cmd@rem @echo REG ADD hkcu\software\microsoft\ctf\sortorder\assemblyitem\0x00000804\{ 34745c63-b2f0-4784-8b67-5e12c8701a31}\00000000/v "KeyboardLayout"/t reg_dword/d 0 ^> nul >>%WinPEWinDir%\ System32\ime\imereg.cmd @rem @echo REG ADD hkcu\software\microsoft\ctf\sortorder\language/v "00000000"/d "00000804" ^> nul >>%winpewindir%\system32\ime\imereg.cmd@rem @echo REG ADD hkcu\software\ Microsoft\ctf\hiddendummylayouts/v "00000804"/"00000804" ^> nul >>%winpewindir%\system32\ime\imereg.cmd@ echo REG ADD hkcu\software\microsoft\ctf\assemblies\0x00000804\{34745c63-b2f0-4784-8b67-5e12C8701A31}/V "Default"/"{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 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\ StartNet. Cmd@echo Echo Preparing WinPE ... >>%winpewindir%\system32\startnet. CMD @type%winpewindir%\system32\startnet.org >>%winpewindir%\system32\startnet. cmd@echo @echo . >>%winpewindir%\system32\startnet. Cmd@echo call%%windir%%\system32\ime\imereg.cmd >>%winpewindir%\system32\startnet. Cmdendlocal