Click here to Skip to main content
15,907,687 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi,

I have a win app that I want to distribute to clients via a website. I would like users to be able to click on a button on the site and install the app automatically.

Tried googling this but the best I can find is to create a setup file. Now what? How and what do I need to download from the site and how would it run?

Also when I manage to get it running I would need a mechanism to show users that there is an update and if possible to update automatically without user intervention.
Posted

1 solution

The right solution depends on various factors. One possibility could be ClickOnce. For more information see: http://msdn.microsoft.com/en-us/library/142dbbz4(VS.80).aspx[^]
 
Share this answer
 
Comments
milenalukic 2-Apr-11 11:21am    
I tried that. Users have the option not to take update. Some users were not offered the update. If a user is offered and does not take the update he will not be able to take it later. Also it shows up that it is checking for update on load which does not look good.

Maybe its some setting I did?
Wendelius 2-Apr-11 13:32pm    
There are some options you can change with ClickOnce. For example you can decide if updates are checked before or after the application has been launched.

Can't say why some of the users weren't offered the update. One thing you can control is the minimum version so perhaps that would help. The following link could contain good info for you: http://blogs.msdn.com/b/vsto/archive/2010/03/09/tricks-with-app-config-and-clickonce-deployment-saurabh-bhatia.aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900