Mar
12
2013

Offline install of Office Developer Tools for Visual Studio 2012

Last week Microsoft has released the RTM version of Office Developer Tools for Visual Studio 2012. This is a very exciting news for those SharePoint 2013 developers who has been using Preview 2 version of the tool (made to GA on Nov/2012) since SharePoint 2013 RTM.

For those who don’t need to worry about the offline installation and just want to install it on one or two development machines – here is the link to download and install directly through Microsoft’s Web Platform Installer (Web PI) http://aka.ms/OfficeDevToolsForVS2012

However, please continue reading if you like to:

1. keep a shadow copy of whole installation package along with all the pre-requirements components

2. able to install Office Developer Tools for Visual Studio 2012 in one or more offline environments

3. save some internet bandwidth for your enterprise network

Here is what you need to do:

*You will need a PC with Microsoft Web Platform Installer 4.5 installed and connected to the internet to download the initial copy of whole package.

Step 1. Download the Package through WebpiCmd.exe command (Online)

From the Web PI wizard you can see there are multiple dependency components needs to be installed as part of Microsoft Office Developer Tools for Visual Studio 2012

image

 

image

Here is the WebpiCmd command that you can use to avoid  to download each these dependencies one by one manually.

*WebpiCmd is locate at “C:\Program Files\Microsoft\Web Platform Installer” on the machine that has Web PI 4.5 installed

WebpiCmd.exe /offline /products:OfficeToolsForVS2012RTW /Path:C:\YourFolder\OfficeToolsForVS2012RTW

Where is OfficeToolsForVS2012RTW product id come from? Web PI gets all products id from http://www.microsoft.com/web/webpi/4.5/webproductlist.xml

You can go there and find Office 15 RTW Tools section and see its product id. Preview 2 product id can also be found if you search Office 15 GA Tools in the same list.

Untitled2

This will download all the necessary components automatically for OfficeToolsForVS2012RTW product to be installed correctly. WebpiCmd will also create a nice folder structure under OfficeToolsForVS2012RTW (*specified in the command above) to store each of these installers.

Untitled4

 

Step 2. Move downloaded folder and Install the package though WebpiCmd.exe command (Offline)

Now you can move OfficeToolsForVS2012RTW folder to any development machine that you wish to install, use WebpiCmd  tool in your OfficeToolsForVS2012RTW\installers folder to execute following command.

C:\YourFolder\OfficeToolsForVS2012RTW\installers\WebpiCmd.exe /install /products:OfficeToolsForVS2012RTW

Untitled

Repeat Step 2 if you wish to install Office Developer Tools for Visual Studio 2012 on different machine.

Here you have it. I Hope this helps!

James

blog comments powered by Disqus