GithubHelp home page GithubHelp logo

autoupdate's Introduction

AutoUpdate

自动在线升级源码,暂时只支持http方式升级,可自动先执行升级程序后再执行应用程序。

-Automatic online upgrade code, can automatically perform the upgrade process after the implementation of applications.

1.在你程序开始运行的代码中加入:

WinExec(PChar('"AutoUpdate.exe" /silence'), SW_SHOW);

2.在你程序菜单加一项<自动升级>,其代码为:

WinExec(PChar('"AutoUpdate.exe"'), SW_SHOW);

AutoUpdate.ini为自动升级的配置文件

[AutoUpdate]

URL=http://www.yourweb/update/AutoUpdate.xml #指定下载的新版本说明文件

updateAppCaption=smartit IM #要更新的更新界面的程序名称

checkVerApp=smartitIM.exe #要更新的主程序,以此程序的版本与AutoUpdate.xml中版本对比

checkVerAppRegRootKey=\Software\smartitIM #若主程序中将当前版本号写入的注册表区,可不配置

[copyright]

homepage= #更新界面的连接网址

licensekey= #注册后可设置你自己的版权信息

#多语言配置

[Locale_en]

[Locale_zh-CN]

AutoUpdate.xml为批明新版本的下载文件和新版本说明等,大家可参考此格式写自己的更新文件,有两种格式:

1.以一个安装程序来更新:

新版本说明

2.只更新几个文件的:

新版本说明

autoupdate's People

Contributors

xiaohuili avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.