# System variables

**URL:** https://www.finalbuilder.com/forums/t/system-variables/524
**Category:** Discussion
**Created:** [July 12, 2007, 7:19am UTC](https://www.finalbuilder.com/forums/t/system-variables/524 "2007-07-12T07:19:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![stevage](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@stevage](https://www.finalbuilder.com/forums/u/stevage)
#### Post date: [July 12, 2007, 7:19am UTC](https://www.finalbuilder.com/forums/t/system-variables/524/1 "2007-07-12T07:19:58Z")

</div>

I tend to call my main build projects through a bootstrapper. That bootstrapper is in turn either run directly (through the GUI) or through FB Server. If run directly, I want to be able to watch the build happen normally, with full GUI updates, so I call finalbuilder5.exe passing commandline arguments. If I'm running it from FB Server, I use the "include project" action. So far, so good.

The problem is, from within the included project, I want to be able to tell whether that project is being run totally directly (ie, no bootstrapper layer), or whether it's being bootstrapped - either via an 'include' action, or via finalbuilder5.exe. This doesn't seem to be possible: there is no system variable which can distinguish between a user opening FB and running a project, and the finalbuilder5.exe being run via commandline parameters.

My workaround is to pass an extra parameter on the command line (/vBootstrape=YES), but that's a bit grubby - it's hard to make sure it gets set back to NO at the appropriate time. Either I make it persistent, or I make it non-persistent with the problems that can cause.

Just thought I'd mention it.

Steve

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [July 12, 2007, 8:16am UTC](https://www.finalbuilder.com/forums/t/system-variables/524/2 "2007-07-12T08:16:28Z")

</div>

Hi Steve,   
  
I'm a little confused by the various configurations you describe here, but if I'm not wrong then ISAUTOBUILD should give you what you want. I told you about it in this forum post:   
  
[http://www.automise.com/forums.aspx?view=topic&postid=3790&forumid=15](http://www.automise.com/forums.aspx?view=topic&postid=3790&forumid=15)   
  
... the FB Server project will always return True because it's running in FBSERVER. The Bootstrapped GUI build will also return true, because it's being run under FinalBuilder5.exe with the /R flag set. Only a non-bootstrapped build will return False.   
  
Regards,   
  
Angus

---

<div class="post-metadata">

### Author: ![stevage](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@stevage](https://www.finalbuilder.com/forums/u/stevage)
#### Post date: [July 24, 2007, 5:54am UTC](https://www.finalbuilder.com/forums/t/system-variables/524/3 "2007-07-24T05:54:51Z")

</div>

Whoops, you’re right, ISAUTOBUILD does what I want. Thanks.   
  
 Steve
