When Microsoft first launched <a href="http://www.modern.ie">modern.IE</a> and revamped the way that IE VMs were offered, I wrote up a post that talked about how to install them. Since then, the site has changed so it's time to update this post to reflect not only the new UI of the site but the new method of downloading individual VMs.

If you haven't heard about modern.IE, then definitely read up on it here: 

<a href="http://blogs.windows.com/ie/b/ie/archive/2013/01/31/introducing-modern-ie-testing-sites-for-internet-explorer-made-easier.aspx">Introducing modern.IE – Testing sites for Internet Explorer made easier</a>

<h2>The New Way to get IE VMs</h2>

Up until now, if you wanted to test different versions of IE natively you had to <a href="http://www.microsoft.com/en-us/download/details.aspx?id=11575">download VPC images</a> that would allow you to run virtual machines for the different versions of IE. It wasn't a great solution because:
<ul>
	<li>They were designed to be run in Microsoft's Virtual PC software making it hard for non-Windows developers to use them.</li>
	<li>They were broken apart into multiple, large download files</li>
</ul>

There were ways to use them on other OSes but <a href="http://tumblr.jonthornton.com/post/11405634980/how-to-run-microsofts-ie-vpc-images-in-virtualbox">it required some work</a> or <a href="https://github.com/xdissent/ievms">unofficial scripts to convert them</a>. Either way, the IE VPCs weren't very easy or convenient to use.

We wanted to make this easier so as part of the modern.IE project, we <a href="http://www.modern.ie/virtualization-tools">created a new set of VMs</a> that targeted your OS and your VM-specific software. 

When you hit the page "Test across browsers" page, scroll down until you see this:

<a href="http://blog.reybango.com/wp-content/uploads/2013/07/vms.png"><img src="http://blog.reybango.com/wp-content/uploads/2013/07/vms-300x96.png" alt="vms" width="300" height="96" class="alignright size-medium wp-image-2212" /></a>

This is the section that helps you to choose the right OS and platform. Now, you'll be able to choose your OS:

<a href="http://blog.reybango.com/wp-content/uploads/2013/07/vm-os.png"><img src="http://blog.reybango.com/wp-content/uploads/2013/07/vm-os-300x86.png" alt="vm-os" width="300" height="86" class="alignright size-medium wp-image-2214" /></a>

then choose the VM software:

<a href="http://blog.reybango.com/wp-content/uploads/2013/07/vm-platform.png"><img src="http://blog.reybango.com/wp-content/uploads/2013/07/vm-platform-300x86.png" alt="vm-platform" width="300" height="86" class="alignright size-medium wp-image-2217" /></a>

and download the VM with the version(s) of IE you'd like to install:

<a href="http://blog.reybango.com/wp-content/uploads/2013/07/vm-options.png"><img src="http://blog.reybango.com/wp-content/uploads/2013/07/vm-options-300x109.png" alt="vm-options" width="300" height="109" class="alignright size-medium wp-image-2219" /></a>

You'll need to download ALL of the files listed for the specific version of IE you'd like work with. Depending on which OS you're using, you may see a combo of *.exe/*.rar files (Windows) or *.sfx/*.rar files (OSX/Linux). The *.exe & *.sfx are self-extractors which will look for all of the files and combine them into the single VM you'll need. 

The great thing about this process is that:
<ul>
	<li>You can use the VM software of your choice</li>
	<li>You only have to download the files once per VM. <strong>They can be reused to recreate the VM after 90 days</strong>.</li>
</ul>

Currently, we're offering VMs that will run on:
<ul>
	<li>Windows</li>
	<li>OSX</li>
	<li>Linux</li>
</ul>

The VM software choices are specific to the OS you choose:
<ul>
	<li>Windows - Hyper-V, Virtual PC, VirtualBox & VMWare Player for Windows</li>
	<li>OSX- VirtualBox, VMWare Fusion and Parallels</li>
	<li>Linux - VirtualBox</li>
</ul>

One thing to note is that it's best to use an updated version of the VM software, especially for the Win8 VMs. Otherwise, you may encounter issues with the VM software not being able to run the virtualized OS properly.

The IE versions being offered are:
<ul>
	<li>IE6 on Windows XP</li>
	<li>IE7 on Vista</li>
	<li>IE8 on Windows XP</li>
	<li>IE8 on Windows 7</li>
	<li>IE9 on Windows 7</li>
	<li>IE10 on Windows 7</li>
	<li>IE10 on Windows 8</li>
	<li>IE11 Developer Preview on Windows 7</li>
	<li>IE11 Developer Preview on Windows 8.1</li>
</ul>

For all intents you can now test against a full copy of any version of Internet Explorer.

