title: Setup Library Project for Variable definitions
body: <p>I'm currently trying to make a library with several variable definitions I can use in different Setup Projects but without success.</p>
  
  <p>I have several huge <code>*.wxs</code> files which are build into a library where the <code>File/@Source</code> should depend on project settings. The reason for that is our internal directory structur which looks like <code>any\path\Redistributables\In-Test\X64\productA</code> or <code>any\path\Redistributables\RC\X86\productA</code> so the last 2 parts of my path should change e.g. on x64 and x86 build.</p>
  
  <p>Now I have several Setup Projects too which uses the same path but working in another subdirectory e.g <code>Redistributables\In-Test\X64\AnyOtherProductB</code>.</p>
  
  <p>I dont want to pass preprocessor variables with the same values to each project because the path could change later and I would have to edit too many project settings then.</p>
  
  <p>So my question:
  Is it possible to build something like a "Variable/property Container" with public variables/properties so I could just reference that library to use the variables defined in it for my <code>&lt;component&gt;&lt;file source...&gt;</code>?</p>
  
  <p>I've tried to achieve that with prepocessor variables before <code>$(var.sourcedir)$(var.compilemode)$(var.platform)</code> with no luck. These 3 are the parts I need to define once to use them in nearly all projects.</p>