Welcome to MSDN Blogs Sign in | Join | Help

Yet More Team Foundation Server Power Tools

I went on vacation for a few days this week and lo and behold while I'm gone the team has released our next version of the TFS Power Tools (formerly Power Toys).  We've numbered it Version 1.2 but I prefer to refer to it as the Feb '07 release.  There's a grab bag of new stuff in this release, including:

  • 2 new commands to the tfpt command line tool (use tfpt /? to see details)
    • Workspace - Use the workspace command for additional workspace operations not supported in the currently shipping Team Foundation Server command line (tf.exe).  Specifically, it supports a /updatecomputer switch, that allows you to change the computer a workspace is associated with to "this" computer.  This was added specifically as a result of feedback I got from someone reading my blog.
    • Treeclean - Use the treeclean command to see and optionally delete files in the current directory and all subdirectories that are not under version control.
  • A new Process Template Editor.  This tool is based on the work Joel Semeniuk has done but extends it to integrate with the Team Explorer, display a graphical view of the work item state diagram, handle a broader array of process templates, etc.  This should substantially reduce the degree to which people have to munge around in XML files to edit work items.  It's by no means a complete Process Template editing solution but it's a good start and covers the most common cases.
  • A new test task for TFS Build that enables you to specify the DLLs that contain tests to be run rather than having to author a .vsmdi file.  You may have see Buck talking about this on his blog.  This makes it much easier to mantain the list of tests to run during Continuous Integration or Nightly builds.
  • A few checkin policies that enable commonly requested scenarios, including:
    • Changeset Comments - The Changeset Comments policy allows you to verify that the Comments text box in the Check In dialog box is not empty. You cannot check in a file if the Comments text box is empty.
    • Custom Path Policy - The Custom Path Policy works with existing Team Foundation Server check-in policies.  It provides a mechanism that lets you specify the source control path or paths upon which a particular policy acts.  This allows you toenforce a different sets of rules for different source control folders.
      The Custom Path Policy also allows you to filter what specific items upon which a policy acts.  For example, you can enforce an associated work item on check-in for files that end in ".cs, .sln, .csproj."
    • Forbidden Patterns - The Forbidden Patterns policy allows you to specify a file extension or a regular expression that you can use to keep certain file types from being checked in to source control.
    • Work Item Query - The Work Item Query policy allows you to specify a team query to which the work item associated with a check-in must belong.  If the results of the query do not include the work item associated with the check-in, check-in is blocked.  This allows you to, for example, require that every checkin must be associated with an "active", "approved" work item.
  • Support for Windows Vista.
  • The TFS Power Tools have been renamed from TFS Power Toys.
  • Some misc bug fixes that I haven't tracked down a list of :)

You can download the new TFPT release from here

I've already seen one problem crop up - uninstalling the old TFPT release on Vista.  You get the error "Error 1721.  There is a problem with with Windows Installer package. ...".  You either need to disable UAC or you can run msiexec /i tfpt.msi.

I'll try to post any other issues as I learn about them.  Here's a link to the forum where you can ask any question you have about the new release.

We had originally hoped to get this out in early December but a number of things conspired to make it take longer than we had hoped.  As you can see there's quite a bit of new stuff here and hopefully you will find it useful.  Let us know what you think and what you'd like to see in future releases.

We're already starting to plan what's next.  We've got a Vista sidebar tool already nearly complete and a bunch of other stuff in the hopper.  We haven't set a date yet but I'm hoping for something like April.  We'll see.

Thanks,

Brian

Published Friday, February 23, 2007 1:21 PM by bharry

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Yet More Team Foundation Server Power Tools

There's a new video on Channel 9 featuring Ed Hintz showing off these Power Tools as well as a new admin/ops Power Tool scheduled for a future release. Check out http://channel9.msdn.com/Showpost.aspx?postid=285202

Friday, February 23, 2007 9:17 PM by briankel

# VSTS Links - 02/26/2007

The UK Developer Tools Team Blog on Virtual PC 2007 and Team Build. Ed Hintz on Channel 9 Interview...

