Skip to content

Instantly share code, notes, and snippets.

@sr75
Created March 15, 2012 13:52
Show Gist options
  • Save sr75/2044296 to your computer and use it in GitHub Desktop.
Save sr75/2044296 to your computer and use it in GitHub Desktop.
Run IE 7, 8, and 9 in Mac OS X
# the admin password for all of the IE VMs is “Password1″ without the quotes, it's also used for the password hints
1) Install VirtuaBox on your mac
http://download.virtualbox.org/virtualbox/4.1.10/VirtualBox-4.1.10-76795-OSX.dmg
2) Decide which versions of Internet Explorer you want to download and install – each version of Internet Explorer is contained within a separate virtual machine that runs within VirtualBox. In other words, if you want to run Internet Explorer 7, 8, and 9, you will need to download three separate VM’s, which may take a while so keep that in mind. Select the text below and copy it:
# Install ALL versions of Internet Explorer: IE 7, IE 8, and IE 9 (for now this script will also pull down a IE 6 vm with windows xp)
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | bash
# Install Internet Explorer 7 Only
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | IEVMS_VERSIONS="7" bash
# Install Internet Explorer 8 Only
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | IEVMS_VERSIONS="8" bash
# Install Internet Explorer 9 Only
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | IEVMS_VERSIONS="9" bash
# Launch VirtualBox and boot Windows & Internet Explorer – select the virtual machine corresponding to the version of Internet Explorer you intend to use: IE7, IE8, IE9, then click on the “Start” button to boot that Windows machine with that version of Internet Explorer.
# VM Snapshots Circumvent Microsofts 30 Day Limitation
The other great thing about this method is that it circumvents Microsofts 30 day limitation by utilizing snapshots, a feature built into VirtualBox. This preserves the original Windows VM state and allows you to continuously use the IE virtual machine without any time limitation simply by reverting to the original snapshot once the 30 day lock occurs.
# To use a snapshot after the 30 day Windows expiration, just open VirtualBox, select the IE VM, and click on the “Snapshots” button. From here you can boot from the original snapshot that was created and use IE again for another 30 days. You can do this indefinitely, effectively having a clean IE test environment forever.
@blockspeiser
Copy link

The version of VirtualBox listed above won't run with Mac OS X 10.8, but the latest will: http://download.virtualbox.org/virtualbox/4.2.6/VirtualBox-4.2.6-82870-OSX.dmg
(thanks for the write up!)

@rhernandog
Copy link

Hi,

I have a question and I hope you can help me. I just downloaded and installed virtualbox. Then I created a new WinXP machine to test with IE7, but I can't find any command line in order to get the files. Does this method works only in Mac or can it be used in Windows 7 (my actual OS)?.

Thanks,
Rodrigo.

@sr75
Copy link
Author

sr75 commented Oct 9, 2013

I've only tried this on the mac, but I had to update VirtualBox lately as @blockspeiser mentioned above.

@DelawareConsulting
Copy link

The 30 day snapshot return does not work!

@grimmdude
Copy link

This still working? Can't seem to install the IE images.

@tommeier
Copy link

FYI: these are defunct now, go via modern.ie (for the base VMs directly): https://www.modern.ie/en-us/virtualization-tools#downloads

@daluu
Copy link

daluu commented Jun 26, 2015

The 30 day snapshot return does not work!

Can someone elaborate on that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment