1. 使用ERD Commander 2005 Boot CD Wizard创建ERD2005镜像,同时可添加一些必要的驱动。
2. 解开所得的镜像,准备一张Windows Server 2003光盘,
将 mingliu.ttc, simhei.ttf, simsun.ttc, svgafix.fon, svgasys.fon, vga936.fon 拷贝到ERD的I386\Fonts目录下
将 c_10002.nls, c_10008.nls, c_20000.nls, c_20932.nls, c_20936.nls, c_21027.nls, c_g18030.dll, c_is2022.dll,
prc.nls, prcp.nls, winpy.ime, winpy.mb 拷贝到ERD的I386\system32目录下。
3. 可选:将bootfix.bin拷贝到ERD的I386目录下,将cmd.exe拷贝到I386\system32目录下覆盖原来的cmd.exe并复制一份覆盖
原来的CommandShell.exe,将regedit.exe更名拷贝到I386\system32(因ERD自带的regedit.exe不支持加载注册表文件)。
4. 可选(替换Firefox):删除I386\system32\Firefox和I386\system32\FireFoxProfile目录,将已安装的Firefox整个安装目录
拷贝到I386\system32,并更名为Firefox,创建I386\system32\FirefoxProfile\Application Data\Mozilla目录,并将
%USERPROFILE%\Application Data\Mozilla\Firefox目录拷贝到I386\system32\FirefoxProfile\Application Data\Mozilla下。
5. 打开注册表编辑器,加载I386\system32\setupreg.hiv,命名为HKLM\ERD_SYSTEM,加载I386\system32\software,命名为
HKLM\ERD_SOFTWARE,加载I386\system32\default,命名为HKLM\ERD_DEFAULT,将以下内容导入注册表
------------------ ERD2005_CHS.reg begin -----------------------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\filesystem]
"NtfsAllowExtendedCharacterIn8dot3Name"=dword:00000001
[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\fontassoc]
[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\fontassoc\associated charset]
"ANSI(00)"="YES"
"OEM(FF)"="YES"
"SYMBOL(02)"="NO"
[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\fontassoc\associated defaultfonts]
"AssocSystemFont"="simsun.ttc"
"FontPackage"="新宋体"
"FontPackageDontCare"="新宋体"
"FontPackageRoman"="新宋体"
"FontPackageSwiss"="新宋体"
"FontPackageModern"="新宋体"
"FontPackageScript"="新宋体"
"FontPackageDecorative"="新宋体"
[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\Keyboard Layouts\00000804]
"Layout File"="KBDUS.DLL"
"Layout Text"="Chinese (Simplified) - US Keyboard"
"Layout Display Name"="@%SystemRoot%\\system32\\input.dll,-5072"
[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\keyboard layouts\e0010804]
"Layout File"="KBDUS.DLL"
"Layout Text"="Chinese (Simplified) - Pinyin"
"Layout Display Name"="@%SystemRoot%\\system32\\input.dll,-5073"
"IME file"="winpy.ime"
[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\nls\codepage]
"ACP"="936"
"MACCP"="10008"
"OEMCP"="936"
"21027"="c_21027.nls"
"20000"="c_20000.nls"
"20932"="c_20932.nls"
"20936"="c_20936.nls"
"50227"="c_is2022.dll"
"50229"="c_is2022.dll"
"52936"="c_is2022.dll"
"936"="c_936.nls"
"10008"="c_10008.nls"
"54936"="c_g18030.dll"
"950"="c_950.nls"
"10002"="c_10002.nls"
[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\nls\language]
"Default"="0804"
"InstallLanguage"="0409"
"0409"="l_intl.nls"
"0804"="l_intl.nls"
"0404"="l_intl.nls"
[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\nls\language groups]
"a"="1"
"9"="1"
[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\nls\locale]
"00000804"="a"
"00001004"="a"
"00000404"="9"
"00000c04"="9"
"00001404"="9"
[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\nls\locale\alternate sorts]
"00020804"="a"
"00021004"="a"
"00030404"="9"
"00021404"="9"
[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\TimeZoneInformation]
"ActiveTimeBias"=dword:fffffe20
"Bias"=dword:fffffe20
"DaylightBias"=dword:00000000
"DaylightName"="China Standard Time"
"DaylightStart"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"StandardBias"=dword:00000000
"StandardName"="China Standard Time"
"StandardStart"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Hardware Profiles\current\software\fonts]
"LogPixels"=dword:00000060
"FIXEDFON.FON"="svgafix.fon"
"FONTS.FON"="svgasys.fon"
"OEMFONT.FON"="vga936.fon"
[HKEY_LOCAL_MACHINE\ERD_SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\Nls]
"00000409"=""
"00000804"=hex(7):
"00000404"=hex(7):
[HKEY_LOCAL_MACHINE\ERD_SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont]
"936"=hex(7):2a,00,b0,65,8b,5b,53,4f,00,00,2a,00,4e,00,53,00,69,00,6d,00,53,00,\
75,00,6e,00,00,00,00,00
"950"=hex(7):2a,00,30,7d,0e,66,d4,9a,00,00,2a,00,4d,00,69,00,6e,00,67,00,4c,00,\
69,00,55,00,00,00,00,00
[HKEY_LOCAL_MACHINE\ERD_SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink]
"FontLinkControl"=dword:00004000
"FontLinkDefaultChar"=dword:00003000
[HKEY_LOCAL_MACHINE\ERD_SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"Microsoft Sans Serif"=hex(7):53,00,69,00,6d,00,53,00,75,00,6e,00,2e,00,54,00,\
54,00,43,00,2c,00,53,00,69,00,6d,00,53,00,75,00,6e,00,00,00,67,00,75,00,6c,\
00,69,00,6d,00,2e,00,74,00,74,00,63,00,2c,00,67,00,75,00,6c,00,69,00,6d,00,\
00,00,4d,00,53,00,47,00,4f,00,54,00,48,00,49,00,43,00,2e,00,54,00,54,00,43,\
00,2c,00,4d,00,53,00,20,00,55,00,49,00,20,00,47,00,6f,00,74,00,68,00,69,00,\
63,00,00,00,6d,00,69,00,6e,00,67,00,6c,00,69,00,75,00,2e,00,74,00,74,00,63,\
00,2c,00,50,00,4d,00,69,00,6e,00,67,00,4c,00,69,00,55,00,00,00,00,00
"SimSun"=hex(7):6d,00,69,00,63,00,72,00,6f,00,73,00,73,00,2e,00,74,00,74,00,66,\
00,00,00,67,00,75,00,6c,00,69,00,6d,00,2e,00,74,00,74,00,63,00,2c,00,67,00,\
75,00,6c,00,69,00,6d,00,00,00,4d,00,53,00,47,00,4f,00,54,00,48,00,49,00,43,\
00,2e,00,54,00,54,00,43,00,2c,00,4d,00,53,00,20,00,55,00,49,00,20,00,47,00,\
6f,00,74,00,68,00,69,00,63,00,00,00,6d,00,69,00,6e,00,67,00,6c,00,69,00,75,\
00,2e,00,74,00,74,00,63,00,2c,00,50,00,4d,00,69,00,6e,00,67,00,4c,00,69,00,\
55,00,00,00,00,00
"Lucida Sans Unicode"=hex(7):4d,00,53,00,47,00,4f,00,54,00,48,00,49,00,43,00,\
2e,00,54,00,54,00,43,00,2c,00,4d,00,53,00,20,00,55,00,49,00,20,00,47,00,6f,\
00,74,00,68,00,69,00,63,00,00,00,00,00
"PMingLiU"=hex(7):53,00,69,00,6d,00,53,00,75,00,6e,00,2e,00,54,00,54,00,43,00,\
2c,00,53,00,69,00,6d,00,53,00,75,00,6e,00,00,00,00,00
"Courier New"=hex(7):4d,00,53,00,47,00,4f,00,54,00,48,00,49,00,43,00,2e,00,54,\
00,54,00,43,00,2c,00,4d,00,53,00,20,00,55,00,49,00,20,00,47,00,6f,00,74,00,\
68,00,69,00,63,00,00,00,53,00,69,00,6d,00,53,00,75,00,6e,00,2e,00,54,00,54,\
00,43,00,2c,00,53,00,69,00,6d,00,53,00,75,00,6e,00,00,00,6d,00,69,00,6e,00,\
67,00,6c,00,69,00,75,00,2e,00,74,00,74,00,63,00,2c,00,50,00,4d,00,69,00,6e,\
00,67,00,4c,00,69,00,55,00,00,00,67,00,75,00,6c,00,69,00,6d,00,2e,00,74,00,\
74,00,63,00,2c,00,67,00,75,00,6c,00,69,00,6d,00,00,00,00,00
[HKEY_LOCAL_MACHINE\ERD_SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontMapper]
"DEFAULT"=dword:00000086
[HKEY_LOCAL_MACHINE\ERD_SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"SimSun & NSimSun (TrueType)"="simsun.ttc"
"SimHei (TrueType)"="simhei.ttf"
"MingLiU & PMingLiU (TrueType)"="mingliu.ttc"
"Microsoft Sans Serif (TrueType)"="MICROSS.TTF"
[HKEY_LOCAL_MACHINE\ERD_SOFTWARE\Microsoft\Windows NT\CurrentVersion\GRE_Initialize]
"FIXEDFON.FON"="svgafix.fon"
"FONTS.FON"="svgasys.fon"
"OEMFONT.FON"="vga936.fon"
[HKEY_LOCAL_MACHINE\ERD_SOFTWARE\Microsoft\Windows NT\CurrentVersion\IMM]
"LoadIMM"=dword:00000001
"LoadCTFIME"=dword:00000001
[HKEY_LOCAL_MACHINE\ERD_SOFTWARE\Microsoft\Windows NT\CurrentVersion\LanguagePack]
"SURROGATE"=dword:00000002
[HKEY_LOCAL_MACHINE\ERD_DEFAULT\Control Panel\International]
"iCountry"="86"
"iCurrDigits"="2"
"iCurrency"="0"
"iDate"="2"
"iDigits"="2"
"iLZero"="0"
"iMeasure"="0"
"iNegCurr"="2"
"iTime"="1"
"iTLZero"="0"
"Locale"="00000804"
"s1159"="上午"
"s2359"="下午"
"sCountry"="People's Republic of China"
"sCurrency"="¥"
"sDate"="-"
"sDecimal"="."
"sLanguage"="CHS"
"sList"=","
"sLongDate"="yyyy'年'M'月'd'日'"
"sShortDate"="yyyy-M-d"
"sThousand"=","
"sTime"=":"
"sTimeFormat"="H:mm:ss"
"iTimePrefix"="1"
"sMonDecimalSep"="."
"sMonThousandSep"=","
"iNegNumber"="1"
"sNativeDigits"="0123456789"
"NumShape"="1"
"iCalendarType"="1"
"iFirstDayOfWeek"="6"
"iFirstWeekOfYear"="0"
"sGrouping"="3;0"
"sMonGrouping"="3;0"
"sPositiveSign"=""
"sNegativeSign"="-"
[HKEY_LOCAL_MACHINE\ERD_DEFAULT\Control Panel\International\Geo]
"Nation"="45"
[HKEY_LOCAL_MACHINE\ERD_DEFAULT\Keyboard Layout]
[HKEY_LOCAL_MACHINE\ERD_DEFAULT\Keyboard Layout\Preload]
"1"="00000804"
"2"="e0010804"
[HKEY_LOCAL_MACHINE\ERD_DEFAULT\Keyboard Layout\Substitutes]
[HKEY_LOCAL_MACHINE\ERD_DEFAULT\Keyboard Layout\Toggle]
"Hotkey"="2"
------------------ ERD2005_CHS.reg end -----------------------------------
加载完毕后卸载上述三个注册表文件。
6. 打开I386\txtsetup.sif
搜索[nls],将下面数行按照如下修改:
AnsiCodepage = c_936.nls,936,c_1252.nls,1252
OemCodepage = c_936.nls,936,c_437.nls,437,c_850.nls,850
MacCodepage = c_10008.nls,10008,c_10000.nls,10000
UnicodeCasetable = l_intl.nls,0804,l_intl.nls,0409
OemHalFont = vgaoem.fon
DefaultLayout = 00000804
7. 完毕,重新制作光盘镜像,enjoy it。
A. 参考:
1) 易通制作的汉化版ERD2005
2) 本坛cq-x516的一些帖子
B. 分析制作过程所用工具
cq-x516提供的WinPE注册表编辑
RegSnap
Beyond Compare
InCtrl5
Dependency Walker
WinImage
[ 本帖最后由 render 于 2006-6-12 03:11 PM 编辑 ] |