Use XP Mode to install IE6 + in WIN7

Source: Internet
Author: User

I want to see people who are engaged in front-end or related to the front-end. Let's read IE6 Must die ~~~!!!

Reference: http://blog.dotsmart.net/2009/06/24/using-windows-7s-xp-mode-to-run-ie-6-and-ie-7-side-by-side/

Windows 7's XP Mode is essential a Windows XP virtual machine that runs in the new Windows 7 version of Virtual PC. this new edition of Virtual PC hosted des cool features such as seamless windows. the main reason I'm interested in this is to run older versions of Internet Explorer for testing purposes. IE8's compatibility mode does a pretty good job of emulating IE7 but there are differences, so I investigated how to get "real" IE7 running under Windows 7's XP Mode, without losing IE6.

Out of the box, the Virtual PC image is Windows XP SP3 with IE6. The trick to getting IE6 to appear as a seamless window like this is to launch the Virtual Windows XP virtual machine and in the VM, create a shortcut cut in the "All Users" Start Menu or desktop:

After a short delay, the specified cut will be duplicated into the Windows 7 host's start menu:

When you launch this shortcut cut in Windows 7, the main Virtual PC window will close and the application will be launched and projected onto your desktop.

Creating a VM for IE7

You can't install IE7 side-by-side with IE6 on the same machine, so to run IE7 at the same time as IE6 we will need to create a new VM. unfortunately, if you run the VirtualWindowsXP. msi setup again you'll get a message saying "Setup has detected that Virtual Windows XP is already installed ":

The workaround isCreate a new instance of the VM manuallyUsing the supplied VHD as the base disk image. To do this do the following:

OpenVirtual MachinesFolder from the Start Menu and clickCreate virtual machine:

Specify a name and location for the virtual machine:

For memory I specified 256 MB, which shocould me more than enough for just running IE7:

Here's the important bit. Choose "Create a virtual hard disk using advanced options"

... And then chooseDifferencingDisk. This is the same way that the default Virtual Windows xp vm is set up:

If you want, you can change the default name and location (I didn't bother ):

ForParent virtual hard diskChoose the original Virtual Windows XP virtual disk, which on my machine wasC: \ Program Files \ Virtual Windows XP. vhd:

Now start the new Virtual PC you just created from the Virtual Machines folder and complete Windows Setup as appropriate, choosing a computer name unique for your network and an Administrator password:

When that's done:

  • Enable Integration FeaturesFrom the Tools menu of the Virtual PC window
    • For credentials enterAdministratorAnd the password you entered during setup.
    • I choseRemember my credentialsFor convenience
  • Download and install IE7 in the VM,

When IE7 has installed and rebooted, create a shortcut cut to IE7 in the "All Users" start menu which, after a short delay, will create a corresponding shortcut cut in the Windows 7 start menu of the host.

So here's the end result, IE6, IE7 and IE8 all running on Windows 7:

 

Note:

1. If you do not have WIN7 SP1 installed, install the functional patch of XP Mode first;

2. You can set the default VM path when installing XPMode for the first time. I think most of my friends have less C-drive and it is convenient to use it after reinstallation;

3. When installing the second virtual machine in the above text, if you are using a Chinese version, you need to select a differential disk. As the name suggests, of course, there is a ambiguity in stability that you do not have to make a different disk, you can select either of them;

4. If you use a differential disk, pay attention to the choice of the parent disk. Do not set multiple systems to a high level or a multi-level. After trying it, I will report an error. Use the default one, which is shown in the above path;

5. Be careful when installing the integration tool. It is best to select automatic update first. I don't know if this is the reason. It is not too late to close the update after the integration tool is installed successfully;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.