Saturday, December 19, 2009

Installing TFS 2010 on Windows 7

Team Foundation Server or TFS is now well know tool for Application Lifecycle management. It almost support everything which you need during your application development process. starting from requirement gathering documentation to deployment. Bug tracking, source control, testing, build management etc.  during my couple of assignments and client meets many people asked a question Why TFS and why not Visual SourceSafe or any other open source tool? this question is really difficult to answer as everyone carry there own features and drawback.  But many time i also thought what about small organizations, or small teams , do they really need all TFS features and if not then why they should invest so much money to deploy TFS ? as TFS deployment was not at all easy job. and it required huge investment also. if this is case then  what about a person who want to use Source control on his personal machine ? he can not install TFS on his machine as TFS only support Server OS and not any client OS. But now we have a good news for all those people who want to use TFS just for source control and on their own machine, and for small Teams or small organizations too…

Microsoft recently resealed VSTS/TFS 2010 Beta 2 which support client OS like Vista SP2 and Windows 7. it support basic features and also work with SQL Express edition. so now those people who are using VSS and want move to TFS can easily move to TFS in less cost.
Second important thing is TFS installation, i still remember when i installed TFS 2005 first time, i spend almost 2 days to understand those installment steps and dependencies, WSS issues, AD issues etc. and then install it and configure it. after 5 years now today i installed TFS 2010 Beta 2 in just 15-20 minutes.
The TFS 2010 Beta 2 can be installed on Vista with service pack 2, Windows 7 machines with basic configuration and limited features. and off course you can install it on Server OS with all features.
lets see steps to install TFS 2010 Beta 2 on Windows 7 Machine…
Prerequisites for this are IIS, ASP.NET, SQL Express and .NET 4.0 beta.
so first step is install IIS on windows 7 -  Go to control panel ->  Click Programs, and then click Turn Windows features on or off.  The Windows Features dialog box appears.

Capture1
Select the Internet Information Services check box to turns IIS 7 on with the default options.
Expand Internet Information Services, expand World Wide Web Services, and expand Application Development Features. Select the ASP.NET check box if it is not already selected. Do not select or clear any other check boxes.
Now expand Security ->
  1. Select the Windows Authentication check box if it is not already selected. If Windows authentication is not available on your operating system, select the Basic Authentication check box.
  2. Expand Internet Information Services, expand Web Management Tools, and expand and select the IIS 6 Management Compatibility check box.
  3. Select the IIS 6 Management Console and IIS 6 Scripting Tools check boxes.
  4. The .IIS 6 WMI Compatibility and IIS Metabase and IIS 6 Configuration compatibility check boxes are automatically selected. Do not select or clear any other check boxes.
  5. Click OK.
Next step install SQL Server 2008 Express edition ( download )
Now your machine is ready to start TFS setup. insert TFS setup media and browse to 64bit or x86 folder as per your requirement and run the setup.
Capture2
Capture3
it will detect the installed product and show the list, since I installed VSTS 2010 beta before i installed TFS it showing VC runtime and .NET 4.0 it in installed list, if you are installing it on new machine it will show all component in installation list. here .NET 4.0 requires restart your machine. if you are installing it in this process.
accept the License Terms and click Next…
Capture4
select Team Foundation server and if needed Build service… and click install
Capture5
it will start installation process as shown in above screen.
Capture6
your installation is successful and now you are ready to configure TFS. check the checkbox “Launch Team Foundation Server Configuration Tool” and click finish button.
Capture7
It will launch Team Foundation Server Configuration, you will see three different Wizards options “Basic”, “Advanced” , “Application-Tier only” and Upgrade. Since we are installing it on Windows 7 we will select Basic configuration which will allow us to configure it for basic features.
click on “Start Wizard” button to start the basic configuration  of TFS.
Capture8
click on Next to start Configuration Wizard.
Capture9
Here it will allow you to select SQL Server instance, you can use SQL Server Express edition. in above windows it showing SQL Server Express disabled because I have SQL Server 2008 instance running on my machine. so select your option accordingly and then click next to continue. it will detect all SQL Server instance running on your machine and will allow to select one, here it showing my default SQL Server instance and you test this instance connectivity by clicking a small link just next to called as “Test”. on successful test click on Next,
Capture10
it will show confirmation windows verify all details and then click Next…
Capture11
It will Open Readiness check windows, this is really cool feature i found in TFS setup , it will check all details and make sure your system is ready for configuration. click next to Run “Readiness Check”
Capture12
click configure button to start configuration, on completion you will see following windows.
Capture13
click Next, you will find following Review windows… Configuration completed successfully.
Capture14
click on close to close this wizard, it will open “Team Foundation Server Administration Console”, this is the place you can use to manage your TFS.
Capture15
always download and ref.  Team Foundation Server Installation Guide before you actually start installation. 

6 comments:

Anonymous said...

Loved it,

Thank you.

Anonymous said...

Excellent!! Very nicely explained.
Thanks a lot!!!!

Anonymous said...

thanks!
you have one new reader :)

Anonymous said...

Good work buddy..it helped me !!

Anonymous said...

Thanks for the share..Nice one!

Anonymous said...

Hi,

I am trying to install TFS 2010 on Windows 7 dev machine where I am also having SharePoint 2010 installed in Stand alone mode along with SQL Server 2008 R2.

Now, I want to integrate TFS with my SharePoint 2010 but I am not getting 'Extension for SharePoint Products' option in Setup.

Could you please help?

Regards,
Sagar S.