如何制作更新程序 [英] How to make a Updater

查看:101
本文介绍了如何制作更新程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Friend我想创建一个更新程序,就像我有一个程序,当它启动它将检查更新任何人有任何解决方案如何使这个?

解决方案

< blockquote>有很多方法可以实现这一点,一个简单的方法是在Visual Studio中的标准应用程序上使用Click Once部署。它有这个设施,但如果你想要一个你的应用程序调用的手动,那么你可以采取各种方法。



我建议你做以下事情:



a)决定你希望更新者如何工作:

-------是否正在检查网络位置?

-------是否在查询网络服务器?等等

b)通过友好的社区搜索引擎做一些初步研究(谷歌是我的第一选择)。

c)尝试一些代码,然后提出具体问题。




当他们觉得提问的人没有做任何事情时,大多数人都不想提供完整的解决方案。然而,你可能很幸运,有人会很乐意为你提供你正在寻找的完整解决方案,虽然我对此表示怀疑。


这个问题太模糊,无法认真讨论。但是,大多数此类问题都与轮询数据库有关。如果是这种情况,我会使用一个简单而安全的方案来帮助您:带计时器的轮询数据库 [ ^ ]。



-SA


Hello Friend I want to make a Updater like I have a program when it will start it will check for updates any one have any solution how to make this ?

解决方案

There are a lot of ways you can achieve this, a simple one is to use "Click Once" deployment on a standard application in Visual Studio. It has this facility built it, however if you want a manual one that your application calls then there are various approaches you can take.

I suggest you do the following:

a) decide how you want your "updater" to work:
------- is it checking a network location?
------- is it querying a web server? etc etc
b) do some initial research via your friendly neighborhood search engine (Google is my first choice).
c) attempt some code and then ask specific questions.


Most people here are not interested in giving complete solutions when they feel that the person asking the question has done nothing to start with. However you may be lucky and someone will happily give you the complete solution you are looking for, although I doubt it.


The question is too vague to discuss anything seriously. However, most of such questions are about polling a database. If this is the case, I am using a nice simple and safe scheme which might help you: Polling Database with Timer[^].

—SA


这篇关于如何制作更新程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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