<h2>Extracting the Virtual Machine</h2>

<h3>Windows</h3>

Notice that for IE9 on Win7 for VirtualBox on Windows, I've downloaded 5 files. 

<a href="http://blog.reybango.com/wp-content/uploads/2013/07/extract.png"><img src="http://blog.reybango.com/wp-content/uploads/2013/07/extract-300x122.png" alt="extract" width="300" height="122" class="alignright size-medium wp-image-2230" /></a>

I need to run <em>"IE9.Win7.For.WindowsVirtualBox.part1.exe"</em> to kick off the extraction. This will prompt me for a destination folder to extract to:

<a href="http://blog.reybango.com/wp-content/uploads/2013/07/extract-2.png"><img src="http://blog.reybango.com/wp-content/uploads/2013/07/extract-2-300x225.png" alt="extract-2" width="300" height="225" class="alignright size-medium wp-image-2231" /></a>

Note that once the extraction is completed, the dialog box just disappears and you won't get a prompt that it's done. Hop over to your directory and you should find the newly extracted VM file waiting for you:

<a href="http://blog.reybango.com/wp-content/uploads/2013/07/yourvm.png"><img src="http://blog.reybango.com/wp-content/uploads/2013/07/yourvm-300x112.png" alt="yourvm" width="300" height="112" class="alignright size-medium wp-image-2232" /></a>

<h3>OSX</h3>

OSX users have it even easier because you can use cURL to pull down all the files in one swoop. Just look for the "Grab them all with cURL" link and click on it. It'll give you a popup like this:

<a href="http://blog.reybango.com/wp-content/uploads/2013/07/curl.png"><img src="http://blog.reybango.com/wp-content/uploads/2013/07/curl-300x47.png" alt="curl" width="300" height="47" class="alignright size-medium wp-image-2225" /></a>

Open up terminal, "cd" to the directory where you want to download the files and paste the link displayed to kick off the download. Easy peasy.

To extract the virtual machine, you'll need to go into terminal and set execute permission on the .sfx file like this "chmod +x filename.sfx". You can then kick off the extraction by running the file: "./filename.sfx".

<a href="http://blog.reybango.com/wp-content/uploads/2013/07/extract-osx.png"><img src="http://blog.reybango.com/wp-content/uploads/2013/07/extract-osx-300x200.png" alt="extract-osx" width="300" height="200" class="alignright size-medium wp-image-2236" /></a>

You can find fully detailed installation instructions for the downloaded VMs <a href="https://modernievirt.blob.core.windows.net/vhd/virtualmachine_instructions_2013-06-27.pdf">in this PDF</a>.

<h2>Installing the VMs</h2>

The VMs may come with some minimum resource settings already preconfigured. Here's what I recommend to ensure you get a decent performing VM:
<ul>
<li>Give your VM a minimum of 1GB of RAM</li>
<li>Give it the most amount of video memory possible</li></ul>

Remember that you're VM is an OS and it needs resources. Unless you're loading multiple VMs at the same time, a gig of RAM shouldn't have a major adverse issue on a decent system. Also note that while IE9 & IE10 support GPU-enhanced rendering, don't expect the same performance in your VM as you would get from a native system.

The VMs you download are in compressed format. Once you've got them on your computer, you should run the extraction executable I referenced above to extract them for use. This will create the virtual machine file that you'll import into your VM software. Again, you can find fully detailed installation instructions for the downloaded VMs <a href="https://modernievirt.blob.core.windows.net/vhd/virtualmachine_instructions_2013-06-27.pdf">in this PDF</a>.

<h3>VirtualBox on Windows</h3>

Installing on VirtualBox is usually as easy as double-clicking the .ova file that you extracted. 

<a href="http://blog.reybango.com/wp-content/uploads/2013/07/yourvm.png"><img src="http://blog.reybango.com/wp-content/uploads/2013/07/yourvm-300x112.png" alt="yourvm" width="300" height="112" class="alignright size-medium wp-image-2232" /></a>

When you do this, you should get a VirtualBox dialog like this:

<a href="http://blog.reybango.com/wp-content/uploads/2013/07/vb-import.png"><img src="http://blog.reybango.com/wp-content/uploads/2013/07/vb-import-282x300.png" alt="vb-import" width="282" height="300" class="alignright size-medium wp-image-2234" /></a>

Click on the "Import" button and VirtualBox will do the rest. It's really that simple.

<h3>VMWare Fusion</h3>

The VM software I use on OSX is VMWare Fusion so here are the steps I went through to setup the Win8/IE10 VM.

Click on the "Add" drop down to create a new VM:

