IE10 Install Script

email me

This is a simple script to install IE10. Good for SCCM or LANDesk. If you don’t want to create your own package, try using Microsoft’s IEAK to generate an EXE or MSI.

The 32.exe contains the extracted IE install files.

@echo on

:: Set Current Directory
Set CurDir=%CD%

:: Extract files
"%CurDir%\32.exe"

:: Install IE10 cab
dism.exe /online /add-package /packagepath:%CurDir%\IE-Win7.CAB /quiet /norestart /logpath:C:\Windows\Logs\Microsoft_IE_10.log

:: EXIT WITH CODE
exit /b 0

:: --------- OTHER STUFF ---------

:: NOTES - How to extract files
:: IE10-Windows6.1-x86-en-us.exe /x:C:\EXTRACT

:: Install IE10 EXE
"%CurDir%\IE10-Windows6.1-x86-en-us.exe" /quiet /update-no /closeprograms /norestart

:: Install IE10 CAB
Dism /Online /Add-Package /PackagePath:%CurDir%\IE-Win7.CAB /norestart
Dism /Online /Add-Package /PackagePath:%CurDir%\IE-Spelling-NEU.MSU /norestart
Dism /Online /Add-Package /PackagePath:%CurDir%\IE-Hyphenation-NEU.MSU /norestart

:: Updates that may be needed
"%CurDir%\Windows6.1-KB2729094-v2-x64.msu" /quiet /norestart
"%CurDir%\Windows6.1-KB2731771-x64.msu" /quiet /norestart
"%CurDir%\Windows6.1-KB2533623-x64.msu" /quiet /norestart
"%CurDir%\Windows6.1-KB2670838-x64.msu" /quiet /norestart
"%CurDir%\Windows6.1-KB2786081-x64.msu" /quiet /norestart

:: Disable Auto Upgrade
:: Windows Registry Editor Version 5.00

::[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main]
:: "EnableAutoUpgrade"=dword:00000000