ISSUE :
 
Profile photo
Submitted by Kálmán Roland
on October 25th, 2015 at 13:20:45 EST

How can I run an embedded .exe file in C# Windows Forms Applications?

How can I run an embedded .exe file (installer) in C# Windows Forms Applications with the easiest way?

I just want to click a button and installer should open. My .exe file's name is setup

If I try this:
Process.Start(setup.exe);

I got an error:
The name 'setup' does not exist in the current context

and if I try this:
System.Diagnostics.Process.Start("setup");

It will open this folder: C:WindowsSystem32setup

Can you help me? :) Please