WebPI で Windows Azure 関連ツールを一気にインストール

前回の記事で、Windows Azure VM を使って HPC 2012 のヘッドノードを構築する方法をご案内しました。

そこで今回は、このヘッドノードから Windows Azure 計算ノードをバリバリ展開する方法を書こうと思っていたのですが、その前に。これから何かと Windows Azure 関連の情報をお伝えしていくことになると思いますので、 Windows Azure を操るために必要になる環境を構築する手順をご紹介しておきます。

Windows Azure 関連ツール

必須、あるいは限りなく必須に近いツールとして、こんなのがあります。

  • Windows Azure SDK
  • Windows Azure PowerShell
  • Visual Studio (Express でも OK)
  • Windows Azure Tools for Visual Studio

で、最初の Windows Azure SDK のダウンロードページへ行ってみると、こんな・・・

  • WindowsAzureAuthoringTools-x64.msi
  • WindowsAzureAuthoringTools-x86.msi
  • WindowsAzureEmulator-x64.exe
  • WindowsAzureEmulator-x86.exe
  • WindowsAzureLibsForNet-x64.msi
  • WindowsAzureLibsForNet-x86.msi
  • WindowsAzureTools.LightSwitch.vs110.exe
  • WindowsAzureTools.LightSwitch.vs110.ja-jp.msi
  • WindowsAzureTools.VS100.exe
  • WindowsAzureTools.VS100.ja-jp.exe
  • WindowsAzureTools.vs110.exe
  • WindowsAzureTools.VS110.ja-jp.exe

ゲンナリしました?有体に言ってゲンナリしました?この12ファイルすべてが必要なわけではありませんが、それを選ぶのもしんどいですよね。

そこで、面倒なこと考えずに簡単一括ダウンロード && インストールできるツールの登場です。

 

Web Platform Installer

略して WebPI ."Web" とありますが、 Web 関連ツールに限らず様々なソフトウェア製品を簡単に導入できるツールです。現時点 (2012年9月) の最新版は 4.0 です。

"Microsoft Web Platform Installer 4.0"
https://www.microsoft.com/web/downloads/platform.aspx

では、実際に私の手元にある Windows 7 SP1 (x64) にインストールしてみたいと思います。この Windows 7 は、新規インストールしたものに Windows Update をしただけの、「素の Windows」です。

導入済みプログラム一覧を取得してみれば次の通り。

PS C:\Users\ksasaki> gwmi -class win32_product | ft Name, Version

Name Version
---- -------
Microsoft .NET Framework 4 Client Profile JPN Language Pack 4.0.30319
Microsoft .NET Framework 4 Client Profile 4.0.30319

.NET Framework 4 の Client Profile だけです。では、いざ Web PI !

こちらにも手順のご案内があるのですが、若干内容が古いのと、Windows Azure PowerShell が含まれていないので、私がいつもやっている手順をこの記事で書きたいと思います。

 

先ほどのページ↓で、"Free Download" をクリックして、"wpilauncher.exe” をダウンロード、実行して下さい。

image

 

こんな画面↓が出てきたら、右上の検索窓に "Windows Azure" と打ち込んで検索して、

image

 

この二つを「追加」して、右下の「インストール」をクリックしてください。

image

こんなの↓が出てきますので、「同意する」でお願いします。

image

 

いろんなものがダウンロード && インストールされていきます。しばらくお待ちください。

image

 

完了!いろいろ入りましたねぇ。

image

 

さっきと同じコマンドでプログラム一覧を見てみましょうか。

PS C:\Users\ksasaki> gwmi -class win32_product | sort Name | ft Name, Version

