Embed executable in solution

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to include an executable tool into my application in the event
that the person running my application does not have this exe on their
system. For example, I have an application that leverages robocopy.exe, and
not all of my users will have robocopy.exe on their systems. Can I just add
robocopy.exe to my solution and then build it? What is the proper way to do
this? Thanks in advance for any help.
 
Personally, I would do this as part of my deployment.
So, when I build the installer for the app, I would add the dependent
executable and have it copied to whatever location I expect it to be.
 
Primera said:
I would like to include an executable tool into my application in the event
that the person running my application does not have this exe on their
system. For example, I have an application that leverages robocopy.exe, and
not all of my users will have robocopy.exe on their systems. Can I just add
robocopy.exe to my solution and then build it? What is the proper way to do
this? Thanks in advance for any help.
The proper way would be to distribute it (providing you have that right)
with your application as a dependency.

JB
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top