Internet Explorer 11 slipstream into Server 2008 R2

I have this original Windows Server 2008 R2 media disk:
en_windows_server_2008_r2_with_sp1_x64_dvd_617601.iso
8dcde01d0da526100869e2457aafb7ca
d3fd7bf85ee1d5bdd72de5b2c69a7b470733cd0a

This media do not have Internet Explorer 11 integrated. Challenge Accepted!

To work with this solution Deployment and Imaging Tools must be installed:
http://download.microsoft.com/download/3/8/B/38BBCA6A-ADC9-4245-BCD8-DAA136F63C8B/adk/adksetup.exe
This package works nicely on Windows 7, 8.1, 10

Now i take en_windows_server_2008_r2_with_sp1_x64_dvd_617601.iso
Inside this iso file in sources directory there is install.wim.
This install.wim include a lot of indexes this time:
1: Windows Server 2008 R2 SERVERSTANDARD
2: Windows Server 2008 R2 SERVERSTANDARDCORE
3: Windows Server 2008 R2 SERVERENTERPRISE
4: Windows Server 2008 R2 SERVERENTERPRISECORE
5: Windows Server 2008 R2 SERVERDATACENTER
6: Windows Server 2008 R2 SERVERDATACENTERCORE
7: Windows Server 2008 R2 SERVERWEB
8: Windows Server 2008 R2 SERVERWEBCORE
My goal is to slipstream Internet Explorer 11 just in "Windows Server 2008 R2 SERVERDATACENTER" edition only. It is index 5.

Some updates has been outdated and replaced with new ones: kb2533623 has been replaced with kb3101746
kb2639308 has been replaced with kb3146706
kb2731771 has been replaced with kb2758857
kb2882822 has been replaced with kb3080149

Now i create few directories for all prerequisites and IE11 installer:
if not exist C:\u2k8r2\KB2533623 md C:\u2k8r2\KB2533623
if not exist C:\u2k8r2\KB2639308 md C:\u2k8r2\KB2639308
if not exist C:\u2k8r2\KB2670838 md C:\u2k8r2\KB2670838
if not exist C:\u2k8r2\KB2729094 md C:\u2k8r2\KB2729094
if not exist C:\u2k8r2\KB2731771 md C:\u2k8r2\KB2731771
if not exist C:\u2k8r2\KB2786081 md C:\u2k8r2\KB2786081
if not exist C:\u2k8r2\KB2834140 md C:\u2k8r2\KB2834140
if not exist C:\u2k8r2\KB2847882 md C:\u2k8r2\KB2847882
if not exist C:\u2k8r2\KB2882822 md C:\u2k8r2\KB2882822
if not exist C:\u2k8r2\KB2888049 md C:\u2k8r2\KB2888049
Now i need to download some files:
Save kb3146706 into C:\u2k8r2\KB2533623
Save kb3101746 into C:\u2k8r2\KB2639308
Save kb2670838 into C:\u2k8r2\KB2670838
Save kb2729094 into C:\u2k8r2\KB2729094
Save kb2758857 into C:\u2k8r2\KB2731771
Save kb2786081 into C:\u2k8r2\KB2786081
Save kb2834140 into C:\u2k8r2\KB2834140
Save IE11-Windows6.1-x64-en-us.exe into C:\u2k8r2\KB2847882
Save kb3080149 into C:\u2k8r2\KB2882822
Save kb2888049 into C:\u2k8r2\KB2888049

Lets get hands dirty now!

1) Open Deployment and Imaging environment in "Run As Administrator" mode
2) Extract Internet Explorer 11 installer:
C:\u2k8r2\KB2847882\IE11-Windows6.1-x64-en-us.exe /x:C:\u2k8r2\KB2847882
3) Leave only IE-Win7.CAB in KB2847882 directory:
for /f "tokens=*" %f in ('dir /b c:\u2k8r2\KB2847882 ^| find /v "IE-Win7.CAB"') do del c:\u2k8r2\KB2847882\%f
4) Extract en_windows_server_2008_r2_with_sp1_x64_dvd_617601.iso to c:\iso

5) Create mounting directory:
if not exist c:\mount md c:\mount
6) Mount install.wim to the mount point
dism /mount-wim /wimfile:c:\iso\sources\install.wim /index:5 /mountdir:c:\mount
7) Slipstream all packages in alphabetical order. This will take 10 minutes or something
for /f "tokens=*" %p in ('dir /b c:\u2k8r2') do dism /image:c:\mount /add-package /packagepath:c:\u2k8r2\%p
8) Unmount install.wim file:
dism /unmount-wim /mountdir:c:\mount /commit
9) Extract only the index you are really interested. This will allow to save few hundreds of megabytes:
"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\dism.exe" /Export-Image /SourceImageFile:c:\iso\sources\install.wim /SourceIndex:5 /DestinationImageFile:c:\install.wim /Compress:max
10) Overwite CD content:
move /Y c:\install.wim c:\iso\sources
11) In this step i usually inject Windows Server 2008 R2 DataCenter autounattend.xml into c:\iso. This step can be skipped.

12) Re-create bootable iso image:
"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\Oscdimg\oscdimg.exe" -b"c:\iso\boot\etfsboot.com" -h -u2 -m -lwin2k8r2 "c:\iso" "c:\win2k8r2ie11.iso"
13) Remove mounting directory:
if exist c:\mount rd c:\mount /Q /S
14) Remove iso directory:
if exist c:\iso rd c:\iso /Q /S
c:\win2k8r2ie11.iso is my new media with Internet Explorer 11 integrated.

No comments: