Web Platform Installer bundles for Visual Studio 2010 SP1 - and how you can build your own WebPI bundles
Visual Studio SP1 is now available via the Web Platform Installer, which means you've got three options:
- Download the 1.5 GB ISO image
- Run the 750KB Web Installer (which figures out what you need to download)
- Install via Web PI
Note: I covered some tips for installing VS2010 SP1 last week - including some that apply to all of these, such as removing options you don't use prior to installing the service pack to decrease the installation time and download size.
Two Visual Studio 2010 SP1 Web PI packages
There are actually two WebPI packages for VS2010 SP1. There's the standard Visual Studio 2010 SP1 package [Web PI link], which includes (quoting ScottGu's post):
- VS2010 2010 SP1
- ASP.NET MVC 3 (runtime + tools support)
- IIS 7.5 Express
- SQL Server Compact Edition 4.0 (runtime + tools support)
- Web Deployment 2.0
The notes on that package sum it up pretty well:
Looking for the latest everything? Look no further. This will get you Visual Studio 2010 Service Pack 1 and the RTM releases of ASP.NET MVC 3, IIS 7.5 Express, SQL Server Compact 4.0 with tooling, and Web Deploy 2.0. It's the value meal of Microsoft products. Tell your friends! Note: This bundle includes the Visual Studio 2010 SP1 web installer, which will dynamically determine the appropriate service pack components to download and install. This is typically in the range of 200-500 MB and will take 30-60 minutes to install, depending on your machine configuration.
There is also a Visual Studio 2010 SP1 Core package [Web PI link], which only includes only the SP without any of the other goodies (MVC3, IIS Express, etc.). If you're doing any web development, I'd highly recommend the main pack since it the other installs are small, simple installs, but if you're working in another space, you might want the core package.
Installing via the Web Platform Installer
I generally like to go with the Web PI when possible since it simplifies most software installations due to things like:
- Smart dependency management - installing apps or tools which have software dependencies will automatically figure out which dependencies you don't have and add them to the list (which you can review before install)
- Simultaneous download and install - if your install includes more than one package, it will automatically pull the dependencies first and begin installing them while downloading the others
- Lists the latest downloads - no need to search around, as they're all listed based on a live feed
- Includes open source applications - a lot of popular open source applications are included as well as Microsoft software and tools
- No worries about reinstallation - WebPI installations detect what you've got installed, so for instance if you've got MVC 3 installed you don't need to worry about the VS2010 SP1 package install messing anything up
In addition to the links I included above, you can install the WebPI from http://www.microsoft.com/web/downloads/platform.aspx, and if you have Web PI installed you can just tap the Windows key and type "Web Platform" to bring it up in the Start search list. You'll see Visual Studio SP1 listed in the spotlight list as shown below.
That's the standard package, which includes MVC 3 / IIS 7.5 Express / SQL Compact / Web Deploy. If you just want the core install, you can use the search box in the upper right corner, typing in "Visual Studio SP1" as shown.
Core Install: Use Web PI or the Visual Studio Web Installer?
I think the big advantage of using Web PI to install VS 2010 SP1 is that it includes the other new bits. If you're going to install the SP1 core, I don't think there's as much advantage to using Web PI, as the Web PI Core install just downloads the Visual Studio Web Installer anyways. I think Web PI makes it a little easier to find the download, but not a lot. The Visual Studio Web Installer checks dependencies, so there's no big advantage there.
If you do happen to hit any problems installing Visual Studio SP1 via Web PI, I'd recommend running the Visual Studio Web Installer, then running the Web PI VS 2010 SP1 package to get all the other goodies. I talked to one person who hit some random snag, recommended that, and it worked out.
Custom Web Platform Installer bundles
You can create links that will launch the Web Platform Installer with a custom list of tools. You can see an example of this by clicking through on the install button at http://asp.net/downloads (cancelling the installation dialog). You'll see this in the address bar: http://www.microsoft.com/web/gallery/install.aspx?appsxml=&appid=MVC3;ASPNET;NETFramework4;SQLExpress;VWD
Notice that the appid querystring parameter includes a semicolon delimited list, and you can make your own custom Web PI links with your own desired app list. I can think of a lot of cases where that would be handy: linking to a recommended software configuration from a software project or product, setting up a recommended / documented / supported install list for a software development team or IT shop, etc.
For instance, here's a link that installs just VS2010 SP1 Core and the SQL CE tools: http://www.microsoft.com/web/gallery/install.aspx?appsxml=&appid=VS2010SP1Core;SQLCETools
Note: If you've already got all or some of the products installed, the display will reflect that. On my dev box which has the full SP1 package, here's what the above link gives me:
Here's another example - on a fresh box I created a link to install MVC 3 and the Web Farm Framework (http://www.microsoft.com/web/gallery/install.aspx?appsxml=&appid=MVC3;WebFarmFramework) and got the following items added to the cart:
But where do I get the App ID's?
Aha, that's the trick. You can link to a list of cool packages, but you need to know the App ID's to link to them. To figure that out, I turned on tracing in Web Platform Installer (also handy if you're ever having trouble with a WebPI install) and from the trace logs saw that the list of packages is pulled from an XML file:
DownloadManager Information: 0 : Loading product xml from: https://go.microsoft.com/?linkid=9763242
DownloadManager Verbose: 0 : Connecting to https://go.microsoft.com/?linkid=9763242 with (partial) headers:
Referer: wpi://18.104.22.168/Microsoft Windows NT 6.1.7601 Service Pack 1
If-Modified-Since: Wed, 09 Mar 2011 14:15:27 GMT
User-Agent:Platform-Installer/22.214.171.124(Microsoft Windows NT 6.1.7601 Service Pack 1)
DownloadManager Information: 0 : https://go.microsoft.com/?linkid=9763242 responded with 302
DownloadManager Information: 0 : Response headers:
HTTP/1.1 302 Found
Content-Type: text/html; charset=utf-8
Expires: Wed, 09 Mar 2011 22:52:28 GMT
Date: Wed, 09 Mar 2011 22:53:27 GMT
Browsing to https://www.microsoft.com/web/webpi/3.0/webproductlist.xml shows the full list.
You can search through that in your browser / text editor if you'd like, open it in Excel as an XML table, etc. Here's a list of the App ID's as of today: