重新整合 Win7 核心,並更新上所有安全性更新並製成 9 in 1 其實說真的有點累人,且不只累人,還耗了我許多電啊!! SiaoT 從就讀大學之後就自己一個人在外奮發向…應該是上吧,總之就是電要錢,整合時基本上讓小黑的 CPU 達到 TDP,無奈的我當時還在跟好同學們打 LOL,造成我不斷 LAG,慶幸的是,我只要送頭都有藉口了~
其實上次整合的好像是到 2014/11 月份的所有更新,這次由於微軟的安全性有太多精采的漏洞公睹於世,所以就幫忙整合了到 2015/01 月份的所有安全性更新了。
目錄
準備工具
2015/01 Win7 更新包:傳送門
SiaoT 使用過去的方式建置環境,可以參考上面之前 Po 過的整合文章。
WIM 檔 IE11 + 安全性更新 bat
基本上這部分,會重複更新同一個位元,我想有人會問,同一個位元版本為什麼要多次整合更新? SiaoT 曾經也是這樣想,所以 x86/x64 都只個錯一次安全性更新,直到重灌的時候才發現,除了整合更新的那一個版本才會更新完成,簡單舉個例子:就是說我更新了 x86 簡易版,安裝 x86 Win7 的時候,只會除了簡易版以外,其他的 Win7 都沒有安全性更新。
所以這部分 SiaoT 多耗費了一些時間,將所有的版本都整合了一次。
DISM /Mount-Wim /WimFile:Image\x86\install.wim /Index:1 /MountDir:WIM DISM /Image:.\WIM /Add-Package /PackagePath:.\IE11_x86\Windows6.1-KB2670838-x86.msu DISM /Image:.\WIM /Add-Package /PackagePath:.\IE11_x86\IE-Win7.CAB /PackagePath:.\IE11_x86\ielangpack-zh-TW.CAB DISM /image:.\WIM /Add-Package /PackagePath:.\IE11_x86\IE-Hyphenation-en.MSU /PackagePath:.\IE11_x86\IE-Spelling-en.MSU DISM /Image:WIM /Add-Package /PackagePath:"Update\x86" DISM /Unmount-Wim /MountDir:WIM /commit DISM /Mount-Wim /WimFile:Image\x86\install.wim /Index:2 /MountDir:WIM DISM /Image:.\WIM /Add-Package /PackagePath:.\IE11_x86\Windows6.1-KB2670838-x86.msu DISM /Image:.\WIM /Add-Package /PackagePath:.\IE11_x86\IE-Win7.CAB /PackagePath:.\IE11_x86\ielangpack-zh-TW.CAB DISM /image:.\WIM /Add-Package /PackagePath:.\IE11_x86\IE-Hyphenation-en.MSU /PackagePath:.\IE11_x86\IE-Spelling-en.MSU DISM /Image:WIM /Add-Package /PackagePath:"Update\x86" DISM /Unmount-Wim /MountDir:WIM /commit DISM /Mount-Wim /WimFile:Image\x86\install.wim /Index:3 /MountDir:WIM DISM /Image:.\WIM /Add-Package /PackagePath:.\IE11_x86\Windows6.1-KB2670838-x86.msu DISM /Image:.\WIM /Add-Package /PackagePath:.\IE11_x86\IE-Win7.CAB /PackagePath:.\IE11_x86\ielangpack-zh-TW.CAB DISM /image:.\WIM /Add-Package /PackagePath:.\IE11_x86\IE-Hyphenation-en.MSU /PackagePath:.\IE11_x86\IE-Spelling-en.MSU DISM /Image:WIM /Add-Package /PackagePath:"Update\x86" DISM /Unmount-Wim /MountDir:WIM /commit DISM /Mount-Wim /WimFile:Image\x86\install.wim /Index:4 /MountDir:WIM DISM /Image:.\WIM /Add-Package /PackagePath:.\IE11_x86\Windows6.1-KB2670838-x86.msu DISM /Image:.\WIM /Add-Package /PackagePath:.\IE11_x86\IE-Win7.CAB /PackagePath:.\IE11_x86\ielangpack-zh-TW.CAB DISM /image:.\WIM /Add-Package /PackagePath:.\IE11_x86\IE-Hyphenation-en.MSU /PackagePath:.\IE11_x86\IE-Spelling-en.MSU DISM /Image:WIM /Add-Package /PackagePath:"Update\x86" DISM /Unmount-Wim /MountDir:WIM /commit DISM /Mount-Wim /WimFile:Image\x86\install.wim /Index:5 /MountDir:WIM DISM /Image:.\WIM /Add-Package /PackagePath:.\IE11_x86\Windows6.1-KB2670838-x86.msu DISM /Image:.\WIM /Add-Package /PackagePath:.\IE11_x86\IE-Win7.CAB /PackagePath:.\IE11_x86\ielangpack-zh-TW.CAB DISM /image:.\WIM /Add-Package /PackagePath:.\IE11_x86\IE-Hyphenation-en.MSU /PackagePath:.\IE11_x86\IE-Spelling-en.MSU DISM /Image:WIM /Add-Package /PackagePath:"Update\x86" DISM /Unmount-Wim /MountDir:WIM /commit DISM /Mount-Wim /WimFile:Image\x64\install.wim /Index:1 /MountDir:WIM DISM /Image:.\WIM /Add-Package /PackagePath:.\IE11_x64\Windows6.1-KB2670838-x64.msu DISM /Image:.\WIM /Add-Package /PackagePath:.\IE11_x64\IE-Win7.CAB /PackagePath:.\IE11_x64\ielangpack-zh-TW.CAB DISM /image:.\WIM /Add-Package /PackagePath:.\IE11_x64\IE-Hyphenation-en.MSU /PackagePath:.\IE11_x64\IE-Spelling-en.MSU DISM /Image:WIM /Add-Package /PackagePath:"Update\x64" DISM /Unmount-Wim /MountDir:WIM /commit DISM /Mount-Wim /WimFile:Image\x64\install.wim /Index:2 /MountDir:WIM DISM /Image:.\WIM /Add-Package /PackagePath:.\IE11_x64\Windows6.1-KB2670838-x64.msu DISM /Image:.\WIM /Add-Package /PackagePath:.\IE11_x64\IE-Win7.CAB /PackagePath:.\IE11_x64\ielangpack-zh-TW.CAB DISM /image:.\WIM /Add-Package /PackagePath:.\IE11_x64\IE-Hyphenation-en.MSU /PackagePath:.\IE11_x64\IE-Spelling-en.MSU DISM /Image:WIM /Add-Package /PackagePath:"Update\x64" DISM /Unmount-Wim /MountDir:WIM /commit DISM /Mount-Wim /WimFile:Image\x64\install.wim /Index:3 /MountDir:WIM DISM /Image:.\WIM /Add-Package /PackagePath:.\IE11_x64\Windows6.1-KB2670838-x64.msu DISM /Image:.\WIM /Add-Package /PackagePath:.\IE11_x64\IE-Win7.CAB /PackagePath:.\IE11_x64\ielangpack-zh-TW.CAB DISM /image:.\WIM /Add-Package /PackagePath:.\IE11_x64\IE-Hyphenation-en.MSU /PackagePath:.\IE11_x64\IE-Spelling-en.MSU DISM /Image:WIM /Add-Package /PackagePath:"Update\x64" DISM /Unmount-Wim /MountDir:WIM /commit DISM /Mount-Wim /WimFile:Image\x64\install.wim /Index:4 /MountDir:WIM DISM /Image:.\WIM /Add-Package /PackagePath:.\IE11_x64\Windows6.1-KB2670838-x64.msu DISM /Image:.\WIM /Add-Package /PackagePath:.\IE11_x64\IE-Win7.CAB /PackagePath:.\IE11_x64\ielangpack-zh-TW.CAB DISM /image:.\WIM /Add-Package /PackagePath:.\IE11_x64\IE-Hyphenation-en.MSU /PackagePath:.\IE11_x64\IE-Spelling-en.MSU DISM /Image:WIM /Add-Package /PackagePath:"Update\x64" DISM /Unmount-Wim /MountDir:WIM /commit pause
運行畫面:
9 in 1 整合 bat
imagex /info Image\x86\install.wim 1 "Windows7 Starter SP1 x86" "由 SiaoT 整合的 Windows7 Starter (簡易版) SP1 x86" imagex /export Image\x86\install.wim 1 Image\x86\install-Ent.wim imagex /info Image\x86\install.wim 2 "Windows7 Home Basic SP1 x86" "由 SiaoT 整合的 Windows7 Home Basic (家用入門版) SP1 x86" imagex /export Image\x86\install.wim 2 Image\x86\install-Ent.wim imagex /info Image\x86\install.wim 3 "Windows7 Home Premium SP1 x86" "由 SiaoT 整合的 Windows7 Home Premium (家用進階版) SP1 x86" imagex /export Image\x86\install.wim 3 Image\x86\install-Ent.wim imagex /info Image\x86\install.wim 4 "Windows7 Professional SP1 x86" "由 SiaoT 整合的 Windows7 Professional (專業版) SP1 x86" imagex /export Image\x86\install.wim 4 Image\x86\install-Ent.wim imagex /info Image\x86\install.wim 5 "Windows7 Ultimate SP1 x86" "由 SiaoT 整合的 Windows7 Ultimate (旗艦版) SP1 x86" imagex /export Image\x86\install.wim 5 Image\x86\install-Ent.wim imagex /info Image\x64\install.wim 1 "Windows7 Home Basic SP1 x64" "由 SiaoT 整合的 Windows7 Home Basic (家用入門版) SP1 x64" imagex /export Image\x64\install.wim 1 Image\x86\install-Ent.wim imagex /info Image\x64\install.wim 2 "Windows7 Home Premium SP1 x64" "由 SiaoT 整合的 Windows7 Home Premium (家用進階版) SP1 x64" imagex /export Image\x64\install.wim 2 Image\x86\install-Ent.wim imagex /info Image\x64\install.wim 3 "Windows7 Professional SP1 x64" "由 SiaoT 整合的 Windows7 Professional (專業版) SP1 x64" imagex /export Image\x64\install.wim 3 Image\x86\install-Ent.wim imagex /info Image\x64\install.wim 4 "Windows7 Ultimate SP1 x64" "由 SiaoT 整合的 Windows7 Ultimate (旗艦版) SP1 x64" imagex /export Image\x64\install.wim 4 Image\x86\install-Ent.wim pause
運行畫面:
總結
SiaoT 做了一個小實驗,使用不同的方式做整合,包含使用工具 WIMTooL、ImageX 軟體版、Dos 版,下圖可以看到。
2015 整合的部分,檔案大小將近大了 1GB 這麼多,其中 2015 部分有 7GB 跟 6.9GB,分別是用 WIMTool 與 ImageX 整合。