I recently learned about the Virtual PC images that Microsoft offers for testing web applications. There are several downloads available that come packaged with various versions of Internet Explorer. With a little bit of work, but you can get these running in VirtualBox on Mac OS X.
I used the Windows XP versions because they’re smaller and easier to get running. Download any or all of these images:
Install Wine, VirtualBox, and The Unarchiver.
Open and run the
XPSP3-IE\*.EXE file(s) you downloaded from Microsoft using Wine. You can place the extracted files wherever you want.
PROWin32.exe file you downloaded from Intel using The Unarchiver application.
Run the Disk Utility application (Applications > Utilities > Disk Utility) and create a new disk image (File > New > Disk Image from Folder).
PROWin32 folder which you created when you extracted the download from Intel.
Save the disk image as
Image Format: DVD/CD master with
Encryption: none. You can save it wherever you want, but you should end up with a
Convert the .cdr file to a Windows compatible .iso with this command:
hdiutil makehybrid -iso -joliet -o /full/path/to/PROWin32.iso /full/path/to/PROWin32.cdr
Run VirtualBox and create a new virtual machine. Tell it to ‘Use existing hard disk’ and select the .vhd file you downloaded and extracted from Microsoft. Don’t start up the virtual machine yet.
Note: the .vhd files from Microsoft all share the same UUID. So, if you want to use more than one image, you have to change the UUID of the subsequent images.
You can do this with the following command:
VBoxManage internalcommands sethduuid /full/path/to/IE7Compat.vhd
Before you start up your virtual machine, edit the settings and change (Network > Adapter 1 > Advanced > Network Adapter Type) to Intel PRO/1000 MT Desktop (82540EM).
Make sure that (System Preferences > Keyboard > ‘Use all F1, F2, etc. keys as standard function keys’) is checked, otherwise you might start playing iTunes when you try to boot into safe mode. ### Start Start up the virtual machine, and push F8 repeatedly before the Windows logo appears. When the boot menu appears select to boot into ‘Safe Mode with Command Prompt’.
Cancel all the driver installation dialog boxes that pop up. Yes, it’s very annoying.
Make the Intel drivers available by clicking on (Devices > CD/DVD Devices > Choose a virtual CD/DVD disk file…) and selecting the .iso you created earlier.
explorer command in the command prompt to get access to the Start menu.
Open the Device Manger by clicking (Start > right clicking on My Computer > Properties > Hardware tab > Device Manager).
Find the Ethernet Controller device and right click on it and select (Update Driver…) It should automatically detect the virtual CD you just mounted and install the Intel Drivers from that.
After you’ve installed the driver you can reboot the virtual machine and allow it to boot normally.
Because we’ve changed so much of the virtual underlying hardware, Windows wants to reactivate. Now that you’ve got network connectivity, just click Yes and tell it to activate Windows over the internet.
At this point you can install the VirtualBox Guest Additions, which will help correct some things like the display driver.
You may still have a few bothersome missing driver pop-ups which can be solved by disabling hardware in VirtualBox settings, removing devices from Device Manger, or finding the missing drivers as necessary.
Let me know if you find this post helpful or if I missed any steps. I’ll try my best to answer any questions in the comments.