Name Version
---- -------
Tools for .Net 3.5 3.11.50727
Tools for .Net 3.5 - JPN Lang Pack 3.11.50727
Entity Framework Designer for Visual Studio 2012 - JPN 11.1.20702.00
IIS 8.0 Express 8.0.1557
Microsoft .NET Framework 4 Multi-Targeting Pack 4.0.30319
Microsoft .NET Framework 4.5 4.5.50709
Microsoft .NET Framework 4.5 JPN Language Pack 4.5.50709
Microsoft .NET Framework 4.5 Multi-Targeting Pack 4.5.50709
Microsoft .NET Framework 4.5 SDK 4.5.50709
Microsoft .NET Framework 4.5 SDK - 日本語 Lang Pack 4.5.50709
Microsoft ASP.NET MVC 3 3.0.20105.0
Microsoft ASP.NET MVC 3 - JPN 3.0.20105.0
Microsoft ASP.NET MVC 3 - Visual Studio Express 2012 for... 3.0.30710.0
Microsoft ASP.NET MVC 3 -Visual Studio Express 2012 for ... 3.0.30710.0
Microsoft ASP.NET MVC 4 - Visual Studio Express 2012 for... 4.0.20710.0
Microsoft ASP.NET MVC 4 - Visual Studio Express 2012 for... 4.0.20710.0
Microsoft ASP.NET MVC 4 Runtime 4.0.20710.0
Microsoft ASP.NET MVC 4 Runtime - JPN 4.0.20710.0
Microsoft ASP.NET Web Pages 1.0.20105.0
Microsoft ASP.NET Web Pages - JPN 1.0.20105.0
Microsoft ASP.NET Web Pages - Visual Studio Express 2012... 1.0.20710.0
Microsoft ASP.NET Web Pages - Visual Studio Express 2012... 1.0.20710.0
Microsoft ASP.NET Web Pages 2 - Visual Studio Express 20... 2.0.20710.0
Microsoft ASP.NET Web Pages 2 - Visual Studio Express 20... 2.0.20710.0
Microsoft ASP.NET Web Pages 2 Runtime 2.0.20715.0
Microsoft ASP.NET Web Pages 2 Runtime - JPN 2.0.20710.0
Microsoft Help Viewer 2.0 2.0.50727
Microsoft NuGet - Visual Studio Express 2012 for Web 2.0.30625.9003
Microsoft SQL Server 2012 Command Line Utilities 11.0.2100.60
Microsoft SQL Server 2012 Data-Tier App Framework 11.0.2316.0
Microsoft SQL Server 2012 Data-Tier App Framework 11.0.2316.0
Microsoft SQL Server 2012 Express LocalDB 11.0.2318.0
Microsoft SQL Server 2012 Management Objects 11.0.2100.60
Microsoft SQL Server 2012 Management Objects (x64) 11.0.2100.60
Microsoft SQL Server 2012 Native Client 11.0.2100.60
Microsoft SQL Server 2012 Transact-SQL Compiler Service 11.0.2100.60
Microsoft SQL Server 2012 Transact-SQL ScriptDom 11.0.2100.60
Microsoft SQL Server 2012 T-SQL 言語サービス 11.0.2100.60
Microsoft SQL Server Compact 4.0 SP1 x64 JPN 4.0.8876.1
Microsoft SQL Server Data Tools - JPN (11.1.20627.00) 11.1.20627.00
Microsoft SQL Server Data Tools Build Utilities - JPN (1... 11.1.20627.00
Microsoft SQL Server System CLR Types 10.50.1600.1
Microsoft SQL Server System CLR Types (x64) 10.50.1600.1
Microsoft System CLR Types for SQL Server 2012 11.0.2100.60
Microsoft System CLR Types for SQL Server 2012 (x64) 11.0.2100.60
Microsoft Visual C++ 2012 x64 Additional Runtime - 11.0.... 11.0.50727
Microsoft Visual C++ 2012 x64 Debug Runtime - 11.0.50727 11.0.50727
Microsoft Visual C++ 2012 x64 Minimum Runtime - 11.0.50727 11.0.50727
Microsoft Visual C++ 2012 x86 Additional Runtime - 11.0.... 11.0.50727
Microsoft Visual C++ 2012 x86 Debug Runtime - 11.0.50727 11.0.50727
Microsoft Visual C++ 2012 x86 Minimum Runtime - 11.0.50727 11.0.50727
Microsoft Visual Studio 2012 Express Prerequisites x64 -... 11.0.50727
Microsoft Visual Studio 2012 Preparation 11.0.50727
Microsoft Visual Studio 2012 Shell (Minimum) 11.0.50727
Microsoft Visual Studio 2012 Shell (Minimum) Interop Ass... 11.0.50727
Microsoft Visual Studio 2012 Shell (Minimum) Resources 11.0.50727
Microsoft Visual Studio 2012 Tools for SQL Server Compac... 4.0.8876.1
Microsoft Visual Studio Express 2012 for Web - ENU 11.0.50727
Microsoft Visual Studio Express 2012 for Web - 日本語 11.0.50727
Microsoft Visual Studio Team Foundation Server 2012 Obje... 11.0.50727
Microsoft Visual Studio Team Foundation Server 2012 Obje... 11.0.50727
Microsoft Visual Studio Team Foundation Server 2012 Team... 11.0.50727
Microsoft Visual Studio Team Foundation Server 2012 Team... 11.0.50727
Microsoft Visual Studio Ultimate 2012 XAML UI Designer Core 11.0.50727
Microsoft Visual Studio Ultimate 2012 XAML UI Designer j... 11.0.50727
Microsoft Web Deploy 3.0 3.1236.1631
Microsoft Web Deploy dbSqlPackage Provider - JPN 10.3.20225.0
Microsoft Web Developer Tools - Visual Studio Express 20... 1.0.30710.0
Microsoft Web Developer Tools - Visual Studio Express 20... 1.0.30710.0
Microsoft Web Platform Installer 4.0 4.0.1622
Microsoft ヘルプ ビューアー 2.0 Language Pack - JPN 2.0.50727
SSDT に必要なコンポーネント 11.0.2100.60
Windows Azure Authoring Tools - June 2012 Release 1.7.30602.1703
Windows Azure Emulator - June 2012 Release 1.7.30602.1703
Windows Azure Libraries for .NET 1.7 – June 2012 1.7
Windows Azure PowerShell - August 2012 0.6.2
Windows Azure Tools for Microsoft Visual Studio 2012 - J... 1.7.50716.1601
Windows Azure Tools for Microsoft Visual Studio 2012 Core 1.7.50716.1601

ううむ。私の環境では一画面に収まりませんでした。一体いくつ入ったのでしょうか。

PS C:\Users\ksasaki> gwmi -class win32_product | measure

Count : 78

おおお。これで Windows Azure 向けの開発だろうと管理だろうと一通りなんでもできますね。

本当は Windows Azure のサブスクリプションを登録して Windows Azure PowerShell を使える状態にする手順まで書きたかったのですが、今日は時間切れなのでひとまずここまで。

 

関連情報

"Microsoft Web Platform Installer 4.0"
https://www.microsoft.com/web/downloads/platform.aspx

"Windows Azure SDK for .NET - 2012 年 6 月"
https://www.microsoft.com/ja-jp/download/details.aspx?id=29988

Visual Studio 2012 Express のダウンロード
https://www.microsoft.com/visualstudio/jpn/downloads#d-2012-express

Windows Azure PowerShell のダウンロード
https://www.windowsazure.com/en-us/manage/downloads/

 

__END__