-1

Is it possible to call an exe from a MVC site?

I've seen this link. (I'll try it tomorrow in the morning when I get in the office)

Stackoverflow link

However I wanted to know if I cam barking up the wrong tree.

I have a 3rd party app that provides us a stand alone exe. Instead of sending this exe to x amount of clients.
I would like to keep that exe on my web server so I can control who can use the exe.

Is this is viable option?.

Community
  • 1
  • 1
PrivateJoker
  • 781
  • 4
  • 13
  • 27

1 Answers1

0

You might find the responses to this old question helpful. If you are trying to run an exe file within your application, I think this would be the approach to take.

If I have understood your question wrong, and you are trying to provide users with a link to download an application, or a link to launch an application that already exists on their computer, then you will probably want to look into the html <href> tag.

Community
  • 1
  • 1
Daniel Lambert
  • 346
  • 3
  • 6
  • Thanks! I'll take a look at that. I would rather them run the exe and not be able to download it. Even at that I'm not sure what I want to do will be doable, but this may give me a good starting point. – PrivateJoker Aug 12 '16 at 01:41
  • 1
    In order to run they _have_ to download it. The only way to supply an application that isn't downloadable is make it a 'service' - something they have to call that does the work on a remote server. A classic service is for example a web application that utilises server side logic – Nick.Mc Aug 12 '16 at 01:50