<a href="http://blog.reybango.com/wp-content/uploads/2013/02/vmware.png"><img src="http://blog.reybango.com/wp-content/uploads/2013/02/vmware-300x215.png" alt="vmware" width="300" height="215" class="alignleft size-medium wp-image-1976" /></a>

Choose "Continue without disc":

<a href="http://blog.reybango.com/wp-content/uploads/2013/02/vmware-new.png"><img src="http://blog.reybango.com/wp-content/uploads/2013/02/vmware-new-300x228.png" alt="vmware-new" width="300" height="228" class="alignleft size-medium wp-image-1977" /></a>

This should present you with a screen to "Use an existing virtual disk" which is exactly what you want to do:

<a href="http://blog.reybango.com/wp-content/uploads/2013/02/vmware-choosevm.png"><img src="http://blog.reybango.com/wp-content/uploads/2013/02/vmware-choosevm-300x259.png" alt="vmware-choosevm" width="300" height="259" class="alignleft size-medium wp-image-1978" /></a>

I chose the "Select to create a copy of it" so that my original download isn't affected and it makes a copy in the default VMWare VM directory. When you select the image, it will display a prompt asking if you want to convert it to an updated format:

<a href="http://blog.reybango.com/wp-content/uploads/2013/02/vmware-dontconvert.png"><img src="http://blog.reybango.com/wp-content/uploads/2013/02/vmware-dontconvert-300x103.png" alt="vmware-dontconvert" width="300" height="103" class="alignleft size-medium wp-image-1979" /></a>

<strong>Don't convert it</strong>. I tried to and it seemed to corrupt the VM.

Select the proper version of Windows. These are 32 bit versions of the OS so the standard OS selections are fine (i.e.: not 64-bit). At the "Finish" screen, click "Customize Settings" to give the VM a better name like "Win8 - IE10" and from there, VMWare will beging the process of copying the disc to the default VM directory and present you with the new VM:

<a href="http://blog.reybango.com/wp-content/uploads/2013/02/vmware-vmdone.png"><img src="http://blog.reybango.com/wp-content/uploads/2013/02/vmware-vmdone-300x215.png" alt="vmware-vmdone" width="300" height="215" class="alignleft size-medium wp-image-1980" /></a>

Before you start the new VM, change the RAM settings so your VM won't have any trouble starting up. Again, I recommend a minimum of 1GB of RAM:

<a href="http://blog.reybango.com/wp-content/uploads/2013/02/vmware-vmsettings.png"><img src="http://blog.reybango.com/wp-content/uploads/2013/02/vmware-vmsettings-300x190.png" alt="vmware-vmsettings" width="300" height="190" class="alignleft size-medium wp-image-1981" /></a>

Your VM should now be ready to use.

<strong>REALLY IMPORTANT:</strong> If you're using a Win8.x-based VM, be sure to set your screen resolution in the VM to a minimum of 1366x768 if you want to be able to use Internet Explorer. Internet Explorer desktop can launch in smaller resolutions but IE10 for Win8 and IE11 Developer Preview for Win8.1 are a Windows apps and needs the higher resolution. You'll also want this for testing snap mode.

<h3>VirtualBox on OSX</h3>

<a href="https://twitter.com/cdwharton">Chris Wharton</a> has written up a quick guide on <a href="http://chriswharton.me/2013/02/installing-modern-ie-virtualization-on-virtualbox-for-mac/">how to get the Virtualbox VMs running on OSX</a>. Just follow the steps I outlined for extracting your VM and then follow Chris' steps for installing in VirtualBox.

<h2>Time Limits on the VMs</h2>

All of the VMs have a time limit 90 days of total time from the moment you first use the VM. Basically it's 30 days usage with two 30-day rearms. To rearm, go into a <a href="http://technet.microsoft.com/en-us/library/cc947813(v=ws.10).aspx">command prompt with Administrator privileges</a> and type in "<strong>slmgr –rearm</strong>"

At the end of the 90 days, you'll be able to use the VM for an hour before it shuts down. At this point, you'll need to decide if that's okay or if you'd like to recreate the VM and use it for another 90 days. <strong>Remember, you can reuse the same files you originally downloaded to recreate the VM so don't delete them</strong> (unless you just love downloading big files).

<h2>Functional Limitations</h2>

I've been told that these images aren't crippled and in my testing, I was able to apply updates and do installs with no issues. I would <strong>HIGHLY RECOMMEND</strong> that you run Windows updates when you use these VMs to get the latest updates and patches. Also, install an anti-virus software. <a href="http://windows.microsoft.com/en-US/windows/security-essentials-download">Microsoft Security Essentials</a> is free and will do the trick. If you're running a Windows 8.x VM, it comes with anti-virus already.