title: wix installer failing Error code 2819
body: <p>I am attempting to build an installer with wix.</p>
  <p>It compiles and runs. Unfortunately when I run it, I accept the license agreement and hit next, then it explodes.</p>
  <h2>Error</h2>
  <blockquote>
  <p>&quot;The installer has encountered an unexpected error installing this
  package. This may indicate a problem with this package. The error code
  is 2819.&quot;</p>
  </blockquote>
  <p>Here is the code I am using</p>
  <h2>Code</h2>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;Wix xmlns=&quot;http://schemas.microsoft.com/wix/2006/wi&quot;&gt;
    &lt;Product Id=&quot;*&quot; Name=&quot;rd Installer&quot; Language=&quot;1033&quot; Version=&quot;1.0.0.0&quot; Manufacturer=&quot;hs&quot; UpgradeCode=&quot;upgradeCode&quot;&gt;
      &lt;Package InstallerVersion=&quot;200&quot; Compressed=&quot;yes&quot; InstallScope=&quot;perMachine&quot; /&gt;
      &lt;MajorUpgrade DowngradeErrorMessage=&quot;A newer version of [ProductName] is already installed.&quot; /&gt;
      &lt;MediaTemplate EmbedCab=&quot;yes&quot; /&gt;
      
      &lt;Directory Id=&quot;TARGETDIR&quot; Name=&quot;SourceDir&quot;&gt;
        &lt;Directory Id=&quot;ProgramFilesFolder&quot;&gt;        
          &lt;Directory Id=&quot;INSTALLFOLDER&quot; Name=&quot;rd&quot;&gt;
            &lt;Directory Id=&quot;BINFOLDER&quot; Name=&quot;Bin&quot;/&gt;
            &lt;Directory Id=&quot;IMAGEFOLDER&quot; Name=&quot;Image&quot;/&gt;
          &lt;/Directory&gt;
        &lt;/Directory&gt;
      &lt;/Directory&gt;
  
   &lt;DirectoryRef Id=&quot;INSTALLFOLDER&quot;&gt;     
    &lt;Component Id=&quot;CMP_rd1&quot; Guid=&quot;guid&quot;&gt;
      &lt;File Id=&quot;rd1&quot;
           Name=&quot;r.d&quot;
           Source=&quot;D:\dir\file.txt&quot;
           KeyPath=&quot;yes&quot;&gt;
      &lt;/File&gt;
    &lt;/Component&gt;
    &lt;Component Id=&quot;CMP_rd2&quot; Guid=&quot;guid&quot;&gt;
      &lt;File Id=&quot;rd2&quot;
           Name=&quot;r.d&quot;
           Source=&quot;D:\dir\file.txt&quot;
           KeyPath=&quot;yes&quot;&gt;
      &lt;/File&gt;
    &lt;/Component&gt;
  &lt;/DirectoryRef&gt;
  &lt;Feature Id=&quot;DefaultFeature&quot; Level=&quot;1&quot;&gt;
    &lt;ComponentRef Id=&quot;CMP_rd1&quot;/&gt;
    &lt;ComponentRef Id=&quot;CMP_rd2&quot;/&gt;
  &lt;/Feature&gt;
  
  
  
    &lt;UI Id=&quot;UI_ReportDasboard&quot;&gt;
        &lt;UIRef Id=&quot;WixUI_InstallDir&quot;/&gt;
      &lt;/UI&gt;
      
    &lt;/Product&gt;  
  &lt;/Wix&gt;
  </code></pre>
  <p>I've looked at a number of examples and I cant seem to understand what's wrong. My code looks very close to the examples I've seen. Am I missing something?</p>