We recently received a request from a client to convert some PDF files to HTML with our PDF to HTML5 converter and test whether they worked correctly in Internet Explorer 8. We soon found out that Internet Explorer 8 will not work with Windows 8. The solution was to create a Virtual Machine that would run Windows XP and fire up I.E 8 from within it. So here’s a quick guide on how to do just that.
Setting Up : Get the Tools
- Install 7-Zip : http://www.7-zip.org/
- Install a Virtual Machine (in this tutorial we use VirtualBox) : https://www.virtualbox.org/
- Download WindowsXPMode : http://www.microsoft.com/en-us/download/details.aspx?id=8002
Step One : Extracting the VHD (Virtual Hard Disk)
- Load up 7-Zip and navigate to where you downloaded WindowsXPMode.exe.
- Right click WindowsXPMode.exe > 7-Zip > Open Archive.
- Navigate into the sources folder.
- Right click the file xpm and Open it.
- Extract the file “VirtualXPVHD” to a folder on your desktop.
- Rename the file VirtualXPVHD so it has the extension .vhd, e.g VirtualXPVHD.vhd
Step Two : Setting up the Virtual Machine
- Load up VirtualBox.
- On the top toolbar goto Machine > New.
- Enter a name for your Virtual Machine, e.g vmXP.
- Set the Type to Microsoft Windows.
- Set the Version to Windows XP.
- Press Next.
- Choose a Memory Size (2048 recommended).
- Press Next.
- Choose the radio button than says “Use an existing virtual hard drive file”.
- Press Create
Step Three : Installing Internet Explorer 8
- On the left panel in VirtualBox you will now see your Virtual Windows XP Machine, press it and click the big green –> Start button
- Windows XP will now start up in your virtual machine, you may find your mouse won’t move within the virtual machine. If you have this problem, disable mouse integration.
- Configure XP as you normally would. Once you have finished configuring and setting up XP the screen will go black. This just means XP has attempted to restart but can’t within a virtual machine.
- Close and Re-start your Virtual Windows XP Machine.
- Load up internet explorer, navigate to:
- Download and install Internet Explorer 8.
- Restart your Virtual Windows XP Machine.
Congratulations, you have just finished Setting up a Windows XP Virtual Machine in VirtualBox and installed Internet Explorer 8.
If you have any questions errors or problems then please let us know and we’ll be happy to help! If you would like to see an other guides let us know.
Latest posts by Nathan Howard (see all)
- Tutorial : How to Create a Border Glow Effect in JavaFX - February 27, 2014
- Tutorial – Calling Java from a Bash Script - February 12, 2014
- Writing a JavaFX PDF Viewer plugin for Netbeans – 8. Opening Encrypted PDFs - February 5, 2014
- My 5 Favourite NetBeans Features - December 11, 2013
- Google Dart – The Prophesied Successor? - November 26, 2013