Simplest way, leading on from what Will said:
- Add the .exe using Resources.resx
-
Code this:
string path = Path.Combine(Path.GetTempPath(), "tempfile.exe"); File.WriteAllBytes(path, MyNamespace.Properties.Resources.MyExecutable); Process.Start(path);