# Problems with FB V7.0.0.1065 and TFS 2010

**URL:** https://www.finalbuilder.com/forums/t/problems-with-fb-v7-0-0-1065-and-tfs-2010/1726
**Category:** Discussion
**Created:** [March 23, 2011, 5:00am UTC](https://www.finalbuilder.com/forums/t/problems-with-fb-v7-0-0-1065-and-tfs-2010/1726 "2011-03-23T05:00:14Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [March 23, 2011, 5:00am UTC](https://www.finalbuilder.com/forums/t/problems-with-fb-v7-0-0-1065-and-tfs-2010/1726/1 "2011-03-23T05:00:14Z")

</div>

Hi,

I cannot make that TFS2010 executes my Finalbuilder project.&nbsp; I have installed FB v7.0.0.1065 on my development and build machine.

I'm using the template FinalBuilderPostBuild.xaml so TFS2010 takes care of building my solution and running the unit tests and I want to use my Finalbuilder project to execute some post-build actions.

Solution to build as well as the path to my Finalbuilder project are set in the build definition.

I have even disabled all tasks in the FB project but the problem seems to be that TFS cannot call FB.

&nbsp;

This is the error message I'm seeing:

&nbsp;

&nbsp;Calling FinalBuilder  
&nbsp;Exception encountered when running FinalBuilder: Failed to get the path of the installed version of FinalBuilder (Registry entries not found)  
&nbsp;&nbsp;&nbsp; bei VSoftTechnologies.FinalBuilder.FBCmd.FindInstallationPath()  
&nbsp;&nbsp;&nbsp; bei VSoftTechnologies.FinalBuilder.FBCmd.Execute()  
&nbsp;&nbsp;&nbsp; bei VSoftTechnologies.FinalBuilder.TFS.Workflow.RunFinalBuilder.Execute(CodeActivityContext context)

&nbsp;

The Finalbuilder installation seems to be OK on the development and build machines.&nbsp;

I have spent 2 days trying to figure out what's the problem, please help !

I'm attaching the whole log file.

&nbsp;

Thanks,

Victor

[002\_001\_BuildLog.txt](https://www.finalbuilder.com/forums/uploads/default/original/2X/4/478173b0a4841af8ed9e6816de4e4b9366858c5e.txt) (101.839 KB)

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [March 24, 2011, 1:58am UTC](https://www.finalbuilder.com/forums/t/problems-with-fb-v7-0-0-1065-and-tfs-2010/1726/2 "2011-03-24T01:58:01Z")

</div>

Hi Victor,   
 It sounds like a problem with the registry reading code that locates FinalBuilder. Can you please have a look in the registry and check if the FinalBuilder keys are installed? They should be in   
 64bit: HKEY\_LOCAL\_MACHINE\SOFTWARE\Wow6432Node\VSoft\FinalBuilder\7.0   
 32bit: HKEY\_LOCAL\_MACHINE\SOFTWARE\VSoft\FinalBuilder\7.0   
  
 Cheers,   
  
 Ben

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [March 24, 2011, 9:39am UTC](https://www.finalbuilder.com/forums/t/problems-with-fb-v7-0-0-1065-and-tfs-2010/1726/3 "2011-03-24T09:39:42Z")

</div>

Hi Ben,   
  
 I verified and the registry keys are there (I’m using 32bit)   
  
 In HKEY\_LOCAL\_MACHINE\SOFTWARE\VSoft\FinalBuilder\7.0 there are two entries:   
  
 Directory C:\Program Files\FinalBuilder 7   
 Location C:\Program Files\FinalBuilder 7\FinalBuilder7.exe   
  
 Do you have any other idea?   
  
 Thanks and regards,   
 Vioctor

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [March 28, 2011, 6:59am UTC](https://www.finalbuilder.com/forums/t/problems-with-fb-v7-0-0-1065-and-tfs-2010/1726/4 "2011-03-28T06:59:21Z")

</div>

Hi Victor,   
 I’ve created a cut-down version of the code that performs the registry check, with some added debug info: [http://finalbuilder.com/downloads/FindFinalBuilderRegKeys.exe](http://finalbuilder.com/downloads/FindFinalBuilderRegKeys.exe)   
  
 Can you please download it and run it on your build server, and let me know what the output is?   
  
 Cheers,   
  
 Ben

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [March 28, 2011, 4:25am UTC](https://www.finalbuilder.com/forums/t/problems-with-fb-v7-0-0-1065-and-tfs-2010/1726/5 "2011-03-28T04:25:51Z")

</div>

Hi Ben,

&nbsp;

this is the output I got:&nbsp;

&nbsp;

Attempting to determing the OS type...  
OS type is : Bit64  
Attempting to locate the FB install location...  
Failed to get the path of the installed version of FinalBuilder (Registry entries not found)

&nbsp;

Nevertheless my build machine is a Windows XP 32-Bit.&nbsp; Can this be the problem?&nbsp;&nbsp; I mean, that the OS is not recognized correctly and the registry keys are being searched in a wrong path?

&nbsp;

Thanks Ben !  
&nbsp;

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [March 29, 2011, 1:09am UTC](https://www.finalbuilder.com/forums/t/problems-with-fb-v7-0-0-1065-and-tfs-2010/1726/6 "2011-03-29T01:09:41Z")

</div>

Hi Victor,   
 That definitely looks like its the problem. It’s rather strange though - on our 32bit XP SP2 test VM that exe correctly identifies the machine as 32bit.   
  
 Can you please make sure that you don’t have an HKEY\_LOCAL\_MACHINE\SOFTWARE\Wow6432Node\VSoft\FinalBuilder key? If for some reason that key exists on a 32bit system it would likely confuse the OS detection code.   
  
 Is there anything special about your XP install, for example are you using a non-English version?   
  
 Cheers,   
  
 Ben

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [March 29, 2011, 5:18am UTC](https://www.finalbuilder.com/forums/t/problems-with-fb-v7-0-0-1065-and-tfs-2010/1726/7 "2011-03-29T05:18:37Z")

</div>

Hi again Victor,   
 I’ve made some improvements to our OS detection code. Can you please re-download the test app and see if it now correctly identifies your OS and finds the FinalBuilder location?   
  
 [http://finalbuilder.com/downloads/FindFinalBuilderRegKeys.exe](http://finalbuilder.com/downloads/FindFinalBuilderRegKeys.exe)   
  
 If that works I’ll make the same change to FinalBuilder and get a new build out to you.   
  
 Cheers,   
  
 Ben

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [March 29, 2011, 10:39am UTC](https://www.finalbuilder.com/forums/t/problems-with-fb-v7-0-0-1065-and-tfs-2010/1726/8 "2011-03-29T10:39:50Z")

</div>

Hi Ben,

&nbsp;

I verified the points you mentioned (in the build machine):

&nbsp;

a.&nbsp; In the build machine there are installations of FB5, FB6 and FB7.&nbsp; A registry key for 64-Bit was found for the FB5 Installation:

&nbsp;&nbsp;&nbsp;&nbsp; HKEY\_LOCAL\_MACHINE\SOFTWARE\Wow6432Node\VSoft\FinalBuilder\5.0

But also the one for 32-Bit --\> HKEY\_LOCAL\_MACHINE\SOFTWARE\VSoft\FinalBuilder\5.0

&nbsp;

b. The build machine's language was German.&nbsp; I set it to Englisch and ran the last version of the tool, unfortunately with the same result:

Attempting to determing the OS type...  
OS type is : Bit64  
Attempting to locate the FB install location...  
Failed to get the path of the installed version of FinalBuilder (Registry entries not found)

c. Then I executed a backup and then deleted the whole key Wow6432Node\VSoft\FinalBuilder\5.0

Now I get the following output...

Attempting to determing the OS type...  
OS type is : Bit32  
Attempting to locate the FB install location...  
FinalBuilder location is: C:\Program Files\FinalBuilder 7  
&nbsp;

Cheers,

Victor  
&nbsp;

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [March 29, 2011, 10:50am UTC](https://www.finalbuilder.com/forums/t/problems-with-fb-v7-0-0-1065-and-tfs-2010/1726/9 "2011-03-29T10:50:59Z")

</div>

Hi Ben,

&nbsp;

after removing the 64-Bit key from the registry, I ran my build and now it works !

Thanks for the great support.

&nbsp;

(Maybe we found a new issue for the knowledge base )

&nbsp;

Best regards,

Victor

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [March 30, 2011, 12:53pm UTC](https://www.finalbuilder.com/forums/t/problems-with-fb-v7-0-0-1065-and-tfs-2010/1726/10 "2011-03-30T12:53:45Z")

</div>

Hi Victor,   
 I’m glad you’re up and running. Please let us know if there’s anything else we can help with.   
  
 Cheers,   
  
 Ben
