Automate the Download of Windows VMs for Testing IE6, IE7, IE8, IE9, IE10 and IE11 with ievms

I am working on some client-side Javascript and I need to be able to test it in all of the currently extant versions of Internet Explorer.  A collegue of mine pointed me to the ievms project by Greg Thornton (xdissent) that automates the download of multiple Windows vms provided by Microsoft to facilitate testing in multiple versions of IE.

To get it working under Fedora (RedHad, CentOS):

   . The script requires unar but is not readily available for FC18.  I found a page that indicated 7za provided by p7zip works to unzip the large VM files.
   . cd /
   . Installed p7zip:
      . # yum install p7zip
   . Modified the

# Check for the `unar` command, downloading and installing it if not found.
check_unar() {
    if [ “${kernel}” == “Darwin” ]
        hash unar 2>&- || install_unar
        # Commented out to use 7za instead
        # hash unar 2>&- || fail “Linux support requires unar (sudo apt-get install for Ubuntu/Debian)”
        echo “using 7za . . . “

    log “Checking for existing OVA at ${ievms_home}/${ova}”
    if [[ ! -f “${ova}” ]]
        download “OVA ZIP” “${url}” “${archive}”

        log “Extracting OVA from ${ievms_home}/${archive}”
        # Use 7za instead of unar
        # unar “${archive}” || fail “Failed to extract ${archive} to ${ievms_home}/${ova}, unar command returned error code $?”
        7za e “${archive}” || fail “Failed to extract ${archive} to ${ievms_home}/${ova}, unar command returned error code $?”

Leave a Reply