準備
DISM 部署映像工具 (Windows 7 內建)Windows 7 SP1 映像檔 X64 or X86
Win7 修正包
IE 11 X64 or X86 必要條件更新 KB2533623 KB2670838 KB2731771 更新包未重複項
作法 以 X64 Professional 為例
目錄設置參考D:\Win7\
D:\Win7\mount
D:\Win7\update
D:\Win7\ie11
D:\Win7\ie11\IEPre
D:\Win7\drivers
重點
Win7 修正包 解壓至 D:\Win7\update 剔除 KB2533552 避免整合失敗IE 11 IE11-Windows6.1-x64-zh-tw.exe /x:D:\Win7\ie11
必要條件更新放至 D:\Win7\ie11\IEPre
掛載 Windows 7 SP1 映像檔 為 E:\
Dism /Export-Image /SourceImageFile:E:\sources\install.wim /SourceIndex:3 /DestinationImageFile:D:\Win7\install.wim
Dism /Mount-Image /ImageFile:"D:\Win7\install.wim" /index:1 /MountDir:"D:\Win7\mount"
整合 Windows 7 X64 安全性更新檔
DISM /Image:D:\Win7\mount /add-package /packagepath:D:\Win7\update\01\7SP1
整合 Windows 7 X64 更新檔
DISM /Image:D:\Win7\mount /add-package /packagepath:D:\Win7\update\02\7SP1
DISM /Image:D:\Win7\mount /add-package /packagepath:D:\Win7\update\03\7SP1
整合 IE 11
DISM /Image:D:\Win7\mount /add-package /packagepath:D:\Win7\ie11\IEPre
DISM /Image:D:\Win7\mount /add-package /packagepath:D:\Win7\ie11\IE-Win7.CAB /packagepath:D:\Win7\ie11\ielangpack-zh-TW.CAB
DISM /Image:D:\Win7\mount /add-package /packagepath:D:\Win7\ie11\IE-Hyphenation-en.MSU /packagepath:D:\Win7\ie11\IE-Spelling-en.MSU
整合 .NET Framework 3.5.1 更新檔
DISM /Image:D:\Win7\mount /add-package /packagepath:D:\Win7\update\04\7SP1
整合 Windows 7 驅動
Dism /Add-Driver /Image:"D:\Win7\mount" /Driver:D:\Win7\drivers /Recurse /ForceUnsigned
關閉 Windows 7 非必要服務
Dism /Image:D:\Win7\mount /Disable-Feature /FeatureName:"TabletPCOC"
Dism /Image:D:\Win7\mount /Disable-Feature /FeatureName:"MediaCenter"
Dism /Image:D:\Win7\mount /Disable-Feature /FeatureName:"OpticalMediaDisc"
Dism /Image:D:\Win7\mount /Disable-Feature /FeatureName:"InboxGames"
Dism /Image:D:\Win7\mount /Disable-Feature /FeatureName:"More Games"
Dism /Image:D:\Win7\mount /Disable-Feature /FeatureName:"Solitaire"
Dism /Image:D:\Win7\mount /Disable-Feature /FeatureName:"SpiderSolitaire"
Dism /Image:D:\Win7\mount /Disable-Feature /FeatureName:"Hearts"
Dism /Image:D:\Win7\mount /Disable-Feature /FeatureName:"FreeCell"
Dism /Image:D:\Win7\mount /Disable-Feature /FeatureName:"Minesweeper"
Dism /Image:D:\Win7\mount /Disable-Feature /FeatureName:"PurblePlace"
Dism /Image:D:\Win7\mount /Disable-Feature /FeatureName:"Chess"
Dism /Image:D:\Win7\mount /Disable-Feature /FeatureName:"Shanghai"
Dism /Image:D:\Win7\mount /Disable-Feature /FeatureName:"Internet Games"
套用整合並卸除 WIM 檔
Dism /Set-AllIntl:zh-TW /Image:D:\Win7\mount
Dism /Unmount-Image /MountDir:D:\Win7\mount /commit
DISM /Cleanup-Wim
P.S. 不適用安裝後注入語言包切換語系,有機率死機(黑畫面+鼠標)