Monday, February 26, 2007 9:04 AM by Team System News

# re: Yet More Team Foundation Server Power Tools

Another minor setup hiccup when installing this PowerTools release on Vista.  Apparently some Vista installations don't have the VBScript runtime registered and the Power Tool setup program requires it.

Some people are seeing an error that looks like:

DEBUG: Error 2738:  Could not access VBScript runtime for custom action

DEBUG: Error 2835:  The control ErrorIcon was not found on dialog SetupError

Internal Error 2835. ErrorIcon, SetupError

Internal Error 2738.

MSI (s) (F8:E4) [21:33:22:469]: Product: Microsoft Team Foundation Server Power Tools -- Internal Error 2738.

You can correct this error by running:

regsvr32 c:\windows\system32\vbscript.dll

Of course, using the proper path to your system directory.

Thanks,

Brian

Monday, February 26, 2007 9:26 PM by bharry

# Happy Anniversary TFS!

It's been exactly 1 year since we released the golden version of Team Foundation Server v1! This post

Saturday, March 17, 2007 8:35 AM by Jeff Beehler's Blog

# re: Yet More Team Foundation Server Power Tools

Hi,

 I was trying to uninstall v1.1 on Vista and got an internal error "Internal Error 2738" message.

I browsed the net and understood that the vbscript.dll was not registered. So I was trying my luck and registered it using the regsvr32.exe.

And all went well , until I tried to uninstall again, Now...

I got the following message:

"Error 1722. There is a problem with this windows Installer package. A program run as part of the setup did not finish as expected. Contact your..."

Additional info from the event log says: "Action DevEnvSetup" command "...\IDE\\devenv /setup"

Any ideas?

Sunday, April 01, 2007 11:03 AM by tikotal

# re: Yet More Team Foundation Server Power Tools

I'm going to forward this to a few people and see if I can get you an answer.

Brian

Monday, April 02, 2007 8:42 AM by bharry

# re: Yet More Team Foundation Server Power Tools

Brain, Thanks for your help, I managed to uninstall version 1.1 off vista.

You can read further here:

http://tikotal.blogspot.com/2007/04/finally-i-managed-to-uninstall-tfs.html

Wednesday, April 04, 2007 12:47 PM by tikotal - http://blog2.tikotzki.com

# re: Yet More Team Foundation Server Power Tools

About the install error: Trying to register vbscript.dll didn't work (Couldn't make the call to registerdll blah blah blah). Perhaps it's Vista, I don't know. Luckily, installing the msi using msiexec /i tfpt.msi did work flawlessly.

Friday, April 27, 2007 4:55 AM by Ralph Hendriks (r.hendriks at caesar.nl)

# Team Architect's plans for Power Tools

Over the past year, we've been trying to release components to you out of band from our major release

Thursday, May 17, 2007 9:07 AM by Jeff Beehler's Blog

# treeclean feature request

For the next release, can you add a "move" option to treeclean, so that instead of deleting files, the files are moved to another user-specified folder?

Monday, June 04, 2007 2:16 PM by Tito

# re: Yet More Team Foundation Server Power Tools

We'll look into it.  Thanks for the suggestion.

Brian

Monday, June 04, 2007 6:26 PM by bharry

# re: Yet More Team Foundation Server Power Tools

When you get the following message:

"Error 1722. There is a problem with this windows Installer package. A program run as part of the setup did not finish as expected. Contact your..."

Additional info from the event log says: "Action DevEnvSetup" command "...\IDE\\devenv /setup"

then...

Check your system drive. Do you have a file called "C:\Program" ? If so, try removing it.

Thursday, May 14, 2009 6:13 AM by ivan

# re: Yet More Team Foundation Server Power Tools

It sounds like there was a problem running devenv /setup.  This step is done as a final step in publishing new VS menu commands.  The first question I'd have is whether or not it works when you run it manually.  Open a command prompt, find the devenv.exe program under the VS folder and run devenv /setup.

Brian

Thursday, May 14, 2009 9:36 AM by bharry

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker