Jump to content

Windows 7 Slipstream


Philip Yip

Recommended Posts

I created a Windows 7 Update Slipstream Script to update the boot.wim and install.wim in the Windows 7 USB with the USB 3.0 Drivers and Storage Controllers and the install.wim with the NVMe Hotfixes, Convenience Rollup, IE11 and the Latest Security Rollup. I see the Windows ISO Download Tool - "ISOs Tools" section has the EI.cfg removal. Is there any chance it could automate this procedure, downloading all the Updates in the Background and then carrying out the slipstream?

64 Bit

Dism /Get-WimInfo /WimFile:C:\boot.wim
Dism /Get-WimInfo /WimFile:C:\install.wim
PAUSE
mkdir C:\BOOT2
Dism /Mount-WIM /WimFile:C:\boot.wim /index:2 /MountDir:C:\BOOT2
Dism /Image:C:\BOOT2 /Add-Driver /Driver:C:\Drivers /Recurse
Dism /Unmount-WIM /MountDir:C:\BOOT2 /Commit
rmdir C:\BOOT2
mkdir C:\HOMEBASIC
Dism /Mount-WIM /WimFile:C:\install.wim /index:1 /MountDir:C:\HOMEBASIC
Dism /Image:C:\HOMEBASIC /Add-Package /PackagePath:C:\Updates\Windows6.1-KB3020369-x64.msu
Dism /Image:C:\HOMEBASIC /Add-Package /PackagePath:C:\Updates\windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu
Dism /Image:C:\HOMEBASIC /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2729094-v2-x64.msu
Dism /Image:C:\HOMEBASIC /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2670838-x64.msu
Dism /Image:C:\HOMEBASIC /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2834140-v2-x64.msu
Dism /Image:C:\HOMEBASIC /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2639308-x64.msu
Dism /Image:C:\HOMEBASIC /Add-Package /packagepath:C:\IE11
Dism /Image:C:\HOMEBASIC /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2990941-v3-x64.msu
Dism /Image:C:\HOMEBASIC /Add-Package /PackagePath:C:\Updates\Windows6.1-KB3087873-v2-x64.msu
Dism /Image:C:\HOMEBASIC /Add-Package /PackagePath:C:\Updates\windows6.1-kb4471318-x64_b4c39ec96309b1e457d76f2294664b9068044d38.msu
Dism /Image:C:\HOMEBASIC /Add-Driver /Driver:C:\Drivers /Recurse
Dism /Unmount-WIM /MountDir:C:\HOMEBASIC /Commit
rmdir C:\HOMEBASIC
mkdir C:\HOMEPREMIUM
Dism /Mount-WIM /WimFile:C:\install.wim /index:2 /MountDir:C:\HOMEPREMIUM
Dism /Image:C:\HOMEPREMIUM /Add-Package /PackagePath:C:\Updates\Windows6.1-KB3020369-x64.msu
Dism /Image:C:\HOMEPREMIUM /Add-Package /PackagePath:C:\Updates\windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu
Dism /Image:C:\HOMEPREMIUM /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2729094-v2-x64.msu
Dism /Image:C:\HOMEPREMIUM /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2670838-x64.msu
Dism /Image:C:\HOMEPREMIUM /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2834140-v2-x64.msu
Dism /Image:C:\HOMEPREMIUM /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2639308-x64.msu
Dism /Image:C:\HOMEPREMIUM /Add-Package /packagepath:C:\IE11
Dism /Image:C:\HOMEPREMIUM /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2990941-v3-x64.msu
Dism /Image:C:\HOMEPREMIUM /Add-Package /PackagePath:C:\Updates\Windows6.1-KB3087873-v2-x64.msu
Dism /Image:C:\HOMEPREMIUM /Add-Package /PackagePath:C:\Updates\windows6.1-kb4471318-x64_b4c39ec96309b1e457d76f2294664b9068044d38.msu
Dism /Image:C:\HOMEPREMIUM /Add-Driver /Driver:C:\Drivers /Recurse
Dism /Unmount-WIM /MountDir:C:\HOMEPREMIUM /Commit
rmdir C:\HOMEPREMIUM
mkdir C:\PROFESSIONAL
Dism /Mount-WIM /WimFile:C:\install.wim /index:3 /MountDir:C:\PROFESSIONAL
Dism /Image:C:\PROFESSIONAL /Add-Package /PackagePath:C:\Updates\Windows6.1-KB3020369-x64.msu
Dism /Image:C:\PROFESSIONAL /Add-Package /PackagePath:C:\Updates\windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu
Dism /Image:C:\PROFESSIONAL /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2729094-v2-x64.msu
Dism /Image:C:\PROFESSIONAL /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2670838-x64.msu
Dism /Image:C:\PROFESSIONAL /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2834140-v2-x64.msu
Dism /Image:C:\PROFESSIONAL /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2639308-x64.msu
Dism /Image:C:\PROFESSIONAL /Add-Package /packagepath:C:\IE11
Dism /Image:C:\PROFESSIONAL /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2990941-v3-x64.msu
Dism /Image:C:\PROFESSIONAL /Add-Package /PackagePath:C:\Updates\Windows6.1-KB3087873-v2-x64.msu
Dism /Image:C:\PROFESSIONAL /Add-Package /PackagePath:C:\Updates\windows6.1-kb4471318-x64_b4c39ec96309b1e457d76f2294664b9068044d38.msu
Dism /Image:C:\PROFESSIONAL /Add-Driver /Driver:C:\Drivers /Recurse
Dism /Unmount-WIM /MountDir:C:\PROFESSIONAL /Commit
rmdir C:\PROFESSIONAL
mkdir C:\ULTIMATE
Dism /Mount-WIM /WimFile:C:\install.wim /index:4 /MountDir:C:\ULTIMATE
Dism /Image:C:\ULTIMATE /Add-Package /PackagePath:C:\Updates\Windows6.1-KB3020369-x64.msu
Dism /Image:C:\ULTIMATE /Add-Package /PackagePath:C:\Updates\windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu
Dism /Image:C:\ULTIMATE /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2729094-v2-x64.msu
Dism /Image:C:\ULTIMATE /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2670838-x64.msu
Dism /Image:C:\ULTIMATE /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2834140-v2-x64.msu
Dism /Image:C:\ULTIMATE /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2639308-x64.msu
Dism /Image:C:\ULTIMATE /Add-Package /packagepath:C:\IE11
Dism /Image:C:\ULTIMATE /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2990941-v3-x64.msu
Dism /Image:C:\ULTIMATE /Add-Package /PackagePath:C:\Updates\Windows6.1-KB3087873-v2-x64.msu
Dism /Image:C:\ULTIMATE /Add-Package /PackagePath:C:\Updates\windows6.1-kb4471318-x64_b4c39ec96309b1e457d76f2294664b9068044d38.msu
Dism /Image:C:\ULTIMATE /Add-Driver /Driver:C:\Drivers /Recurse
Dism /Unmount-WIM /MountDir:C:\ULTIMATE /Commit
rmdir C:\ULTIMATE
dism /Get-WimInfo /WimFile:C:\boot.wim
dism /Get-WimInfo /WimFile:C:\install.wim
PAUSE
 

