title: How do i pass command line parameter in a simple WIX msi?
body: <p>msiexec /i myproduct.msi LANG=1.</p>
  
  <p>I dont have a bootstraper project, i have wix project with simple Product.wxs file.If lang=1, i dont want to execute level 3 feature. Based on the lang parameter i am trying to set a variable to set registery value to be written to HKLM or HKCU</p>
  
  <pre><code> &lt;Feature Id="ProductFeature"  Level="1"&gt;
        &lt;Condition  Level="2"&gt;LANG=1&lt;/Condition&gt;
        &lt;Condition  Level="3"&gt;LANG=0&lt;/Condition&gt;
        &lt;Feature Id="MyFeatureBHJ" Title="My Feature BGJ" Level="2"&gt;
            &lt;?define DllRegLocationGj = "HKCU" ?&gt;
            &lt;ComponentGroupRef Id="ProductComponents" /&gt;          
        &lt;/Feature&gt;
        &lt;Feature Id="MyFeatureBHJttgj" Title="My Feature BjjGJ" Level="3"&gt;
          &lt;?define DllRegLocationGj = "HKLM" ?&gt;
          &lt;ComponentGroupRef Id="ProductComponents" /&gt;            
        &lt;/Feature&gt;
   &lt;/Feature&gt;
  </code></pre>