Scott Hanselman

Running Internet Explorer 7.0 Beta 2 without installing it.

February 1, '06 Comments [19] Posted in ASP.NET
Sponsored By

Ie7b2Internet Explorer 7.0 Beta 2 is out, and I'm not going to install it - I just paved my machine, and I don't want to throw it to the beta-wolves.

Fortunately this version supports the same hack as the previous. Download the Beta EXE here and unzip it. It's an EXE, but it's a ZIP, so create a folder and unzip the contents into the folder. There will be an UPDATE folder that you don't need that can be deleted.

Create a file called iexplore.exe.local and put it in the same folder. It doesn't have to have anything it in. You can do this from the command line like this:

copy con iexplore.exe.local

...then press Ctrl-Z. Now you can run IE 7 Beta 2 without having installed it (see image above).

OK, REALLY, FINAL UPDATE: This messed up my system as well such that clicking links in IE would open them in FireFox. While a neat trick, suboptimal at best. Thanks to Jon Galloway, I fixed it with this .reg file that deletes some tumor in the Registry:

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\CLSID\{C90250F3-4D7D-4991-9B69-A5C5BC1C2AE6}]

UPDATE: From the IEBlog "As Chris Wilson pointed out, "'IE' is actually a collection of system components - networking, browser hosting, core HTML rendering, printing, etc. When we install a new version of IE, we're installing it for all applications that use these system components - including the tiny iexplore.exe itself." Because of this, we do not support the various hacks that allow side by side running of IE6 and the IE7 Beta 2 Preview. Running with these could cause issues with the stability of a system. 

So, seriously, now I'm sorry I even mentioned it. ;) Your Mileage May Vary. I recommend hanging back while we learn why this is all so hard.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by ORCS Web
Wednesday, February 01, 2006 9:43:03 PM UTC
None of my zip programs (which admittedly have all gone several years without an update) recognize this file as something they can unzip. What did you use for that?
Really useful find otherwise. Crossing my fingers that it'll run on Win2k as well when "installed" this way.
Wednesday, February 01, 2006 9:54:38 PM UTC
Rename the file, or use WinZip. It's probably a CAB.
Scott Hanselman
Wednesday, February 01, 2006 10:29:00 PM UTC
I just right clicked on it in Explorer and WinRar offered the option to extract it. :)
Wednesday, February 01, 2006 10:56:05 PM UTC
(for Me anyway) this breaks IE 6 big style, I followed the instructions to the letter
Wednesday, February 01, 2006 11:00:03 PM UTC
DJ, can you give me an idea of HOW it scrambled? You didn't unzip into the Windows Folder or anything, right? I'm still running IE6...
Scott Hanselman
Wednesday, February 01, 2006 11:04:34 PM UTC
It does appear to have affected the regular install of IE. Any shortcuts go really wild, although starting it from the start menu works fine. Also, interestingly, IE7's feed features seem to be disabled running in this mode.
Wednesday, February 01, 2006 11:11:58 PM UTC
This is too cool!

I am posting this comment right now using IE7Beta2preview "installed" this way. I hope you don't get /.ed!

I used 7-zip to extract the files and didn't have any problems with it seeing the exe file as a compressed file container. I couldn't get your command to create the file to work, but I just opened notepad and saved a blank page with the filename you offered and that worked fine.

This is awesome! I am going to try and see if it works off a USB flash-drive on other XP2 systems as well as W2K (not holding my breath on that one).

I sincerly wish that MS would offer this "portable" functionality/installability for future verisons of IE7. It might give them a little bit more credibility and help them compete with the other portable browsers out there like John Haller's Portable Firefox. I think there is a portable Opera version out there as well.

Man, I can't thank you enough for this trick. Saved me from worrying about installing it on my precious home system, but I was dying to try anyway!

Dwight Silverman over at the Houston Chronicle's TechBlog has a posting about IE7 Beta we got started. I added a comment linking to your site to spread the joy!

Thanks again. I knew your content was worth adding to my RSS feed for a reason! You rock!
Wednesday, February 01, 2006 11:36:35 PM UTC
Um--Scott.

Think you could pull my last (over-enthusiastic) post?

It did work fine, but then seems to lock up the favorites in IE6, even after a full reboot of the system.

