- Most Recent Articles on MrTweak.com
- Free Trial of Exchange Server 2007, Hosted by Microsoft and Unisys
- Stop Expiration of HP Inkjet Printer Cartridges
- Dugg or Slashdotted: Why Shared Web Hosting is a Scam
- MrTweak.com Server Transfer - Excuse Any Downtime
Posted Network and Internet Configuration, Software - Microsoft Programs on Tuesday, May 2nd, 2006.
Any need to run the new Internet Explorer 7 Beta to test a web app or other project? Problem is that IE 7 doesn’t officially support a standalone mode anymore and installing it removes IE 6.x - so you may be giving up a working IE browser for a buggy beta one. If you’re familiar with Microsoft’s Beta software then you may also know that they have a tendency to have poor uninstall routines that end up forcing you to manually remove “leftovers” before you can install the official release of IE 7.
There is an easy way to run the IE 7 browser in standalone mode, thanks to Jon Galloway. Below in Step #3, I’ve added a VBS script that hides the DOS window that needs to be kept open in his version. Here are the steps:
- Download the IE 7 Beta installer, “IE7B2P-WindowsXP-x86-enu.exe” is the current version. Extract the files in the installer by opening a command line to the folder it’s saved in and type “IE7BETA2-WindowsXP-x86-enu.exe -e” to extract it to a temporary folder (something like C:\abcdefghijklmnop\), or use WinRAR if you have it installed already. Before closing the popup notification message, copy all the extracted files from the temporary folder to a permanent folder, I’ll use C:\IE7\ in the example. You can change the folder name, but edit the attached scripts if you’re going to change their filenames.
- Create a file named IE7.bat in the folder C:\IE7\ and paste in Jeff Galloway’s IE7 script:
@ECHO OFF
TITLE IE7 Launcher 1.4ECHO IE7 STANDALONE LAUNCHER 1.4
ECHO Updated for IE7 Beta 2 Preview
ECHO.
ECHO Do not close this window or it will not clean up after itself properly.
ECHO You can pass a URL into this batch file, like this:
ECHO ie7.bat www.microsoft.com
ECHO.
ECHO More info here: http://weblogs.asp.net/jgalloway/archive/2005/12/28/434132.aspx
ECHO.
ECHO When you close IE7, this will remove the registry key and shut itself down.
ECHO.
ECHO Setting up IE7 for standalone mode…
PUSHD %~dp0ECHO Removing IE7 registry key and set the version vector to “7.0000″.
> %TEMP%.\IE7Fix.reg ECHO REGEDIT4
>>%TEMP%.\IE7Fix.reg ECHO.
>>%TEMP%.\IE7Fix.reg ECHO [-HKEY_CLASSES_ROOT\CLSID\{C90250F3-4D7D-4991-9B69-A5C5BC1C2AE6}]
>>%TEMP%.\IE7Fix.reg ECHO [-HKEY_CLASSES_ROOT\Interface\{000214E5-0000-0000-C000-000000000046}]
>>%TEMP%.\IE7Fix.reg ECHO [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version Vector]
>>%TEMP%.\IE7Fix.reg ECHO “IE”=”7.0000″
>>%TEMP%.\IE7Fix.reg ECHO.
:: Merge the REG file to delete the IE7 standalone entry
REGEDIT /S %TEMP%.\IE7Fix.regREN SHLWAPI.DLL SHLWAPI.DLL.BAK
TYPE NUL > IEXPLORE.exe.local
ECHO Running IE7…
iexplore.exe “%1″:: Merge the REG file to delete the IE7 standalone entry
REGEDIT /S %TEMP%.\IE7Fix.reg
:: Delete the temporary REG file
DEL %TEMP%.\IE7Fix.regECHO Removing IE7 standalone files…
REN SHLWAPI.DLL.BAK SHLWAPI.DLL
DEL IEXPLORE.exe.local:: Set the old version vector “6.0000″.
> %TEMP%.\IE7Fix.reg ECHO REGEDIT4
>>%TEMP%.\IE7Fix.reg ECHO.
>>%TEMP%.\IE7Fix.reg ECHO [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version Vector]
>>%TEMP%.\IE7Fix.reg ECHO “IE”=”6.0000″
>>%TEMP%.\IE7Fix.reg ECHO.
REGEDIT /S %TEMP%.\IE7Fix.reg
DEL %TEMP%.\IE7Fix.regPOPD
ECHO Complete, closing… - Create a file named IE7.vbs in the folder C:\IE7\ and add the following VBS script:
Set oShell = CreateObject(”WScript.Shell”)
oShell.Run “ie7.bat”, 0, True - That’s it. To run IE 7, just create a shortcut to the IE7.vbs file and don’t worry about cleanup or keeping any DOS windows open.
Comment on this post below
You can leave a response, or trackback from your own site.