Install passive (Need reboot after installation.):
%~dp0IE10-Windows6.1-x64-fr-fr.exe /passive /update-no /norestart /closeprograms
Download and install IE 10 and IE Administration Kit 10 (IEAK 10). You won't be able to install IEAK 10 if IE 10 is not installed on the machine. Use the Internet Explorer Customization Wizard to configure your package. The final output is an MSI (you also get a setup.exe if you wish to use that). Use the IE10.msi with the /qn switch and REBOOT=ReallySuppress property to silent install with no restart.
To uninstall IE 10, use this command:
wusa /uninstall /kb:2718695 /quiet /norestart
KB Prerequisite :
Windows6.1-KB2533623-x64.msu
Windows6.1-KB2670838-x64.msu
Windows6.1-KB2729094-v2-x64.msu
Windows6.1-KB2731771-x64.msu
Windows6.1-KB2786081-x64.msu
Windows6.1-KB2639308-x64.msu
Uninstall (Need reboot after installation.) :
FORFILES /P %WINDIR%\servicing\Packages /M *10.2.9200.16521.mum /C "cmd /c echo @fname && pkgmgr /up:@fname /quiet /norestart"
Nice in theory, but doesn't work in the real world for anyone without Internet connectivity (System account with no proxy access, no Internet, etc.)
Here's the way to install truly with no internet connection and only one reboot after all the pre-reqs and IE10:
And now for me to blow all your minds! lol Okay well maybe not but you'll still like it...
So of course anyone deploying where the System account cannot get to the Internet or anyone with Internet restrictions will run into this issue.
The trick is to first extract the files from the factory EXE (you need two separate for 32-bit/64-bit installers), for example:
IE10-Windows6.1-x86-en-us.exe /x:C:\temp\IE10_x86
Now for the magic. Here is your command to run to truly install IE wihtout the pre-req checks:
dism.exe /online /add-package /packagepath:C:\Temp\IE10_x86\IE-Win7.CAB /quiet /norestart /logpath:C:\Windows\Logs\Microsoft_IE_10.log
My script I'm using in SCCM with decent logging (you'll see my use of SysNative in the script; that's to account for the 32-bit SCCM client running this to install 64-bit apps):
Option Explicit
Dim objFSO : Set objFSO = CreateObject("Scripting.FileSystemObject")
Dim objShell : Set objShell = CreateObject("WScript.Shell")
Dim objEnv : Set objEnv = objShell.Environment("Process")
objEnv("SEE_MASK_NOZONECHECKS") = 1
Dim strScriptPath : strScriptPath = objFSO.GetParentFolderName(Wscript.ScriptFullName)
Dim LogFile : Set LogFile = objFSO.OpenTextFile("C:\Windows\Logs\Microsoft_Internet_Explorer_10_VBscript.log", 8, True)
Dim Return, KBname
'Determine OS Bit Level
Dim OSBitLevel
If GetObject("winmgmts:root\cimv2:Win32_Processor='cpu0'").AddressWidth = 32 Then
OSBitLevel = 32
ElseIf GetObject("winmgmts:root\cimv2:Win32_Processor='cpu0'").AddressWidth = 64 Then
OSBitLevel = 64
End If
LogFile.WriteLine(vbCrLf & "---------------------------------------------------------------------------------------------------------------------" & vbCrLf)
'64-bit installs
If OSBitLevel = 64 Then
'install 64-bit patch for KB2670838 (graphics and imaging issues fix)
LogFile.WriteLine(Now & " - Installing update KB2670838_x64 for graphics and imaging issues fix...")
Return = objShell.Run("wusa.exe " & strScriptPath & "\Windows6.1-KB2670838-x64.msu /quiet /norestart /log",0,True)
Results("KB2670838_x64")
'install 64-bit patch for KB2729094 (Segoe font fix)
LogFile.WriteLine(Now & " - Installing update KB2729094_x64 for Segoe font fix...")
Return = objShell.Run("wusa.exe " & strScriptPath & "\Windows6.1-KB2729094-v2-x64.msu /quiet /norestart /log",0,True)
Results("KB2729094_x64")
'install 64-bit patch for KB2731771 (local/UTC time conversion)
LogFile.WriteLine(Now & " - Installing update KB2731771_x64 for local/UTC time conversion fix...")
Return = objShell.Run("wusa.exe " & strScriptPath & "\Windows6.1-KB2731771-x64.msu /quiet /norestart /log",0,True)
Results("KB2731771_x64")
'install 64-bit patch for KB2533623 (Insecure library fix)
LogFile.WriteLine(Now & " - Installing update KB2533623_x64 for Insecure library fix...")
Return = objShell.Run("wusa.exe " & strScriptPath & "\Windows6.1-KB2533623-x64.msu /quiet /norestart /log",0,True)
Results("KB2533623_x64")
'install 64-bit patch for KB2786081 (IE credentials retention fix)
LogFile.WriteLine(Now & " - Installing update KB2786081_x64 for IE credentials retention fix...")
Return = objShell.Run("wusa.exe " & strScriptPath & "\Windows6.1-KB2786081-x64.msu /quiet /norestart /log",0,True)
Results("KB2786081_x64")
'install Internet Explorer 10 for 64-bit (includes 32-bit)
LogFile.WriteLine(Now & " - Installing Internet Explorer 10 for 64-bit...")
LogFile.WriteLine(Now & " - Install log: C:\Windows\Logs\Microsoft_IE_10.log")
'Factory installer: Return = objShell.Run(strScriptPath & "\IE10-Windows6.1-x64-en-us.exe /quiet /update-no /closeprograms /norestart /log:C:\Windows\Logs\",0,True)
If objFSO.FolderExists("C:\Windows\SysNative") Then
'run non-redirect to 64-bit DISM
Return = objShell.Run("C:\Windows\SysNative\dism.exe /online /add-package /packagepath:" & strScriptPath & "\IE10_x64\IE-Win7.CAB /quiet /norestart /logpath:C:\Windows\Logs\Microsoft_IE_10.log",0,True)
Else
Return = objShell.Run("dism.exe /online /add-package /packagepath:" & strScriptPath & "\IE10_x64\IE-Win7.CAB /quiet /norestart /logpath:C:\Windows\Logs\Microsoft_IE_10.log",0,True)
End If
If Return = 3010 Then
LogFile.WriteLine(Now & " - WARNING: Installation of Internet Explorer 10 has completed successfully, however, required reboot was suppressed!")
WScript.Quit(0)
ElseIf Return <> 0 Then
LogFile.WriteLine(Now & " - ERROR: Installation of Internet Explorer 10 has failed with error: " & RETURN)
Else
LogFile.WriteLine(Now & " - Installation of Internet Explorer 10 has completed successfully.")
End If
'32-bit installs
ElseIf OSBitLevel = 32 Then
'install 32-bit patch for KB2670838 (graphics and imaging issues fix)
LogFile.WriteLine(Now & " - Installing update KB2670838_x86 for graphics and imaging issues fix...")
Return = objShell.Run("wusa.exe " & strScriptPath & "\Windows6.1-KB2670838-x86.msu /quiet /norestart /log",0,True)
Results("KB2670838_x86")
'install 32-bit patch for KB2729094 (Segoe font fix)
LogFile.WriteLine(Now & " - Installing update KB2729094_x86 for Segoe font fix...")
Return = objShell.Run("wusa.exe " & strScriptPath & "\Windows6.1-KB2729094-v2-x86.msu /quiet /norestart /log",0,True)
Results("KB2729094_x86")
'install 32-bit patch for KB2731771 (local/UTC time conversion)
LogFile.WriteLine(Now & " - Installing update KB2731771_x86 for local/UTC time conversion fix...")
Return = objShell.Run("wusa.exe " & strScriptPath & "\Windows6.1-KB2731771-x86.msu /quiet /norestart /log",0,True)
Results("KB2731771_x86")
'install 32-bit patch for KB2533623 (Insecure library fix)
LogFile.WriteLine(Now & " - Installing update KB2533623_x86 for Insecure library fix...")
Return = objShell.Run("wusa.exe " & strScriptPath & "\Windows6.1-KB2533623-x86.msu /quiet /norestart /log",0,True)
Results("KB2533623_x86")
'install 32-bit patch for KB2786081 (IE credentials retention fix)
LogFile.WriteLine(Now & " - Installing update KB2786081_x86 for IE credentials retention fix...")
Return = objShell.Run("wusa.exe " & strScriptPath & "\Windows6.1-KB2786081-x86.msu /quiet /norestart /log",0,True)
Results("KB2786081_x86")
'install Internet Explorer 10 for 32-bit
LogFile.WriteLine(Now & " - Installing Internet Explorer 10...")
LogFile.WriteLine(Now & " - Install log: C:\Windows\Logs\Microsoft_IE_10.log")
'Factory installer: Return = objShell.Run(strScriptPath & "\IE10-Windows6.1-x86-en-us.exe /quiet /update-no /closeprograms /norestart /log:C:\Windows\Logs\",0,True)
Return = objShell.Run("dism.exe /online /add-package /packagepath:" & strScriptPath & "\IE10_x86\IE-Win7.CAB /quiet /norestart /logpath:C:\Windows\Logs\Microsoft_IE_10.log",0,True)
If Return = 3010 Then
LogFile.WriteLine(Now & " - WARNING: Installation of Internet Explorer 10 has completed successfully, however, required reboot was suppressed!")
WScript.Quit(0)
ElseIf Return <> 0 Then
LogFile.WriteLine(Now & " - ERROR: Installation of Internet Explorer 10 has failed with error: " & RETURN)
Else
LogFile.WriteLine(Now & " - Installation of Internet Explorer 10 has completed successfully.")
End If
End If
LogFile.Close
'Functions
'---------------------------------------------------------------------------------------------------------------------
Function Results(KBname)
Select Case Return
Case 9009
LogFile.WriteLine(Now & " - WARNING: " & KBname & " is already installed; skipping installation.")
Case 2359302
LogFile.WriteLine(Now & " - WARNING: " & KBname & " is already installed; skipping installation.")
Case -2145124329
LogFile.WriteLine(Now & " - WARNING: " & KBname & " is not required for this system; skipping installation.")
Case Else
LogFile.WriteLine(Now & " - Install of " & KBname & " has completed with return code: " & RETURN)
End Select
End Function
View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.