A Blog

TFS - Installation

August 29, 2007

Before I could actually use the fancier parts of Visual Studio Team Foundation Server, I had to first install it. I began by following this Cliffs’ Notes version of the process, but changed up halfway through for reasons I’ll describe below.

I didn’t have a spare machine around that was beefy enough to run TFS, but decided that it would be able to run fine in a Virtual Machine. According to this page, TFS needs IIS, SQL Server 2005, and SharePoint Services all installed as prerequisites. Fortunately I happened to have a partially built VM lying around from when I thought I was going to be using SQL Reporting Services.  I had already installed SQL Server, just not with all of the components to go along with it.

Setting up SharePoint was a little more obnoxious1 than I remembered. Getting the stupid config database set up properly is a royal pain for someone who isn’t very familiar with the finer details of IIS and SQL Server. I could probably write a long rant about just that, but I’ll save it for another post…

And of course, there are always snags… The default hard drive size for the VM was only 8 GB, too small for TFS to reliably use. The recommended minimum size is 10, so I increased it to 16 for good measure.

Hilariously2, once I finally got all this done and started the actual TFS installer, it informed me that SharePoint was configured incorrectly and needed to be uninstalled, and then reinstalled again. At that point I just went to bed.

Perhaps I should have heeded the warning in the Vertigo blog:

And if there’s any question about any of this, don’t listen to me! I’m just Some Guy on the Internet(tm)! Refer to the official install guide, man!

The next morning, I decided to go straight to the horse's mouth and consulted the manual for any SharePoint advice. Apparently, I should have done this in the first place, because one of the how-to's listed a simple command-line script to run to get everything set up properly:
stsv2.exe /C:"setupsts.exe /remoteSql=yes /provision=no /qn+"

This took all of 5 seconds to run and install, then politely informed me that SharePoint was good to go.

Once again, I started to install TFS, and finally had success!  Lastly, I installed the Team Explorer client just to take a quick poke around.

That about covers the installation. I’ll start doing some basic functionality testing soon and then try to do some of the more advanced stuff.

  1. Understatement: I was cursing in languages that hadn’t been invented yet. «
  2. Not hilarious. «

Scott Williams

Written by Scott Williams who lives and works in sunny Phoenix, AZ. Twitter is also a place.