Slipstream Internet Explorer 11 into Windows 7 Ultimate x86 source

CatOnRug solve, automate, speed up Slipstream Internet Explorer 11 into Windows 7 Ultimate x86 source
The following tutorial will integrate Internet Explorer 11 version 11.0.42 into Windows 7 x86 installation source.

Check if kb4018271 is the latest update available!

For 64-bit version check out Slipstream Internet Explorer 11 into Windows 7 Ultimate x64 source

Install "Deployment Tools" from adksetup.exe now.
Windows Assessment and Deployment Kit Wizard. Only Deployment Tools is gonna be installed

Download X17-59183.iso

To work with this method I need additional libraries:
7z.dll | 7z.exe | date.exe | libiconv2.dll | libintl3.dll | regex2.dll | tr.exe | sed.exe

Save save these files:
windows6.1-kb2729094-v2-x86.msu - prerequisite for IE11
windows6.1-kb2731771-x86.msu - prerequisite for IE11
windows6.1-kb2533623-x86.msu - prerequisite for IE11
windows6.1-kb2670838-x86.msu - prerequisite for IE11
windows6.1-kb2786081-x86.msu - prerequisite for IE11
windows6.1-kb2834140-v2-x86.msu - prerequisite for IE11 - Ineternet Explorer 11
ie11-windows6.1-kb4018271-x86_3eb0c93394fca87f3de52ae200a57e1770e741d6.msu - Cumulative Security Update for IE11
windows6.1-kb3020369-x86_82e168117c23f7c479a97ee96c82af788d07452e.msu - Servicing Stack Update
windows6.1-kb2621440-x86_2e25bf396aaba95c314693104ef67aff8c143959.msu - High Priority Security Update
windows6.1-kb3138612-x86_6e90531daffc13bc4e92ecea890e501e807c621f.msu - Update Agent version 7.6.7600.320
windows6.1-kb2900986-x86_a993e450237ad5109c06691b47cea6aedb86642f.msu - Cumulative Security Update for ActiveX Killbits
windows6.1-kb2685811-x86_4db620a8b8e85bab4822626530d01fd923c28786.msu - Update for Kernel-Mode Driver Framework version 1.11
windows6.1-kb2685813-x86_d2c51b6b97d4ffcb069bcaafbff3135e96fe18e5.msu - Update for User-Mode Driver Framework version 1.11

Click Save Target as on autounattend.xml

Create c:\slisptream.cmd with content:
@echo off

time /t

set s=%~dp0X17-59183.iso

set i=5

set w=%temp%
echo Working directory is:
echo %w%

for /f "tokens=*" %%d in ('"%~dp0date.exe" +%%Y-%%m-%%d') do set yyyymmdd=%%d

setlocal EnableDelayedExpansion

echo Extracting iso..
if exist "%w%\iso" rd "%w%\iso" /Q /S
"%~dp07z.exe" x "%s%" -o"%w%\iso" > nul 2>&1

rem I want to use latest dism utility instead of default
cd "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM"

rem echo This media contains following versions of Windows:
rem dism /get-wiminfo /wimfile:"%w%\iso\sources\install.wim" | find "Name"

for /f "tokens=2 delims=:" %%n in ('dism /get-wiminfo /wimfile:%w%\iso\sources\install.wim /index:%i% ^| find "Name"') do for /f "tokens=* delims= " %%f in ('echo %%n') do (
for /f "tokens=3 delims= " %%a in ('dism /get-wiminfo /wimfile:%w%\iso\sources\install.wim /index:%i% ^| find "Architecture"') do (
for /f "tokens=3 delims= " %%v in ('dism /get-wiminfo /wimfile:%w%\iso\sources\install.wim /index:%i% ^| find "Version"') do (
for /f "tokens=3 delims= " %%e in ('dism /get-wiminfo /wimfile:%w%\iso\sources\install.wim /index:%i% ^| find "Edition"') do (
for /f "tokens=4 delims= " %%w in ('dism /get-wiminfo /wimfile:%w%\iso\sources\install.wim /index:%i% ^| find "Name"') do (

echo Working with %%f %%a

rem Create a mounting directory
if not exist "%w%\mount" md "%w%\mount"

dism /mount-wim /wimfile:"%w%\iso\sources\install.wim" /index:%i% /mountdir:"%w%\mount" > nul 2>&1

for /f "tokens=*" %%u in ('^
dir /b "%~dp0" ^|
"%~dp0sed.exe" "s/-/\n/g" ^|
findstr /I "KB" ^|
sort') do (

rem slipstream update by update in chronological order
for /f "tokens=*" %%k in ('dir /b "%~dp0*%%u*"') do (
echo Slipstreaming %%u.. | "%~dp0tr.exe" -d "\r\n"
dism /image:"%w%\mount" /add-package /packagepath:"%~dp0%%k" > nul 2>&1
if !errorlevel!==0 echo OK
if not !errorlevel!==0 echo !errorlevel!

echo Unmounting index %i% from install.wim
dism /unmount-wim /mountdir:"%w%\mount" /commit > nul 2>&1

echo Exporting only index %i% from install.wim
".\dism.exe" /Export-Image /SourceImageFile:"%w%\iso\sources\install.wim" /SourceIndex:%i% /DestinationImageFile:"%~dp0%%f %%a-%yyyymmdd%.wim" /Compress:max

echo Overwriting install.wim
xcopy "%~dp0%%f %%a-%yyyymmdd%.wim" "%w%\iso\sources\install.wim" /Y

echo Setting up Zero Touch installation
xcopy "%~dp0autounattend.xml" "%w%\iso" /Y

echo Creating iso file "%~dp0%%f %%a-%yyyymmdd%.iso"
"..\Oscdimg\oscdimg.exe" -b"%w%\iso\boot\" -h -u2 -m -lcustom "%w%\iso" "%~dp0%%f %%a-%yyyymmdd%.iso" > nul 2>&1

rem Remove working dir
if exist "%w%\mount" rd "%w%\mount" /Q /S

if exist "%w%\iso" rd "%w%\iso" /Q /S


time /t


No comments:

Post a Comment