Kálmán Roland

Kálmán Roland

  • NA
  • 5
  • 1.7k

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

Oct 25 2015 1:30 PM

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:\Windows\System32\setup


Answers (1)