title: WPF - My application installer is crashing
body: <p>Its a .NET 3.5, x86 application that I built. It works. But when I try to install it using a custom installer, it fails with this error <code>The App has stopped working</code>. In the dialog box, it shows path to two files. In one of the files, I found this. </p>
  
  <pre><code>&lt;ProblemSignatures&gt;
      &lt;EventType&gt;CLR20r3&lt;/EventType&gt;
      &lt;Parameter0&gt;app.installer.exe&lt;/Parameter0&gt;
      &lt;Parameter1&gt;1.0.0.0&lt;/Parameter1&gt;
      &lt;Parameter2&gt;5321e224&lt;/Parameter2&gt;
      &lt;Parameter3&gt;App.Installer&lt;/Parameter3&gt;
      &lt;Parameter4&gt;1.0.0.0&lt;/Parameter4&gt;
      &lt;Parameter5&gt;5321e224&lt;/Parameter5&gt;
      &lt;Parameter6&gt;4&lt;/Parameter6&gt;
      &lt;Parameter7&gt;e&lt;/Parameter7&gt;
      &lt;Parameter8&gt;System.IO.FileNotFoundException&lt;/Parameter8&gt;
  &lt;/ProblemSignatures&gt;
  </code></pre>
  
  <p>Is there a way I can find what file was not found for <code>Parameter8</code> above?</p>
  
  <p>In the other file, I found this <code>Exception Code: 0xe0434f4d</code> but that didn't help much either.</p>
  
  <p>Update:
  I'm installing by adding a separate project that is pointing to the <code>.application</code> file of the actual app like below.</p>
  
  <pre><code>try
  {
      Uri deploymentUri = new Uri(deployManifestUriStr);
      iphm = new InPlaceHostingManager(deploymentUri, false);
  }
  </code></pre>