title: How do I install to LocalAppData folder?
body: <p>Following directory setting works perfectly for me.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;Directory Id='TARGETDIR' Name='SourceDir'&gt;
    &lt;Directory Id="ProgramFilesFolder"&gt;
      &lt;Directory Id='INSTALLDIR' Name='MyApp'/&gt;
    &lt;/Directory&gt;
  &lt;/Directory&gt;
  </code></pre>
  
  <p>However, when I tried changing "ProgramFilesFolder" to "<strong>LocalAppDataFolder</strong>", I got lots of error when using <code>light</code> to link and generate my msi:</p>
  
  <p><code>D:\runGroup.wxs(53) : error LGHT0204: ICE38: Component cmpA5561BE36D80EB58252E69DDA0C2FF8C installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file.
  D:\main.wxs(38) : error LGHT0204 : ICE64: The directory INSTALLDIR is in the user profile but is not listed in the Remove File table.</code></p>
  
  <p>Looks like "LocalAppDataFolder" is not acceptable for WiX, while I believe it is one of the system folder properties which defined in <a href="http://msdn.microsoft.com/en-us/library/aa370905(VS.85).aspx#system_folder_properties" rel="noreferrer">here</a>.</p>
  
  <p>What am I supposed to use for LocalAppData folder?</p>