Update – 25th June, 2012
The amazing Greg Thornton (https://github.com/xdissent) has very kindly taken all the hassle out of this process and made it super easy to get the VPC images running in Virtualbox. They will still expire but you should be able to roll back to a clean snapshot if it gets annoying.
With the release of Internet Explorer version 8, Microsoft have added yet another browser into the mix for we web developers to support.
Testing on different versions of Internet Explorer has always presented some challenges. Unlike some other browsers, it’s not possible to truly run various versions side-by-side. Some applications like Tredosoft’s Multiple IEs go some way to providing this functionality however problems still manage to present themselves.
The easiest way to really test is to use virtual machines created with specific versions of Internet Explorer running under Windows XP or Vista. Microsoft have kindly donated free, downloadable disk images to run under their Virtual PC software.
Unfortunately for some, Virtual PC only runs under Windows. I prefer Sun’s alternative so here are some instructions for installing the Internet Explorer Application Compatibility VPC Images under VirtualBox:
- Go here and download the VPC disk image(s) of your choice.
- Extract the VHD file using your favourite archive manager. You should probably read the associated documentation and EULA.
- Start VirtualBox and hit “New”.
- Choose the appropriate operating system and give your new VM a name and some RAM.
- On the hard disk screen, click “Existing” to open the Virtual Media Manager.
- Click “Add” and locate the extracted VHD file.
- Select the new disk image and click “Ok”, “Next” then “Finish”
- Start up the VM and press F8 as it boots to get into the Windows startup menu. If you don’t make it here on the first try, just wait for the BSOD then try again.
- Start Windows in Safe Mode. It may take a little while for your peripherals to start responding, just be patient.
- Ignore any new hardware wizards and open up a command prompt. Run
sc config Processor start= disabled
- Again, ignore any new hardware wizards and select Devices -> Install Guest Additions. Follow the installation prompts and reboot.
- Once more, ignore the hardware wizards and open a command prompt. The guest additions ISO should still be mounted at D:. Run
D:\VBoxWindowsAdditions-x86 /extract /D=C:\Drivers
- Now go through the new hardware wizards. For the Ethernet controller, point the wizard at
That should be it. I’ve tested this using the Windows XP images and all has gone well.
Unfortunately, it looks like Microsoft have used the same disk UUID for each image which means VirtualBox will only allow one image at a time into the Virtual Media Manager. Hopefully this bug will be fixed shortly which should clear things up.
If you see a dialog on startup looking for cmBatt.sys and you don’t have a Windows CD handy, just disable the unknown battery device from Device Manager.
Looks like the aforementioned UUID bug may be addressed in the next VBox release (2.2.3). All I can say is “thanks VirtualBox team, love your work”.