title: WIX | Remove *.config file on install
body: <p>I have multiple config files (for different environments). During install user get to select the environment, and based on that correct files are copied. I want to delete the extra files that are not used. <br/>
  I am using  but it doesn't seem to be working. I don't get any errors as such, in the log I see action getting executed but files are not deleted. Can anyone please point what I am doing wrong?</p>
  
  <pre><code>  &lt;Component Id="RemoveFiles" Guid="C5D634C2-744E-4CA5-BB44-F3DE88482AB5"&gt;
      &lt;RemoveFile Id="RemoveConfigs" Name="???_*.config" On="install" /&gt;
    &lt;/Component&gt;
  </code></pre>
  
  <p>My RemoveFile table also looks like <br/></p>
  
  <pre>
  FileKey                 Component           FileName                    DirProperty InstallMode
  RemoveExtraConfigFiles  RemoveExtraFiles    p6wjlh9a.con|Web_*.config   INSTALLDIR  1
  </pre>
  
  <p>Still it's not deleting anything                </p>