# Finalbuilder Server Passing Variable

**URL:** https://www.finalbuilder.com/forums/t/finalbuilder-server-passing-variable/3207
**Category:** Bugs
**Created:** [January 7, 2010, 6:45am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-server-passing-variable/3207 "2010-01-07T06:45:26Z")
**Posts on this page:** 2
**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: [January 7, 2010, 6:45am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-server-passing-variable/3207/1 "2010-01-07T06:45:26Z")

</div>

I wrote a build script for execution on the server and from the ide. I want to prompt the user (memo field) to input a variable with a default value set, but the exact same default value cannot be set for the server and works for the ide.&nbsp;When executing the script a failure is reported:

An invalid variable was passed to the project.

Project Configuration Error   
FBCmd Error: 14 : ERRORSETTINGVARIABLE   
Project Validated Successfully   
Error - variable doesn't exist:

The default value I want to set is:

[Registry]  
Root: HKLM; Subkey: "SOFTWARE\Bla\MatConstraints"; ValueName: "Used"; Flags: deletevalue  
Root: HKLM; Subkey: "SOFTWARE\Bla\MatConstraints"; ValueName: "MaxBridgeSizeLocal"; Flags: deletevalue  
Root: HKLM; Subkey: "SOFTWARE\Bla\MatConstraints"; ValueName: "MaxBridgeSizeCentral"; Flags: deletevalue

but setting a default value of

d:\sometextfile.txt

and reading the content of the text file works as a workaround.

I am not sure if this is a bug or I am doing something wrong. Still it seems to me that the error text is wrong, because setting another default value works.

[FinalBuilder Server](https://www.finalbuilder.com/finalbuilder-server.aspx) version 6.2.0.627  
&nbsp;

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [January 7, 2010, 11:23am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-server-passing-variable/3207/2 "2010-01-07T11:23:00Z")

</div>

Hi Frank   
  
 Before reporting bugs, please check to see if there is a newer build available. I seem to recall we addressed an issue like this late last year.
