title: Light complains about a directory name being used by MSI Public Properties
body: <p>I'm have a third party library in my WiX installation which is causing the following error when I run Light.exe: </p>
  
  <blockquote>
    <p>error LGHT0204: ICE99: The directory name:Time is the same as one of the MSI Public Properties and can cause unforeseen side effects.</p>
  </blockquote>
  
  <p>I'm not really comfortable with suppressing ICE errors, and renaming directories and making changes to the third party seams like a bad idea. Are there any other alternatives?</p>
  
  <p>Edit:</p>
  
  <p><strong>Solved</strong></p>
  
  <p>In case someone else is having similiar problems, here's the xsl I ended up using (I got it from this blog: <a href="http://installpac.wordpress.com/2012/05/07/conflict-management-in-wix/" rel="nofollow">http://installpac.wordpress.com/2012/05/07/conflict-management-in-wix/</a>):</p>
  
  <pre><code>&lt;?xml version="1.0" ?&gt; 
  &lt;xsl:transform version="1.0" 
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
      xmlns:wix="http://schemas.microsoft.com/wix/2006/wi"&gt; 
  
    &lt;xsl:template match="@*|*"&gt; 
      &lt;xsl:copy&gt; 
        &lt;xsl:apply-templates select="@*" /&gt; 
        &lt;xsl:apply-templates select="*" /&gt; 
      &lt;/xsl:copy&gt; 
    &lt;/xsl:template&gt; 
  
    &lt;xsl:template match="wix:Directory"&gt; 
      &lt;xsl:copy&gt; 
          &lt;xsl:apply-templates select="@*" /&gt; 
          &lt;xsl:attribute name="Id"&gt;
              &lt;xsl:text&gt;NameOfAThirdPartyLibraryImUsing_directory_&lt;/xsl:text&gt;
              &lt;xsl:value-of select="@Id"/&gt;
          &lt;/xsl:attribute&gt;
          &lt;xsl:apply-templates select="node()"/&gt;
      &lt;/xsl:copy&gt; 
    &lt;/xsl:template&gt; 
  &lt;/xsl:transform&gt; 
  </code></pre>