Multiple versions of IE in one Windows PC – Prepare for IE7
Update 2006-09-28: All IE Browsers Standalone On Same PC (September 28, 2006) solves the problem.
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).
For some time I’ve used a trick from Quirksmode.org (Peter Paul Koch) to test webpages with different versions if Microsoft Internet Explorer (IE) on the same machine. This trick can come in handy if you want to run usability tests with old versions of IE.
How would you test a webpage in IE 6 when IE 7 is released? Here’s a simple way that does not require multiple machines or complicated setups of multiple operating systems.
Usually IE upgrades and removes the old version of the browser. This is OK for most web users, but when I test and develop pages, its often convenient to have an old IE version available.
The method has been known for quite some years, and today I found information on how to transform Internet Explorer 6 to a standalone version. In that way, you’re prepared when IE7 is released.
The following is a comment from IE blog (comment by NocturnDragon):
Make IE6 standalone and then upgrade to IE7 when you’ll get it.you just need to copy this files to a folder of your choice (almost all of them are in the system32 folder)browseui.dll
dispex.dll
iexplore.exe
inetcpl.cpl
jscript.dll
mshtml.dll
mshtml.tlb
shdocvw.dll
urlmon.dll
vbscript.dll
xpsp2res.dlland do not forget to create a empty file inside that folder called: iexplore.exe.localI wonder why MS is so reluctant to let you do this with a simple checkbox during the install!I’ve been running IE5.0, IE5.5 and IE6.0 standalone for some time now. That’s the simplest way to test your webpages on all of them.
Just for the record, here is a reference to Peter Paul Koch’s original article, which I’m confident that he’ll update when IE7 is released.
A solution has been found however, by web developer Joe Maddalone who deserves eternal fame. Read his page for the technical details.
Web developer Ryan Parman made the customized browsers files available on his site. I copied them to my server to make sure this valuable resource doesn’t disappear. Subsequently I found similarly doctored Explorer 3 and 4 versions on nachtarchiv.de.
Here’s how it works:
- Start with a Windows XP box with Explorer 6 installed on it. I have heard, but not tested, that this will also work on Windows 2000.
- Download the browsers of your choice:
- Explorer 3 (828K)
- Explorer 4 (2417K)
- Explorer 5.01 (3004K)
- Explorer 5.5 sp2 (3597K)
- Unzip the zip files and put them somewhere in a directory.
- To run the browsers, execute the
IEXPLORE.EXE
files in each directory. This works. Nonetheless, keeping the versions apart is not simple.- I verified that this were in fact working copies of 5.01 and 5.5 by some simple CSS tests you can do right here on this site. See below.
- Nonetheless you’ll find problems. The Help -> Info screen, for instance, always shows the Explorer 6.0 version number, even though the image above it says “Explorer 4” in 4.0, “Explorer 5” in 5.0, but “Explorer 6.0” in 5.5.
- The user agent string seems to work fine, though. To help you keep these versions apart I wrote a simple script that precedes the document title by the IE version.
I’ve been using this trick on several occations, and even on Windows XP it introduces some stability problems in Internet Explorer.
- It sometimes crash when you choose bookmarks.
- It also shows IE6 information in the “about” box in all the installed versions
- Internet Explorer 4 address bar does not work (instead press CTRL+L to load a page)
Decide for your self if you can use this trick. I can live with the crashes becaus it has a huge advantage for me that I can test HTML and CSS early in the development.
Technorati Tags: IE, IE3, IE4, IE5, IE5.5, IE6, IE7, multiple internet explorers, microsoft internet explorer, standalone, browser, cross-browser
January 25th, 2006 at 18:00 (GMT-1)
This works as expected for me with IE4, IE5 and I5.5 – great tip!
However, I’m running the beta of IE7, and I’ve just grabbed the IE6 files from another computer to try this out, and the behaviour seems to get a bit funky. When I enter a url in the address bar of my “fake” IE6, it opens up the page in Firefox, which is my default browser!
If I make IE my default browser and enters a url in IE6, it is opened in a new IE6 browser window, however, if IE7 is also running, the page is opened in a new tab in IE7. It seems like IE6 is making a “system call” or something to let Windows decide who should open the page, instead of just opening it, I don’t know …
But it works, you just have make IE6 you default browser and make sure you don’t have IE7 running!
January 25th, 2006 at 22:23 (GMT-1)
Casper,
thanks for sharing your experience. Due to the nature of this hack, I’d be surprised if it were just working smoothly with no problems.
I must say that one of the primary reasons I use this trick, is to have browsers up and runninng side-by-side. If you’re not able to run IE6 and IE7 simultaneouosly, the hack looses its purpose.
Please share any updates if you get it working!
February 1st, 2006 at 18:24 (GMT-1)
Just tried this with todays release of IE7 pre beta 2 (on Windows XP service pack 2). It resulted in exactly the same problem as Casper describes above.
I have a feeling that a dll file or two might be missing in the file list in the post.
There might be another way around: How about an IE7 standalone version on a machine that still defaults to IE6?
IE7 Standalone Launch Script
Run I.E.7 beta and I.E.6 side-by-side
Should IE7 and IE6 work side-by-side?
Multiple IEs in Windows (this one mentions the same files as mentioned by NocturnDragon above)
IE7 beta side-by-side with IE6
I’ll post an update when I’ve tried it. There are some references about this I’d like to check out. Please post a comment and share your own experiences!
February 2nd, 2006 at 20:53 (GMT-1)
[…] Jesper Rønn-Jensen has written a blog entry on how to run multiple version of IE on a PC. […]
February 3rd, 2006 at 21:05 (GMT-1)
[…] 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. […]
September 28th, 2006 at 10:40 (GMT-1)
[…] 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. […]
July 10th, 2009 at 02:32 (GMT-1)
Great tips thanks. I didn’t knew it was possible to run two versions of IE side by side. But don’t you think its really not required to do this. Microsoft gives you the option to roll back to previous version of IE if you are not satisfied with the current one. Of course if you just want to use two IE versions at same time then this trick is very handy.