title: Conditions for SetDirectory in Wix
body: <p>I've been trying to figure out why my condition isn't working for my SetDirectory. I haven't been able to find any examples of anyone actually doing this, only that it is possible to do so, according to the WiX documentation.</p>
  
  <p>I've tried the following:</p>
  
  <pre><code>&lt;SetDirectory Id="INSTALLLOCATION" Value="TEST"&gt;ComputerName=LJPRESCOTT1&lt;/SetDirectory&gt;
  </code></pre>
  
  <p>This compiles, but gets ignored at runtime. The files end up getting installed straight on the C:\ Drive, and not in C:\TEST like I'm aiming for.</p>
  
  <hr>
  
  <p>and</p>
  
  <pre><code>&lt;SetDirectory Id="INSTALLLOCATION" Value="TEST"&gt;[ComputerName]=LJPRESCOTT1&lt;/SetDirectory&gt;
  </code></pre>
  
  <p>This doesn't compile and throws a "Bad conditional string" error.</p>
  
  <hr>
  
  <p>If I do this, it creates a directory named LJPRESCOTT1 as expected:</p>
  
  <pre><code>&lt;SetDirectory Id="INSTALLLOCATION" Value="[ComputerName]" /&gt;
  </code></pre>
  
  <p>So I know the Comp Name is correct.</p>
  
  <p>Am I doing something wrong here, or is this not possible?</p>
  
  <p>Thanks!</p>