Hi Guys ,
For those of you who have issues in their environments upgrading to IE 11 and also want to make sure that the respective updates for IE get installed with the IE installation since now the updates being offered for IE 11 are coming as cumulative updates . That means great news for us , we just install IE 11 and then install one patch which makes sure the IE 11 is upgraded to the latest patch level .
Solution is running the dism command in a bat file and install all of the prerequisite, IE11, and latest update at the same time, and it only need to restart machine only one time.The following is the demo script:
ECHO OFF
ECHO Installing IE 11 prerequisite: KB2834140
dism /online /add-package /packagepath:c:\path\Windows6.1-KB2834140-v2-x64.cab /quiet /norestart
ECHO Installing IE 11 prerequisite: KB2670838
dism /online /add-package /packagepath:c:\path\Windows6.1-KB2670838-x64.cab /quiet /norestart
ECHO Installing IE 11 prerequisite: KB2639308
dism /online /add-package /packagepath:c:\path\Windows6.1-KB2639308-x64.cab /quiet /norestart
ECHO Installing IE 11 prerequisite: KB2533623
dism /online /add-package /packagepath:c:\path\Windows6.1-KB2533623-x64.cab /quiet /norestart
ECHO Installing IE 11 prerequisite: KB2731771
dism /online /add-package /packagepath:c:\path\Windows6.1-KB2731771-x64.cab /quiet /norestart
ECHO Installing IE 11 prerequisite: KB2729094
dism /online /add-package /packagepath:c:\path\Windows6.1-KB2729094-v2-x64.cab /quiet /norestart
ECHO Installing IE 11 prerequisite: KB2786081
dism /online /add-package /packagepath:c:\path\Windows6.1-KB2786081-x64.cab /quiet /norestart
ECHO Installing IE 11 prerequisite: KB2888049
dism /online /add-package /packagepath:c:\path\Windows6.1-KB2888049-x64.cab /quiet /norestart
ECHO Installing IE 11 prerequisite: KB2882822
dism /online /add-package /packagepath:c:\path\Windows6.1-KB2882822-x64.cab /quiet /norestart
ECHO Installing IE 11 main
dism /online /add-package /packagepath:c:\path\IE-Win7.cab /quiet /norestart
ECHO Installing latest update: KB3124275
dism /online /add-package /packagepath:c:\path\IE11-Windows6.1-KB3124275-x64.cab /quiet /norestart
More information about the script:
- Change all of the paths in red based on the your settings. E.g. c:\IESetup\.
- This script is for x64 machine, if the machines are x86 machine, please download the packages for X86 and change the file names. You can get the correct file name from the steps below.
- Please note that all of the installation are based on cab files. You can get the update related cab files using the steps below:
- Please go to the Update Catalog: http://catalog.update.microsoft.com/v7/site/Thanks.aspx?id=120
- Select the correct update package (x86 or X64) and download it to a local machine.
- Copy the cab file to a folder on the target machine. E.g. c:\path\ in my sample.
- Including the latest update, KB3124275.
- For the IE-Win7.cab package,
- Please download the IE11 installation package from: https://www.microsoft.com/en-us/download/Internet-Explorer-11-for-Windows-7-details.aspx.
- Extract the exe file using the compressing tool. You can see the IE-Redist.exe file in the uncompressed folder
- Run the following command:IE-Redist.exe /x:c:\tmp
- You can find the IE-Win7.cab file under the c:\tmp folder.
- Copy the IE-Win7.cab file to the same folder on the target machine
Please first test the bat file on a testing machine (run it using local administrator permission for test purpose) and check if the script can upgrade IE11 as expected. Please note that the setup is silent and IE11 will be upgraded after the machine reboots.
And once done you can then use the same script through SCCM to deploy on clients and servers to upgrade to IE11 .
Note: If you create two packages, you need to change the path in your script with a local path, and make sure the first package copy all cab files to the local path.
- Create a package to copy all cab files to specific folder on client machine: 1 a.Create a SCCM package which contain IE11 related cab files .
1 b. Create a program like below:
Xcopy .\*.* C:\test\ /Y
2.Create another package to run the script.
2.a.Create a package which contain IE11 installation script file .
Note : And if you client is 64bit OS, I suggest you to deploy the package via Task sequence:
So we upgrade to IE 11 following this method .
Leave a Reply