# InstallAware compiler variables

**URL:** <https://www.finalbuilder.com/forums/t/installaware-compiler-variables/682>\
**Category:** Discussion\
**Created:** [December 6, 2007, 9:13am UTC](https://www.finalbuilder.com/forums/t/installaware-compiler-variables/682 "2007-12-06T09:13:12Z")\
**Posts on this page:** 4\
**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:** [December 6, 2007, 9:13am UTC](https://www.finalbuilder.com/forums/t/installaware-compiler-variables/682/1 "2007-12-06T09:13:12Z")

</div>

We use FinalBuilder for automating the build and deployment preparation process. Our setup tool is InstallAware 6.6. When we use the "file bag" plug-in in InstallAware we need to use InstallAware compiler variables that contain spaces in their name so that file names with spaces are handled properly after the compiler variables have been substituted by their values. This is a limitation in the file bag plug-in for InstallAware.

However, we have difficulties passing compiler variables that contain spaces in their names (and their values) from FinalBuilder to InstallAware. It seems that they are not enclosed by double quotation marks on the command line.

Example: Instead of "MY DIR=C:\Program Files" it is passed MY "DIR=C:\Program Files".

At the moment we use a workaround by substituting virtual drive letters for path names with spaces so that we can use compiler variable names with spaces. It would be beneficial if we could also pass InstallAware compiler variables with spaces in their names.

---

<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:** [December 7, 2007, 12:27pm UTC](https://www.finalbuilder.com/forums/t/installaware-compiler-variables/682/2 "2007-12-07T12:27:15Z")

</div>

Hi Hanno,   
  
 Thanks for bringing this to our attention. It was a shortcoming in the InstallAware action.   
  
 We should have a test build a fix very shortly.   
  
 Regards,   
  
 Angus

---

<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:** [December 7, 2007, 3:44am UTC](https://www.finalbuilder.com/forums/t/installaware-compiler-variables/682/3 "2007-12-07T03:44:23Z")

</div>

Hi Hanno,   
  
 There is now a test build available which supports spaces in compiler variable names.   
  
 [https://www.finalbuilder.com/downloads/finalbuilder/550/FB550\_551.exe](https://www.finalbuilder.com/downloads/finalbuilder/550/FB550_551.exe)   
  
 Please let us know how you go.   
  
 Regards,   
  
 Angus

---

<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:** [December 17, 2007, 4:09am UTC](https://www.finalbuilder.com/forums/t/installaware-compiler-variables/682/4 "2007-12-17T04:09:03Z")

</div>

Angus,

thanks for the quick fix. I updated FB on both our development and build machine and build 551 seems to have fixed it. Today I successfully built an InstallAware project with command line parameters supplied by FB. Spaces in the names and the values of the command line parameters do no longer seem to be an issue.

Regards

Hanno
