samedi 31 octobre 2015

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

Aucun commentaire:

Enregistrer un commentaire