Sunday, January 17, 2010

Visual Studio Team Foundation Server 2008 - Pain in the Ass install

Wow, on my 20th try I finally go it, but not without wasting about 2 days worth of time. This install ranks up there in terms of difficulty and frustration and the only reason it's worth it probably because it's better than VSS. If I couldn't get it today I would have went to CVS or Subversion (maybe I still will).

So what to look out for? Well here are my specs:

SQL Server 2008
Windows Server 2003 with SP2, .NET Framework 3.5 SP1, IIS

I also use vSphere 4.0, so my visual studio team foundation server with WSS is inside a virtual machine. So here is the first step

1) Install SQL Server 2008 Enterprise with Reporting Services and SP1
2) Take a Snapshot of the VM so you can roll back to this point
3) Configure your SQL Server Reporting Services with the Database server. In the documentation it tells you not to, but if I don't do it the install fails.


Right off the bat, make sure you prepare and get the slipstream install for SP1. If you don't you'll get tons of errors (you do even if you do this).

So the first step in creating the slip stream install is to download the service pack and then download the documentation. After you download this documentation, go to the section "How to: Integrate the Installation of Team Foundation Server and Service Pack 1" and follow those steps.

If you get the stupid errors "the source file doesn't exist" for the

\{source}\AT\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Web Services\Services\bin\Plugins
\{source}\AT\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Web Services\VersionControl
\{source}\AT\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Web Services\Warehouse

Just copy them to the directory where you are slipstreaming the install and then click ignore on the files. I think the problem is because the file names are TOO long, which causes the slip stream process to not be able to recognize the file locations.

After the slip stream files have been copied over, make sure you don't install off of a network drive, as you WILL run into the problem where the file names are too long. Instead, copy the install files to the local computer or make an ISO so the path name is not too long. In my case, I just made a directory c:\v and copied the slip stream files over.

After this, I ran and the install was complete. I ran all of the other parts and there were no problems. Sharepoint gets installed automatically which was nice, but was a pain in the Ass for an install. Microsoft should definitely document this better it like getting my teeth pulled.

No comments: