0

I have created a forms application on Visual Studio 2017. I have a website that I want the public to download my app for windows. On the site, I have a download button but I don't know how to make it so when the download button is pressed, the application can begin downloading. I don't care if it is through a setup.exe. How could I do this?

  • You ask a few things: what files are necessary for running, how to store them on the site, etc. Please focus your question. – Baruch Apr 11 at 15:49
  • You could use ClickOnce. Search it on internet – Aleksa Ristic Apr 11 at 16:23
0

You mean auto-download when user press download button on your website built on engine different from ASP.NET?

You need to place link directly to your file:

<a href="http://[yourwebsite]/download/setup.exe"><!-- your some code here --></a>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.