ECHO OFF CLS REM Batch Script to Install Windows Internet Explorer 7 REM REM Upon system start, checks for IE7 existence, then installs REM REM Install this script in C:\Documents and Settings\All Users\Start Menu\Programs\Startup REM REM The following line checks registry for previous install of IE7 REG QUERY "HKLM\Software\Microsoft\Internet Explorer\Version Vector" /v IE |Find /I /C "7.0000">nul IF %ERRORLEVEL% NEQ 0 (GOTO :install) ELSE (GOTO :notrequired) :install REM Executes IE7 in Passive Mode (EXE was created with IEAK and has switches built-in) REM C:\Packages\IE7exe\Source\IE7Setup.exe REM IF ERRORLEVEL 1 GOTO :incomplete EXIT REM The following lines can be unR*Marked for testing :notrequired REM Exits Command Line REM ECHO %date% - %time% REM ECHO IE7 Detected, Update Will Now Exit. REM PAUSE EXIT :incomplete REM Exits Command Line REM ECHO %date% - %time% REM ECHO Update Failed REM PAUSE EXIT
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.