I ran into a position where I needed to check how a website would function across older versions of Internet Explorer. Being on Windows 7, the tools I used to use weren’t going to work for me. And since the site I needed to check had javascript, Flash and some other functionality I couldn’t use the free testing services that are available online (like Adobe Browser Lab).
The solution was to install a virtual copy of Windows. Then I could duplicate that system for each of the versions of Internet Explorer that I wanted to test.
Virtual Windows XP with IE6
- Head over to the Microsoft page to Download Windows XP Mode with Virtual PC found at http://www.microsoft.com/windows/virtual-pc/download.aspx.
- Select your system and language.
- Jump down to step 2 and download and install Windows XP Mode.
- Return to the page and download and install Windows Virtual PC.
- Restart your PC. It is very important that you do this.
- In the Start menu, select All Programs > Windows Virtual PC > Windows XP Mode and follow the setup for Windows XP Mode virtual machine. By default, this will install Internet Explorer 6.
Duplicating your install and adding IE7
- Open Windows Explorer and head over to C:\Users\username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines. You may need to show hidden folders to find this path.
- Copy and paste the .vhd file in this folder. This is your virtual hard drive file.
- Rename the duplicate file to something like “Windows XP Mode – IE7″.
- Open the folder C:\Users\username\Virtual Machines.
- At the top of Windows Explorer press the link to “Create virtual machine”.
- Name the Machine “Windows XP Mode – IE7″ and click next and next again to continue.
- Here, choose “Use an existing virtual hard disk” and select the duplicate you previously created.
- Click Create.
- Launch the new virtual machine by double-clicking the new virtual machine you just created.
- Once it’s booted up, rename the computer so that there is no network conflict by going to Start > My Computer … System Tasks … View System Information … Computer Name … Change (to rename).
- NOW you can add IE7 which I did by searching the Microsoft site for the download (http://www.microsoft.com/download/en/details.aspx?id=2) and installing it.
Although the instructions above are somewhat abbreviated, I think there is enough to get the job done.
Follow Me!