title: Using the Condition field in a Setup project on VS2008
body: <p>On my application Setup Project, I'm trying to setup a Registry key either under HKLM/Software or HKCU/Software depending on whether the user checked "All Users" or "Just Me" during the setup.</p>
  
  <p>For that effect, I've been trying to use the ALLUSERS property and check it against either 1 or "", respectively.:</p>
  
  <ul>
  <li>ALLUSERS = 1</li>
  <li>ALLUSERS = ""</li>
  </ul>
  
  <p>I have the keys AlwaysCreate property set to False. And yet when installing both HKLM/Software/<em>my_key</em> and HKCU/Software/<em>my_key</em> are created.</p>
  
  <p>What am I missing?</p>
  
  <p><em>Update:</em> I've been trying other alternatives like enclosing ALLUSERS in square brackets, enabling the transitive property or using <em>ALLUSERS != 1</em> instead of <em>= ""</em>. To no avail. I gave up on this for now and am only creating under HKLM for both cases. But if anyone does have an answer I would really appreciate.</p>