Hi,
I'm new to C# and I'm trying to build a small application.
This application needs an external program that will be called from inside my own application. Considering that this is a rather small *.exe, I was thinking of including the external exe in my own app and at runtime, extracting it to %TEMP% from where I could call it. These seems much easyier that parsing the registry or the local drives to find if the external exe is present.
Question 1:
Does this seem a reasonable approach?
Question 2:
If so, can anybody point me the majors steps in acheiving this..ie: How do I include the external exe in my own exe and how could I copy it to %TEMP% at runtime?
PS: I forgot to mention: I do not want to build an install, otherwise I understand I could have included the external exe in the install.
AD AUGUSTA PER ANGUSTA
Thierry
I'm new to C# and I'm trying to build a small application.
This application needs an external program that will be called from inside my own application. Considering that this is a rather small *.exe, I was thinking of including the external exe in my own app and at runtime, extracting it to %TEMP% from where I could call it. These seems much easyier that parsing the registry or the local drives to find if the external exe is present.
Question 1:
Does this seem a reasonable approach?
Question 2:
If so, can anybody point me the majors steps in acheiving this..ie: How do I include the external exe in my own exe and how could I copy it to %TEMP% at runtime?
PS: I forgot to mention: I do not want to build an install, otherwise I understand I could have included the external exe in the install.
AD AUGUSTA PER ANGUSTA
Thierry