FROM THE OLD SITE

旧WordPressで公開していた記事を、当時の内容を尊重して再掲載しています。

PAST ARTICLE · Apple

OS X Mountain Lion で modern.IE の仮想マシンをインストール

Web系の勉強会に行くと80〜90%は OS X で、あとは Ubuntu、稀に Windows という状況なので、Microsoft も IE の対応してもらうために (http://www.modern.ie/ja) というサイトをオープンしたようです。

仮想マシンは、OS X 用に Parallels、VMWare Fusion、VirtualBox が用意されています。手元に Parallels があるので、インストールしてみようと思います。用意されている仮想マシンは下記のものです。

  • IE6 - XP
  • IE8 - XP
  • IE7 - Vista
  • IE8 - Win7
  • IE9 - Win7
  • IE10 - Win7
  • IE10 - Win8

まずは、「仮想環境で検証する」をクリックします。

「目的の OS を選択してください」で「Mac」を選択します。

「仮想環境のプラットフォームを選択してください」で「Parallels(Mac用)」を選択します。

仮想イメージの一覧が表示されるので、今回は「IE10 - Win7」をインストールすることにします。「IE10 - Win7」の「Grab them all with cURL」をクリックします。

ダウンロード用のコマンドが表示されます。cURL でダウンロードするので、インストールされていないときは別途インストールして下さい。

ターミナルを起動して、コマンドをコピー&ペーストして実行します。

BASH
$ cd ~/Downloads
$ curl -O "http://virtualization.modern.ie/vhd/IEKitV1_Final/Parallels/OSX/IE10_Win7/IE10.Win7.For.MacParallels.part0{1.sfx,2.rar,3.rar,4.rar}"

[1/4]: http://virtualization.modern.ie/vhd/IEKitV1_Final/Parallels/OSX/IE10_Win7/IE10.Win7.For.MacParallels.part01.sfx --> IE10.Win7.For.MacParallels.part01.sfx
--_curl_--http://virtualization.modern.ie/vhd/IEKitV1_Final/Parallels/OSX/IE10_Win7/IE10.Win7.For.MacParallels.part01.sfx
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                 Dload  Upload   Total   Spent    Left  Speed
100  976M  100  976M    0     0  1725k      0  0:09:39  0:09:39 --:--:-- 1940k

[2/4]: http://virtualization.modern.ie/vhd/IEKitV1_Final/Parallels/OSX/IE10_Win7/IE10.Win7.For.MacParallels.part02.rar --> IE10.Win7.For.MacParallels.part02.rar
--_curl_--http://virtualization.modern.ie/vhd/IEKitV1_Final/Parallels/OSX/IE10_Win7/IE10.Win7.For.MacParallels.part02.rar
100  976M  100  976M    0     0  1711k      0  0:09:44  0:09:44 --:--:-- 1950k

[3/4]: http://virtualization.modern.ie/vhd/IEKitV1_Final/Parallels/OSX/IE10_Win7/IE10.Win7.For.MacParallels.part03.rar --> IE10.Win7.For.MacParallels.part03.rar
--_curl_--http://virtualization.modern.ie/vhd/IEKitV1_Final/Parallels/OSX/IE10_Win7/IE10.Win7.For.MacParallels.part03.rar
100  976M  100  976M    0     0  1587k      0  0:10:29  0:10:29 --:--:-- 1937k

[4/4]: http://virtualization.modern.ie/vhd/IEKitV1_Final/Parallels/OSX/IE10_Win7/IE10.Win7.For.MacParallels.part04.rar --> IE10.Win7.For.MacParallels.part04.rar
--_curl_--http://virtualization.modern.ie/vhd/IEKitV1_Final/Parallels/OSX/IE10_Win7/IE10.Win7.For.MacParallels.part04.rar
100  259M  100  259M    0     0  1706k      0  0:02:35  0:02:35 --:--:--  867k

ダウンロードしたファイルを結合して、仮想イメージを作ります。

BASH
$ chmod 744 ~/Downloads/IE10.Win7.For.MacParallels.part01.sfx
$ ./IE10.Win7.For.MacParallels.part01.sfx RAR SFX archiveExtracting from ./IE10.Win7.For.MacParallels.part01.sfxCreating    IE10.Win7.For.MacParallels.pvm                            OKExtracting  IE10.Win7.For.MacParallels.pvm/config.pvs                 OK Extracting  IE10.Win7.For.MacParallels.pvm/config.pvs.backup          OK Creating    IE10.Win7.For.MacParallels.pvm/IE10 - Win7.hdd            OK
Extracting  IE10.Win7.For.MacParallels.pvm/IE10 - Win7.hdd/DiskDescriptor.xml  OK Extracting  IE10.Win7.For.MacParallels.pvm/IE10 - Win7.hdd/DiskDescriptor.xml.Backup  OK
Extracting  IE10.Win7.For.MacParallels.pvm/IE10 - Win7.hdd/IE10 - Win7.hdd  OK
Extracting  IE10.Win7.For.MacParallels.pvm/IE10 - Win7.hdd/IE10 - Win7.hdd.0.{5fbaabe3-6958-40ff-92a7-860e329aab41}.hds  30%

Extracting from ./IE10.Win7.For.MacParallels.part02.rar

...         IE10.Win7.For.MacParallels.pvm/IE10 - Win7.hdd/IE10 - Win7.hdd.0.{5fbaabe3-6958-40ff-92a7-860e329aab41}.hds  60%

Extracting from ./IE10.Win7.For.MacParallels.part03.rar

...         IE10.Win7.For.MacParallels.pvm/IE10 - Win7.hdd/IE10 - Win7.hdd.0.{5fbaabe3-6958-40ff-92a7-860e329aab41}.hds  91%

Extracting from ./IE10.Win7.For.MacParallels.part04.rar

...         IE10.Win7.For.MacParallels.pvm/IE10 - Win7.hdd/IE10 - Win7.hdd.0.{5fbaabe3-6958-40ff-92a7-860e329aab41}.hds  OK
Extracting  IE10.Win7.For.MacParallels.pvm/IE10 - Win7.hdd/IE10 - Win7.hdd.drh  OK
Extracting  IE10.Win7.For.MacParallels.pvm/parallels.log              OK
Extracting  IE10.Win7.For.MacParallels.pvm/statistic.log              OK
Extracting  IE10.Win7.For.MacParallels.pvm/VmInfo.pvi                 OK
Creating    IE10.Win7.For.MacParallels.pvm/Snapshots                  OK
Creating    IE10.Win7.For.MacParallels.pvm/Windows Disks              OK
All OK

仮想イメージの「IE10.Win7.For.MacParallels.pvm」が作られるので、ダブルクリックして起動します。起動後、「コピーまたは移動しましたか?」と表示されるので、「コピー済み」をクリックします。

実行後、Windows Update を行い最新の状態にします。以上で IE10 - Win7 の仮想環境が完成します。

IE の各バージョンが手軽に確認できるのはとても便利だと思いました。また、PC の本体代や Windows のライセンス料といったコストが削減できるのも魅力的かと思いました。