自动使应用程序查找更新? [英] Automatically make an application look for updates??

查看:53
本文介绍了自动使应用程序查找更新?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以...很好的主题说了这一切:).我如何使C#应用程序自动查找对当前应用程序的更新?当我单击构建时,发布我的应用程序"时,我会经过一个问题,最后一个问题是该应用程序会寻找更新吗?请指定位置:"
我输入: http://www.wix.com/vlad781/teleprompter-version-1-updater [ ^ ].这是一个免费的网站构建器...尽管页面空白,所以没有访问它的意义. true.hope不会吸引您; P ...因此,例如,我将应用程序刻录到CD,现在当应用程序自动运行其安装程序时,我希望它也自动搜索更新.但这样做: http://www.wix.com/vlad781/teleprompter-version-1-updater [< ^ ]不会似乎有效.
PS这必须与大约300-1000 +其他计算机一起使用!!!!那就是现在足够的动力.

so... well the subject says it all :). how do i make a C# application automatically look for updates to the current application? when i click build, publish ''my application'' i go through the questions and the last one asks " will the application look for updates? please specify the location:"
i put in : http://www.wix.com/vlad781/teleprompter-version-1-updater[^]. this is a free website builder... the page is blank though so no point of visiting it. really.hope that doesnt tempt you ;P... so for example, i burned the application to a CD and now when the application auto runs its setup, i would like it to also auto search for the update. but doing : http://www.wix.com/vlad781/teleprompter-version-1-updater[^] doesn''t have seemed to work.
PS this has to work with about 300-1000+ other computers!!!! thats enough motivation for now.
thanks, all help is always appreciated.

推荐答案

听起来好像您正在尝试使用ClickOnce或ClickOnce类型的实现.使用ClickOnce,如果配置正确,则应用程序可以在启动时而不是在安装时搜索更新.

如果要在安装过程中检查任何更新,则需要自行构建.假设您使用的是Visual Studio安装项目,有许多示例用于添加自定义对话框和自定义操作.
It sounds as though you are attempting to use ClickOnce or a ClickOnce-type of implementation. Using ClickOnce, if properly configured, the application can search for updates when started, not when installed.

If you want to check for any updates during installation you will need to build it yourself. Assuming you are using a Visual Studio setup project there are numerous examples for adding custome dialogs and custom actions.


这篇关于自动使应用程序查找更新?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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