IE7 beta running side by side with IE6

Update: All IE Browsers Standalone On Same PC (September 28, 2006) solves the problem.

In the comments of “Multiple versions of IE in one Windows PC” I could see that other people also had problems with the suggestion to make IE6 standalone.

Jon Galloway has the solution: Run IE7 as standalone and keep IE6 as the default browser. I have tried it out for a couple of days and could not get it to work until he posted a followup, IE7 Standalone Launch Script:

How to use the IE7 Launch Script:

  1. If you already have IE7 set up for standalone mode, skip to step 4.
  2. Download the IE7 Beta Install from MSDN. […]
  3. Open the install file with a decompression program like WinRAR (yep, it’s an EXE, but it’s a self extracting EXE) and extract them to a folder. […]
  4. Copy the text below to notepad and save it as IE7.bat in the same folder you’re setting up the standalone IE7 copy.
  5. When you want to run IE7, double click IE7.bat – it pops up a DOS window that will hang around as long as IE7 is running so it can clean up after it (by deleting that pesky registry key) when you close IE7. Don’t close the DOS window down or your pancreas will implode.
  6. When you’re done with IE7, just shut it down. The DOS window will clean up that pesky registry key and delete the standalone files, then disappear. If you shut IE7 down and the DOS window hangs around, just close it and run it again.

Here is the script that should be saved as IE7.bat:

@ECHO OFF
TITLE IE7 Launcher 1.3

ECHO IE7 STANDALONE LAUNCHER 1.3
ECHO
Updated for IE7 Beta 2 Preview 2/2/2006
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 More info here: http://blogs.msdn.com/ie/archive/2005/12/16/504864.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 %~dp0

ECHO Removing IE7 registry key.
>
%TEMP%.\IE7Fix.reg ECHO REGEDIT4
>>%TEMP%.\IE7Fix.reg ECHO.
>>
%TEMP%.\IE7Fix.reg ECHO [-HKEY_CLASSES_ROOT\CLSID\{C90250F34D7D49919B69A5C5BC1C2AE6}]
>>
%TEMP%.\IE7Fix.reg ECHO [-HKEY_CLASSES_ROOT\Interface\{000214E500000000C000000000000046}]
>>
%TEMP%.\IE7Fix.reg ECHO.
:: Merge the REG file to delete the IE7 standalone entry
REGEDIT /S %TEMP%.\IE7Fix.reg

REN 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.reg

ECHO Removing IE7 standalone files
REN SHLWAPI.DLL.BAK SHLWAPI.DLL
DEL IEXPLORE.exe.local
POPD
ECHO
Complete, closing

One problem with this: If I start IE6 before IE7, I cannot use the address bar in IE6 (as this loads the page in Firefox which is my default browser). The workaround for me is to start IE7, and then start IE6. Now I can see a web page in IE7 and IE6 side-by side.

I’m really glad Jon updated the script. The previous script worked with IE7 beta 1, but with beta 2 it could only run once once, then it would not work for me. Eli on Jon Galloway’s comment page has exacly the same problem.

So, if you want to install IE7 and keep a working version of IE6, then I could only recommend the Jon Galloway method described above. He has an updated article: Runing IE7 Beta 2 Preview next to IE6 (the right way).

Technorati Tags: , , , , , , , , , ,

6 Responses to “IE7 beta running side by side with IE6”

  1. justaddwater.dk | Multiple versions of IE in one Windows PC - Prepare for IE7 Says:

    […] UPDATE 2006-02-03: The method described below will sometimes not work. To run IE7 and IE6 side-by-side, see the new post “IE7 beta running side by side with IE6“. For older versions of IE, this still works and you could safely continue as described below, (but you should acknowledge that this is still “unsupported”, and is likely to make Internet Explorer less stable). […]

  2. Leslie Franke » Blog Archive » Running IE 7 Beta 2 with IE 6 in Standalone Mode Says:

    […] Thanks to Jon Galloway, we can now run IE7 in standalone mode while keeping IE6 as the main IE version. Run IE7 as standalone and keep IE6 as the default browser. Visit Jon’s web site for more information and the script necessary to accomplish this. Basically many of the non-browsing features do not work but it is quire handy to browse and test websites. In addition, justaddwater has reported that “If I start IE6 before IE7, I cannot use the address bar in IE6 (as this loads the page in Firefox which is my default browser). The workaround for me is to start IE7, and then start IE6. Now I can see a web page in IE7 and IE6 side-by side.” Remember this solution is unsupported and thus may cause problems, but many have reported it working so far. […]

  3. justaddwater.dk | IE 7, web standards and CSS support Says:

    […] I have previously written about how to run IE7 beta side by side with IE6. But according to Jon Galloway (inventor of the trick), this only works up to before IE7 Beta 3. But the good thing is that he is working on an update. […]

  4. justaddwater.dk | All IE Browsers Standalone On Same PC Says:

    […] Standalone versions of Internet Explorers have been available for a long time. (i blogged about it before back in January and February). The new and best thing is that it’s now dead simple and really really easy to use. […]

  5. u2baby Says:

    I installed IE7 but a number of sites I need to access to pay bills don’t support it. I was told that deleteing it will automatically revert me to IE6 but that didn’t work. I used Add/Remove in the Control Panel but it didn’t remove IE7. Any suggestions?

    Thank you.

  6. andy Says:

    u2 baby stated

    “I installed IE7 but a number of sites I need to access to pay bills don’t support it. I was told that deleteing it will automatically revert me to IE6 but that didn’t work. I used Add/Remove in the Control Panel but it didn’t remove IE7. Any suggestions?”

    Did you get any suggestions?

    I had all sorts of problems with IE recently, so much so with it’s slowness that I’m thinking seriously of Firefox.