title: Wix installer error code 2343 received for a simple configuration. (WIX Newbie)
body: <p>I am receiving the following error when using the following simple WIX configuration. The application being installed is WPF.</p>
  
  <p><strong>Product: Web Miner Installer -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2343. The arguments are: , ,</strong> </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"&gt;
          &lt;Product Id="*" Name="Application Title" Language="1033" Version="1.0.0.0" Manufacturer="Avant Prime" UpgradeCode="855a8b6e-c576-41e2-8118-8f3511613478"&gt;
              &lt;Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" /&gt;
  
              &lt;MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /&gt;
              &lt;MediaTemplate /&gt;
  
              &lt;Feature Id="ProductFeature" Title="Application Title" Level="1"&gt;
                   &lt;ComponentGroupRef Id="ProductComponents" /&gt;
              &lt;/Feature&gt;
  
              &lt;UIRef Id="WixUI_InstallDir" /&gt;
              &lt;Property Id="WIXUI_INSTALLDIR" Value="INSTALLLOCATION" /&gt;
  
              &lt;DirectoryRef Id="ShortcutFolder"&gt;
                    &lt;Component Id="ShortcutsComponent" Feature="ProductFeature" Guid="{B40F2C3F-CACC-4196-8F8F-C0F6B082404E}"&gt;
                          &lt;CreateFolder Directory="ShortcutFolder" /&gt;
  
                          &lt;RemoveFolder Id="RemoveShorcutFolder" Directory="ShortcutFolder" On="uninstall" /&gt;
  
                          &lt;Shortcut Id="UninstallProduct" 
                                    Name="Uninstall xxxxxxx"
                                    Target="[System64Folder]msiexec.exe"
                                    Arguments="/x [ProductCode]"
                                    Directory="ShortcutFolder"
                                    Description="Uninstalls xxxxxxx"/&gt;
  
                          &lt;RegistryValue Id="RegistryShortcut" 
                                         Root="HKCU" 
                                         Key="SOFTWARE\xxxxxx\settings" 
                                         Name="Shortcut" 
                                         Value="1" 
                                         Type="integer" 
                                         KeyPath="yes" /&gt;
                     &lt;/Component&gt;
              &lt;/DirectoryRef&gt;
  
              &lt;PropertyRef Id="NETFRAMEWORK45" /&gt;
              &lt;Condition Message="This setup requires the .NET Framework 4.5.1 to be installed."&gt;
                    Installed OR NETFRAMEWORK45
              &lt;/Condition&gt;
      &lt;/Product&gt;
  
      &lt;Fragment&gt;
             &lt;Directory Id="TARGETDIR" Name="SourceDir"&gt;
                    &lt;Directory Id="ProgramMenuFolder"&gt;
                           &lt;Directory Id="ShortcutFolder" Name="xxxxxx"&gt;&lt;/Directory&gt;
                    &lt;/Directory&gt;
  
                    &lt;Directory Id="ProgramFilesFolder"&gt;
                           &lt;Directory Id="INSTALLFOLDER" Name="xxxxxxx" /&gt;
                    &lt;/Directory&gt;
             &lt;/Directory&gt;
      &lt;/Fragment&gt;
  
      &lt;Fragment&gt;
             &lt;ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"&gt;
                    &lt;Component Id="ProductComponent"&gt;
                          &lt;File Source="$(var.MyApplication.TargetPath)" /&gt;
                    &lt;/Component&gt;
              &lt;/ComponentGroup&gt;
      &lt;/Fragment&gt;
  &lt;/Wix&gt;
  </code></pre>
  
  <p>What am I missing or doing wrong?</p>
  
  <p>Here is the requested log information. It is big so I attached a link.</p>
  
  <p><a href="https://avantprime-examples.s3-external-3.amazonaws.com/wix-installer-errorlog.txt" rel="nofollow">WIX Installer Error Log</a></p>