title: Running an embedded exe with its dependencies c#
body: <p>Embedded the following content in my windows application and executed the setup.exe using the code below:</p>
  
  <pre><code> string path = Path.Combine(Path.GetTempPath(), "setup.exe");
   File.WriteAllBytes(path, EmbeddedApp2.Properties.Resources.setup);
   Process.Start(path);
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/RtVyT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RtVyT.png" alt="enter image description here"></a></p>
  
  <p>When I run the application the installation shield flashes and disappear.</p>