February 18, 2015 at 7:48 am #1064
Need to deploy Internet Explorer 11 from SCCM 2012? This method also works for deploying Internet Explorer 11 from SCCM 2007 too.
The crux of the deployment of IE 11 via SCCM is as follows:
- In order to deploy IE 11 so that it’s instantly usable in your environment, you must deploy the prerequisites, reboot, then deploy IE 11 itself, then reboot, then patch it so that Enterprise Mode works (KB3003057)
- Two of the 6 prerequisite updates are not available in SCCM (WSUS)
- The manually downloaded prerequisite patches are not exe’s or MSI’s so you can’t easily deploy them and it’s not wise to deploy them as a repackaged application because the Windows update manager on the client might not know that it has those patches installed (this can effect future patching).
So to get around this, you have to deploy IE 11 as part of a task sequence. Here’s how to do that:
- First download the prerequisite updates
- Store them in a folder in a network share that you users can get to (the folder that you use to deploy software from SCCM)
- Next create a text file called install.vbs in that directory
- Edit install.vbs and paste the following code into it (The code basically iterates through every MSU file and installs them sequentially):
Dim objfso, objShell
Dim folder, files, sFolder, folderidx, Iretval, return
Set objfso = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("Wscript.Shell")
sFolder = left(WScript.ScriptFullName,(Len(WScript.ScriptFullName))-(len(WScript.ScriptName)))
Set folder = objfso.GetFolder(sFolder)
Set files = folder.Files
For each folderIdx In files
If Ucase(Right(folderIdx.name,3)) = "MSU" then
wscript.echo "c:\windows\system32\wusa.exe """ & sfolder & folderidx.name & """ /quiet /norestart"
iretval=objShell.Run ("c:\windows\system32\wusa.exe """ & sfolder & folderidx.name & """ /quiet /norestart", 1, True)
- Create an SCCM software deployment package and program, pointing to install.vbs, you may wish to apply this to a specific collection
- Create an update collection (pointing to the same collection in the previous step) to install the IE 11 update and updates to IE 11 (KB3003057 is required to enable Enterprise Mode, which you definitely need). If you only need to patch to a certain level and those KB’s have already been superseded, then you can create a package / program with those updates as you did for the IE 11 prerequisites
- Next create a task sequence with the following steps, and apply the task sequence to the collection you created:
1. Install the prerequisites program
3. Install all available updates to the client
5. Install package with specific updates that have been superseded (Optional)
6. Reboot (Optional)
Adding clients to the collection should then deploy Internet Explorer 11 to them. You may get lots of reboots if there are other software updates outstanding on that machine. Note that you also need to set up and test the GPO(s) for IE 11 prior to deployment, and of course have tested the corporate websites to ensure that they work. You may need to use a mix of Compatibility Mode and Enterprise Mode to get all the websites working.
January 21, 2016 at 12:42 am #1635
I know this is an old post but we are in desperate need of help. I copied and pasted your VBS script however, SCCM reports that the Advertisement is running. It runs for a really long time and then it fails. When I manually try to run the install.vbs to test it, nothing happens. This leads me to believe that something is wrong with the script. What am I doing wrong and can you please help me out?
January 21, 2016 at 6:55 am #1636
While the script did install IE 11 in our environment, I don’t think we ended up rolling IE out with SCCM that way.
With some testing (despite Microsoft’s recommendation), it turns out that you don’t need to reboot in between installing these files, so no need for the script.
How we deployed it in the end, I don’t remember. We might have even used IEAK 11.
You must be logged in to reply to this topic.