Can ClickOnce update automatically without asking the user?

我与影子孤独终老i 提交于 2019-12-10 15:15:48

问题


I have a client that wants a simple install for a small windows system tray application. They want the application to update automatically without asking the user. The app is small and the update should be minimal in size (most of the business logic and code will be behind a web service).

I have been eyeing Microsoft's ClickOnce technology since it seems built for such things. My question is can it update silently behind the scenes without the user knowing it did so? If not what's the best route to accomplish this? Is there another technology better suited?

I realize that updating without telling the user is subjective, but the client is adamant on this.


回答1:


Yes, ClickOnce applications update automatically when a new version is deployed onto the server. There are multiple ways to force this:

http://msdn.microsoft.com/en-us/library/s22azw1e.aspx

Also take a look how to have your own gui to inform users about updates:

http://msdn.microsoft.com/en-us/library/ms404263.aspx



来源:https://stackoverflow.com/questions/21612790/can-clickonce-update-automatically-without-asking-the-user

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!