准备的软件
1. UltraISO
2. Windows 7 CD/ISO 英文版 - sources\install.wim
3. IE11-Windows6.1-x86-en-us.exe (32-bits) / IE11-Windows6.1-x64-en-us.exe (64-bits)
https://www.microsoft.com/en-us/download/internet-explorer-11-for-windows-7-details.aspx
4. Windows6.1-KB2670838-x86.msu (32-bits) / Windows6.1-KB2670838-x64.msu (64-bits)
https://www.microsoft.com/en-us/download/details.aspx?id=36805
根据 Windows 7 版本来决定以下该用 -x86 (32-bits) / -x64 (64-bits) 和语言
1. 解压 IE11 到 d:\IE11
cd "c:\" ( 假设 IE11-Windows6.1-x86-en-us.exe 存在于 c:\ )
IE11-Windows6.1-x86-en-us.exe /x:d:\IE11
2. 检查 c:\win7\install.wim
(UltraISO -> 打开 Window 7 CD/ISO -> 复制 sources\install.wim 到 c:\win7)
dism /get-wiminfo /wimfile:c:\win7\install.wim
3. 挂载 c:\win7\install.wim 到 c:\win7\wim
dism /mount-wim /wimfile:c:\win7\install.wim /name:"Windows 7 HOMEPREMIUM" /mountdir:c:\win7\wim
以上 name 系数值可在步骤 2 取得.
4. 加入 patch (c:\Windows6.1-KB2670838-x86.msu)
dism /Image:c:\win7\wim /add-package /packagepath:c:\Windows6.1-KB2670838-x86.msu
5. 整合 IE11
dism /image:c:\win7\wim /add-package /packagepath:d:\IE11\IE-Win7.CAB
dism /image:c:\win7\wim /add-package /packagepath:d:\IE11\IE-Hyphenation-en.MSU
dism /image:c:\win7\wim /add-package /packagepath:d:\IE11\IE-Spelling-en.MSU
如果是 IE11-Windows6.1-x86-zh-cn.exe (Windows 7 SP1 中文版), 多安装以下IE的语言包..
dism /image:c:\win7\wim /add-package /packagepath:d:\IE11\ielangpack-zh-CN.CAB
6. 结束挂载
dism /unmount-wim /mountdir:c:\win7\wim /commit
7. 将 c:\win7\install.wim 覆盖掉原来的 Window 7 CD/ISO -> sources\install.wim
没有评论:
发表评论