有一架visual studio 2012的開發環境A由於某種原因無法鏈接internet, 於是乎安裝officetoolsforvisual2012就有問題了。
從微軟的官網上只可以下載 officetooslforvisual2012rtw (<200kb). 很顯然正是一個在線安裝的啟動。
如何取得離線安裝包
1:必須在某個有internet的pc上安裝webPI (web platform installer) 最新版本是 4.6
2:進入webPI的文件夾 C:\Program Files\Microsoft\Web Platform Installer
3:運行webPI 命令行 webPICMD
WebpiCmd.exe /offline /products:OfficeToolsForVS2012RTW /Path:C:\YourFolder\OfficeToolsForVS2012RTW

4: 拷貝整個文件夾去A, 運行
C:\YourFolder\OfficeToolsForVS2012RTW\installers\WebpiCmd.exe /install /products:OfficeToolsForVS2012RTW

5:利用這個辦法可以拿到其他的離線安裝包
完整的清單在 http://www.microsoft.com/web/webpi/4.6/webproductlist.xml
