如何在发布升级时通知客户端进行更新? [英] How to notify a client to take an update whenever I post an upgrade?

查看:132
本文介绍了如何在发布升级时通知客户端进行更新?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在客户端运行软件..我想给他一个软件更新。我不想去那里或给他发送安装文件。

如何通过他可以下载更新的链接向他发送更新通知...

如何使用c#代码实现这一目标??

我对此完全空白..请帮助。

点击一次安装程序,但这会问每次打开应用程序时进行更新。我只想在有更新时才想要。

TIA。





我尝试了什么:



点击一次安装程序。


I am running a software at a client.. I want to give him a software update. I don't want to go there or send him a installer file.
How can i send him notification that there is an update using a link he can download the update..
How can i achieve this using c# code...?
I am completely blank about this..Please help.
Used click once installer, but this will ask for an update each time he opens the application. i want only when there is an update.
TIA.


What I have tried:

Click once installer has been tried.

推荐答案

最简单的方法是将代码添加到您的应用程序的启动中,该应用程序访问您的站点并通过WCF或仅通过加载报告可用版本信息的小型特殊网页来获取最新的更新信息。然后,您的软件告诉用户而不是正常启动,并为他提供下载和更新的选项或正常继续。
The easiest way is to add code to the startup of your app which accesses your site and fetches the latest update info, either via WCF or just by loading a small special webpage which reports the version info available. Your software then tells the user instead of starting normally, and gives him the option to download and update or continue as normal.


这篇关于如何在发布升级时通知客户端进行更新?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