title: How to get current user %AppData% folder?
body: <p>WIX, MSI-installer.</p>
  
  <p>I build this MSI on some computer where my login name is <code>developer</code>. In my MSI I have such dialog window:</p>
  
  <p><a href="https://i.stack.imgur.com/Tf7jn.png" rel="nofollow"><img src="https://i.stack.imgur.com/Tf7jn.png" alt="enter image description here"></a></p>
  
  <p>But third variant <em>always</em> contains <code>developer</code> user name even if current user has other login name... How can I fix it?</p>
  
  <p>This is my code of these elements:</p>
  
  <pre><code>&lt;Control Id="rbgrPath" Type ="RadioButtonGroup"
           X="5" Y="80" Width="500" Height="100" Property="INSTALLFOLDER"&gt;
    &lt;RadioButtonGroup Property="INSTALLFOLDER"&gt;
      &lt;RadioButton
        Text="[$(var.PLATFORMPROGRAMFILESFOLDER)]Autodesk\ApplicationPlugins\ProxyTools.bundle\"
        Value="[$(var.PLATFORMPROGRAMFILESFOLDER)]Autodesk\ApplicationPlugins\ProxyTools.bundle\"
        Height="13" Width="500" X="5" Y="5"/&gt;
      &lt;RadioButton
        Text="$(env.ProgramData)\Autodesk\ApplicationPlugins\ProxyTools.bundle\"
        Value="$(env.ProgramData)\Autodesk\ApplicationPlugins\ProxyTools.bundle\"
        Height="13" Width="500" X="5" Y="20"/&gt;
      &lt;RadioButton
        Text="$(env.AppData)\Autodesk\ApplicationPlugins\ProxyTools.bundle\"
        Value="$(env.AppData)\Autodesk\ApplicationPlugins\ProxyTools.bundle\"
        Height="13" Width="500" X="5" Y="35"/&gt;
    &lt;/RadioButtonGroup&gt;
  &lt;/Control&gt;
  </code></pre>
  
  <p><strong>UPD</strong></p>
  
  <p>This is of the <code>PLATFORMPROGRAMFILESFOLDER</code> variable definition:</p>
  
  <p><a href="https://i.stack.imgur.com/sHdmO.png" rel="nofollow"><img src="https://i.stack.imgur.com/sHdmO.png" alt="enter image description here"></a></p>