32 Bit

dism /Get-WimInfo /WimFile:C:\boot.wim
dism /Get-WimInfo /WimFile:C:\install.wim
PAUSE
mkdir C:\Win7\BOOT1
Dism /Mount-WIM /WimFile:C:\boot.wim /index:2 /MountDir:C:\Win7\BOOT1
Dism /Image:C:\Win7\BOOT1 /Add-Driver /Driver:C:\Drivers /Recurse
Dism /Unmount-WIM /MountDir:C:\Win7\BOOT1 /Commit
rmdir C:\Win7\BOOT1
mkdir C:\Win7\STARTER
Dism /Mount-WIM /WimFile:C:\install.wim /index:1 /MountDir:C:\Win7\STARTER
Dism /Image:C:\Win7\STARTER /Add-Package /PackagePath:C:\Updates\Windows6.1-KB3020369-x86.msu
Dism /Image:C:\Win7\STARTER /Add-Package /PackagePath:C:\Updates\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu
Dism /Image:C:\Win7\STARTER /Add-Driver /Driver:C:\Drivers /Recurse
Dism /Image:C:\Win7\STARTER /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2729094-v2-x86.msu
Dism /Image:C:\Win7\STARTER /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2670838-x86.msu
Dism /Image:C:\Win7\STARTER /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2834140-v2-x86.msu
Dism /Image:C:\Win7\STARTER /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2639308-x86.msu
Dism /Image:C:\Win7\STARTER /Add-Package /packagepath:C:\Updates\IE11
Dism /Image:C:\Win7\STARTER /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2990941-v3-x86.msu
Dism /Image:C:\Win7\STARTER /Add-Package /PackagePath:C:\Updates\Windows6.1-KB3087873-v2-x86.msu
Dism /Image:C:\Win7\STARTER /Add-Package /PackagePath:C:\Updates\windows6.1-kb4471318-x86_bbbcd30c74c6b1eaf7585ef0fc124ffc18a11e3b.msu
Dism /Unmount-WIM /MountDir:C:\Win7\STARTER /Commit
rmdir C:\Win7\STARTER
mkdir C:\Win7\HOMEBASIC
Dism /Mount-WIM /WimFile:C:\install.wim /index:2 /MountDir:C:\Win7\HOMEBASIC
Dism /Image:C:\Win7\HOMEBASIC /Add-Package /PackagePath:C:\Updates\Windows6.1-KB3020369-x86.msu
Dism /Image:C:\Win7\HOMEBASIC /Add-Package /PackagePath:C:\Updates\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu
Dism /Image:C:\Win7\HOMEBASIC /Add-Driver /Driver:C:\Drivers /Recurse
Dism /Image:C:\Win7\HOMEBASIC /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2729094-v2-x86.msu
Dism /Image:C:\Win7\HOMEBASIC /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2670838-x86.msu
Dism /Image:C:\Win7\HOMEBASIC /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2834140-v2-x86.msu
Dism /Image:C:\Win7\HOMEBASIC /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2639308-x86.msu
Dism /Image:C:\Win7\HOMEBASIC /Add-Package /packagepath:C:\Updates\IE11
Dism /Image:C:\Win7\HOMEBASIC /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2990941-v3-x86.msu
Dism /Image:C:\Win7\HOMEBASIC /Add-Package /PackagePath:C:\Updates\Windows6.1-KB3087873-v2-x86.msu
Dism /Image:C:\Win7\HOMEBASIC /Add-Package /PackagePath:C:\Updates\windows6.1-kb4471318-x86_bbbcd30c74c6b1eaf7585ef0fc124ffc18a11e3b.msu
Dism /Unmount-WIM /MountDir:C:\Win7\HOMEBASIC /Commit
rmdir C:\Win7\HOMEBASIC
mkdir C:\Win7\HOMEPREMIUM
Dism /Mount-WIM /WimFile:C:\install.wim /index:3 /MountDir:C:\Win7\HOMEPREMIUM
Dism /Image:C:\Win7\HOMEPREMIUM /Add-Package /PackagePath:C:\Updates\Windows6.1-KB3020369-x86.msu
Dism /Image:C:\Win7\HOMEPREMIUM /Add-Package /PackagePath:C:\Updates\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu
Dism /Image:C:\Win7\HOMEPREMIUM /Add-Driver /Driver:C:\Drivers /Recurse
Dism /Image:C:\Win7\HOMEPREMIUM /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2729094-v2-x86.msu
Dism /Image:C:\Win7\HOMEPREMIUM /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2670838-x86.msu
Dism /Image:C:\Win7\HOMEPREMIUM /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2834140-v2-x86.msu
Dism /Image:C:\Win7\HOMEPREMIUM /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2639308-x86.msu
Dism /Image:C:\Win7\HOMEPREMIUM /Add-Package /packagepath:C:\Updates\IE11
Dism /Image:C:\Win7\HOMEPREMIUM /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2990941-v3-x86.msu
Dism /Image:C:\Win7\HOMEPREMIUM /Add-Package /PackagePath:C:\Updates\Windows6.1-KB3087873-v2-x86.msu
Dism /Image:C:\Win7\HOMEPREMIUM /Add-Package /PackagePath:C:\Updates\windows6.1-kb4471318-x86_bbbcd30c74c6b1eaf7585ef0fc124ffc18a11e3b.msu
Dism /Unmount-WIM /MountDir:C:\Win7\HOMEPREMIUM /Commit
rmdir C:\Win7\HOMEPREMIUM
mkdir C:\Win7\PROFESSIONAL
Dism /Mount-WIM /WimFile:C:\install.wim /index:4 /MountDir:C:\Win7\PROFESSIONAL
Dism /Image:C:\Win7\PROFESSIONAL /Add-Package /PackagePath:C:\Updates\Windows6.1-KB3020369-x86.msu
Dism /Image:C:\Win7\PROFESSIONAL /Add-Package /PackagePath:C:\Updates\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu
Dism /Image:C:\Win7\PROFESSIONAL /Add-Driver /Driver:C:\Drivers /Recurse
Dism /Image:C:\Win7\PROFESSIONAL /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2729094-v2-x86.msu
Dism /Image:C:\Win7\PROFESSIONAL /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2670838-x86.msu
Dism /Image:C:\Win7\PROFESSIONAL /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2834140-v2-x86.msu
Dism /Image:C:\Win7\PROFESSIONAL /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2639308-x86.msu
Dism /Image:C:\Win7\PROFESSIONAL /Add-Package /packagepath:C:\Updates\IE11
Dism /Image:C:\Win7\PROFESSIONAL /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2990941-v3-x86.msu
Dism /Image:C:\Win7\PROFESSIONAL /Add-Package /PackagePath:C:\Updates\Windows6.1-KB3087873-v2-x86.msu
Dism /Image:C:\Win7\PROFESSIONAL /Add-Package /PackagePath:C:\Updates\windows6.1-kb4471318-x86_bbbcd30c74c6b1eaf7585ef0fc124ffc18a11e3b.msu
Dism /Unmount-WIM /MountDir:C:\Win7\PROFESSIONAL /Commit
rmdir C:\Win7\PROFESSIONAL
mkdir C:\Win7\ULTIMATE
Dism /Mount-WIM /WimFile:C:\install.wim /index:5 /MountDir:C:\Win7\ULTIMATE
Dism /Image:C:\Win7\ULTIMATE /Add-Package /PackagePath:C:\Updates\Windows6.1-KB3020369-x86.msu
Dism /Image:C:\Win7\ULTIMATE /Add-Package /PackagePath:C:\Updates\windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu
Dism /Image:C:\Win7\ULTIMATE /Add-Driver /Driver:C:\Drivers /Recurse
Dism /Image:C:\Win7\ULTIMATE /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2729094-v2-x86.msu
Dism /Image:C:\Win7\ULTIMATE /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2670838-x86.msu
Dism /Image:C:\Win7\ULTIMATE /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2834140-v2-x86.msu
Dism /Image:C:\Win7\ULTIMATE /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2639308-x86.msu
Dism /Image:C:\Win7\ULTIMATE /Add-Package /packagepath:C:\Updates\IE11
Dism /Image:C:\Win7\ULTIMATE /Add-Package /PackagePath:C:\Updates\Windows6.1-KB2990941-v3-x86.msu
Dism /Image:C:\Win7\ULTIMATE /Add-Package /PackagePath:C:\Updates\Windows6.1-KB3087873-v2-x86.msu
Dism /Image:C:\Win7\ULTIMATE /Add-Package /PackagePath:C:\Updates\windows6.1-kb4471318-x86_bbbcd30c74c6b1eaf7585ef0fc124ffc18a11e3b.msu
Dism /Unmount-WIM /MountDir:C:\Win7\ULTIMATE /Commit
rmdir C:\Win7\ULTIMATE
dism /Get-WimInfo /WimFile:C:\boot.wim
dism /Get-WimInfo /WimFile:C:\install.wim
PAUSE
More details here:

https://dellwindowsreinstallationguide.com/slipstream-win7/

Edited by Philip Yip
Link to comment
Share on other sites

On a machine that has ADK installed, it would be quite easy to do. But we can't really expect that to be the case on a random system...

Without ADK, it seems quite a challenge. It's one thing to set a deletion flag in the ISO file table. Adding new files to an ISO is a whole different thing. It would require very deep understanding of the ISO file structure. I'll look into the ISO specifications when I have a bit more time at hand. It would be totally worth it to do, even as a standalone tool. There's currently no free tool that can add files to an ISO (at least none that I could find).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...