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.
https://github.com/xdissent/ievms
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 ievms.sh:
# Check for the `unar` command, downloading and installing it if not found.
check_unar() {
if [ “${kernel}” == “Darwin” ]
then
hash unar 2>&- || install_unar
else
#
# Commented out to use 7za instead
#
# hash unar 2>&- || fail “Linux support requires unar (sudo apt-get install for Ubuntu/Debian)”
echo “using 7za . . . “
fi
}
log “Checking for existing OVA at ${ievms_home}/${ova}”
if [[ ! -f “${ova}” ]]
then
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 $?”
fi