2015年4月5日 星期日

整合 Windows 7 更新 & IE 11 紀錄

準備

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. 不適用安裝後注入語言包切換語系,有機率死機(黑畫面+鼠標)


整合 USB 3.0 驅動至 WinPE 3.1 ( Windows 7 )

準備

DISM 部署映像工具 (Windows 7 內建)
Windows 7 SP1 映像檔 X64 or X86
USB 3.0 驅動 X64 or X86

作法 以 X64 為例

目錄設置參考
D:\WinPE\
D:\WinPE\mount
D:\WinPE\Drivers

掛載 Windows 7 SP1 映像檔 為 E:\
Dism /Export-Image /SourceImageFile:E:\sources\boot.wim /SourceIndex:2 /DestinationImageFile:D:\WinPE\boot.wim

Dism /Mount-Image /ImageFile:D:\WinPE\boot.wim /index:1 /MountDir:D:\WinPE\mount

整合 Windows 7 驅動
Dism /Add-Driver /Image:D:\WinPE\mount /Driver:D:\WinPE\Drivers /Recurse /ForceUnsigned

Dism /Set-AllIntl:zh-TW /Image:D:\WinPE\mount
Dism /Unmount-Image /MountDir:D:\WinPE\mount /commit
DISM /Cleanup-Wim

Windows 7 AIK 安裝與更新紀錄

參考

Windows 7 Windows 自動化安裝套件讀我檔案

準備

1.Windows 7 的自動化安裝套件 AIK

2.Windows 7 SP1 的自動化安裝套件補充

作法

"自動化安裝套件 AIK" 安裝過程請參考網路......不贅述

套件補充










安裝 Windows PE 3.1 Windows AIK 補充元件

掛載 waik_supplement_zh-tw.iso 為 E:\

xcopy E:\ "C:\Program Files\Windows AIK\Tools\PETools" /ERDY