sigh...I'm still wishing for a portable IE7 version.....

I still think you rock though!

;)
Thursday, February 02, 2006 12:21:49 AM UTC
Well, I tried this before the warnings were posted, and now my IE 6 is screwed up. If anyone comes up with a way to fix IE after following the instructions, please post them. Thanks.
Thursday, February 02, 2006 12:26:00 AM UTC
Brian,
Use IEFix - http://windowsxp.mvps.org/IEFIX.htm
Yesterday I tried IE7 Beta2 without installing it, and it messed up my IE6... Luckily I got IEFix to save the day.
RyanTee
Thursday, February 02, 2006 12:26:45 AM UTC
So here is how I recovered back to IE6.

I did a full "normal" install of IE7Beta. Rebooted.

IE now fully IE7Beta. Seemed to be working fine--but didn't want it installed on the family pc just yet. Maybe when it becomes IE7 Beta2 (post-preview) release version.. :)

Found this link on IE7Beta uninstall tips: http://www.neowin.net/forum/lofiversion/index.php/t423389.html

(Link has some registry hacks as well if a clean uninstall doesn't work well.)

Went to add/remove programs in control panel and ticked the little "show updates" box at the top. Found IE7Beta listed down at the bottom. Uninstalled it. Reboot.

System up and IE6 back to normal and operating normally. Fortunately, I didn't have to do any hacks to the registry.

Fun trip, anyway!
Thursday, February 02, 2006 2:18:48 AM UTC
I set up a launch script to to clean up after IE7 which worked for a bit (http://weblogs.asp.net/jgalloway/archive/2005/12/28/434132.aspx), but it only seems to work once with the IE7 B2P. I spent a little while with Filemon and Regmon the other day, but I think it'll take running it on VPC a few times to see for sure.

I don't buy the "it can't be done" thing that the IE team is saying. IE Standalone has worked for years on versions IE3 - 6. They recently broke it, and don't want to fix it. I guess that's what happens when you put a product on life support for 5 years, then defrost it - the new team doesn't seem to know about some of these older features.
Thursday, February 02, 2006 2:40:53 AM UTC
Crap. This was working but now it's screwed up my IE6. If I have two browser windows open and I do a search in my google toolbar, the results are launched in the other window. Oh well, serves me right.
Thursday, February 02, 2006 3:40:02 AM UTC
Okay, so rename to .cab did the trick for me.
Could people give more specifics on all the ways this messes up IE6? I don't use it for anything other than testing anyway, so favorites and such are completely irrelevant to me, and if that's the only thing that's affected, I can definitely live with it. What I want to know is, does IE6 rendering remain unaffected?

(Weird, having problems commenting here. Did a hard refresh, but it's not showing up, so trying again; hoping it won't double-post.)
Thursday, February 02, 2006 4:52:43 AM UTC
Well, my attempt at using this is officially pooched my system, hard time.

Running IE6 now does odd things. Google toolbar won't function correctly. Clicking on links will *sometimes* launch them, other times it will launch a new browser then lock both of them down. It also creates extra iexplore.exe instances that I have to kill via the task manager. And forms, well forget about them.

In short, my system is screwed.

I'm now downloading a fresh copy of IE7 (using the IE7 that is working because I can't get it with IE6 anymore) and going to install it and then hopefully roll back to IE6 again.

Short of that, it's time to pave the dev box (and this sucker has about 200 programs installed).

Woe is me.
Thursday, February 02, 2006 7:01:01 AM UTC
Looks like FireFox)))
Gaech
Thursday, February 02, 2006 7:39:11 PM UTC
I updated my launch script (http://weblogs.asp.net/jgalloway/archive/2005/12/28/434132.aspx) and it's working fine for me. IE6, IE7, and Firefox all playing together nicely.
Friday, February 03, 2006 1:56:44 AM UTC
Thanks to Jon's post things are back to (somewhat) normal (with normal being relative of course). Thanks guys!
Sunday, February 05, 2006 4:28:38 AM UTC
Running IE7beta2 as main browser.

Installed IE6Eolas stand alone build to C:\utils\ieverions\ie6

http://www.evolt.org/ - Internet Explorer (Microsoft variety), 32bit, standalone, ie6eolas
Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.