While installing the latest 64 bit wss tfs extensions you would recieve the following error.

No templates for Windows SharePoint Services Extensions were uploaded to the server that is running Windows SharePoint Services. You will not be able to create projects in Team Foundation Server. For more information, see the Microsoft Windows Installer (MSI) log file. By default, this log file is located in Drive:\Documents and Settings\UserName>\Local Settings\temp.

Could not upload the template that Team Foundation Server requires for Windows SharePoint Services Extensions. Stsadm.exe returned the following error: -1.

To resolve what you are getting, you would need to do this:

1. Download the WssExt64Bit.msi file from http://www.microsoft.com/Downloads/details.aspx?FamilyID=fbd14eea-781f-45a1-8c46-9f6ba2f68bf0&displaylang=en

2. Do Windows Installer Admin install for the wssext64Bin.msi file as:
a. Open an elevated command prompt window
b. Run: msiexec /a <<Path to wssext64bin.msi>> TARGETDIR=c:\WSSExt64
c. This would start the admin installation for wssext64.msi & the binaries would be copied to c:\WSSExt64 folder. If you open this folder you would see that admin install has laid down a folder structure under the wssext64 folder. This folder structure represents the actual folders which would have files added to them if the installation would have been done normally.
The folder structure created would be:
clip_image002

3. While still in the elevated command prompt, change to the folder C:\WSSExt64\Tools & run the command:
TFSConfigwss.exe uploadtemplates

4. While still in the elevated command prompt, type TfsConfigwss.exe & hit enter. Provide the Site Collections uri, Report Manger & Report Server uri in the following dialog:
clip_image003

5. Do an IISReset on the MOSS/SharePoint x64 machine. Close the elevated command prompt.

6. Copy the tfsredirect.aspx file from C:\WSSExt64\Common Files (64-bit) Folder\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS to C:\Program Files\Common Folder\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS folder.

Do the above steps on all MOSS/Sharepoint x64 instances if applicable.