title: WiX installer: Installing to Appdata - Error ICE38, ICE64 & ICE91
body: <p>I've been banging my head against this one for a while and I've finally caved (after a lot of searching) and have come to stack overflow for help.</p>
  
  <p>As the title suggests I am trying to create an installer that can carry out a per-user install without requiring any elevated permissions. </p>
  
  <p>However the following code generates a lot of ICE38 and ICE64 errors, as well as ICE91 warnings at compile time.</p>
  
  <pre><code>    &lt;Directory Id="TARGETDIR" Name="SourceDir"&gt;
        &lt;Directory Id="AppDataFolder"&gt;
          &lt;Directory Id="AppRootDirectory" Name="[Manufacturer]"&gt;
            &lt;Directory Id="INSTALLFOLDER" Name="[ProductName]" /&gt;
          &lt;/Directory&gt;
        &lt;/Directory&gt;
      &lt;/Directory&gt;
  
      &lt;Feature Id="ProductFeature" Title="ATestProject" Level="1"&gt;
        &lt;ComponentGroupRef Id="modules" /&gt;
      &lt;/Feature&gt;
  </code></pre>
  
  <p>"modules" refers to the contents of a heat.exe generated .wxs file whose components install directory is "INSTALLFOLDER"</p>
  
  <p>The solutions available on the internet indicate a lot of editing of my modules.wxs file in order to get this to work, this is not acceptable - <strong>There are well over 1000 files in this release process and anything that cannot be automated (done on the command line at build time or with a script) is entirely out of the question</strong>.</p>
  
  <p>Thanks in advance!</p>