title: wix The directory is in the user profile but is not listed in the RemoveFile table
body: <p>I have the following configuration to delete and copy a file from WIX.</p>
  
  <pre><code> &lt;Directory Id='TARGETDIR' Name='SourceDir'&gt;
   &lt;Directory Id="AppDataFolder" Name="AppDataFolder"&gt;
      &lt;Directory Id="GleasonAppData" Name="Gleason" &gt;
      &lt;Directory Id="GleasonStudioAppData" Name="GleasonStudio"&gt;
      &lt;Directory Id="DatabaseAppData" Name ="Database"&gt;
      &lt;Directory Id="UserSandboxesAppData" Name="UserSandboxes" /&gt;
  
  &lt;/Directory&gt;
  &lt;/Directory&gt;
  &lt;/Directory&gt;
  &lt;/Directory&gt;
  
  &lt;/Directory&gt;
  
  &lt;DirectoryRef Id="UserSandboxesAppData"&gt;
  &lt;Component Id="comp_deleteBackup" Guid="*"&gt;
          &lt;RemoveFile Id="RemoveBackup" Directory="UserSandboxesAppData" 
                                  Name="DevelopmentBackUp.FDB" On="install" /&gt;  
          &lt;RegistryKey Root="HKCU" Key="Software\Gleason\Database\RemoveBackup"&gt;
              &lt;RegistryValue Value="Removed" Type="string" KeyPath="yes" /&gt;
          &lt;/RegistryKey&gt;
  
      &lt;/Component&gt;
      &lt;Component Id="comp_createBackup" Guid="*"&gt;
          &lt;CopyFile Id="DBBackup" 
                DestinationDirectory="UserSandboxesAppData" 
                DestinationName="DevelopmentBackUp.FDB" 
                SourceDirectory="UserSandboxesAppData" 
                SourceName="Development.FDB" /&gt;
  
          &lt;RegistryKey Root="HKCU" Key="Software\Gleason\Database\CopyBackup"&gt;
              &lt;RegistryValue Value="Copied" Type="string" KeyPath="yes" /&gt;
          &lt;/RegistryKey&gt;    
      &lt;/Component&gt;
  &lt;/DirectoryRef&gt; 
  </code></pre>
  
  <p>I get 4 errors related to ICE64--The directory 'xxx' is in the user profile but is not listed in the RemoveFile table.
  xxx={UserSandboxesAppData, DatabaseAppData, GleasonStudioAppData, GleasonAppData}
  Someone else had a very similar problem here: <a href="https://stackoverflow.com/questions/3290576/directory-xx-is-in-the-user-profile-but-is-not-listed-in-the-removefile-table">Directory xx is in the user profile but is not listed in the RemoveFile table.</a>. But that solution did not help me.</p>
  
  <p>What do I need to change?</p>
  
  <p>Thank You,
  Venkat Rao</p>