在工程中应用UtilMind.AutoUpgrader.Pro.v4.6.7来做自动化升级,要做到升级可配置。
用其控件来做升级配置文件要启动Delphi环境做,而且以后要改动又要从头来过,不太方便。
现抽取其一段代码,写成一个独立应用程序,具有保存功能,以后就方便好多。
源码下载
保存的文件以xml方式存储,结构如下:
 1UtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具<?xml  version='1.0' ?>
 2UtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具<Project>
 3UtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具        <MSG>Version 2.0 contains following features:
 4UtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具 * Feature 1
 5UtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具 * Feature 2
 6UtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具 * Feature 3
 7UtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具and so onUtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具</MSG>
 8UtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具        <Method>self</Method>
 9UtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具        <VersionControl value='date' >
10UtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具                <Value>12/20/2007</Value>
11UtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具        </VersionControl>
12UtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具        <URLS>
13UtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具                <URL>http://www.appcontrols.com/download/exe/AutoUpgraderPro2.exe</URL>
14UtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具                <URL>http://www.appcontrols.com/download/exe/readme.txt</URL>
15UtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具        </URLS>
16UtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具</Project>
17UtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具
主界面:
UtilMind.AutoUpgrader.Pro.v4.6.7 升级配置文件工具

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-25
  • 2022-12-23
  • 2021-06-16
  • 2022-12-23
  • 2021-12-25
猜你喜欢
  • 2021-06-06
  • 2021-09-14
  • 2021-12-25
  • 2022-12-23
  • 2022-01-07
  • 2022-01-17
相关资源
相似解决方案