whitewolf_upgrader_v1.1

所属分类:Pascal/Delphi编程
开发工具:Delphi
文件大小:360KB
下载次数:19
上传日期:2007-12-04 23:43:44
上 传 者lao2fuzi
说明:  特性: 1、阻塞模式更新 2、具备比较完备的进度控制 3、与autoupgrader组件相比,相对更简单些,但autoupgrader必须要求具备GUI,而这个组件则不需要。 4、具自动回滚功能。如停止下载或下载失败都会执行回滚操作。 5、可将文件方便地下载到指定目录而不必须都下载到同一目录中。
(Characteristics: 1, blocking mode update 2, have relatively complete control over the progress of 3, compared with autoupgrader components, relatively simpler, but requires autoupgrader must be GUI, but the components do not. 4, with automatic rollback functions. Such as failure to stop downloading or downloaded will be the implementation of rollback operation. 5, can be easily downloaded file to the specified directory rather than have to have downloaded to the same directory.)

文件列表:
source\update.txt (26, 2007-08-02)
source\buildres.bat (35, 2007-08-05)
deltemp.bat (25, 2007-08-03)
update.inf (503, 2007-08-07)
demo\demo.exe (544768, 2007-08-07)
source\upgrader.exe (111616, 2007-08-06)
source\upgrader.bpg (815, 2007-08-02)
demo\demo.cfg (434, 2007-08-03)
source\upgrader.cfg (434, 2007-08-04)
source\upgraderD7.cfg (438, 2007-08-07)
source\BindStatusCallback.dcu (4004, 2007-08-07)
source\Common.dcu (10641, 2007-08-07)
demo\Main.dcu (6361, 2007-08-07)
source\Upgrader.dcu (13579, 2007-08-07)
source\upgraderD2007.dcu (1225, 2007-08-07)
source\upgraderD7.dcu (1859, 2007-08-07)
demo\Main.ddp (51, 2007-08-07)
demo\Main.dfm (1880, 2007-08-07)
demo\demo.dof (2014, 2007-08-03)
source\upgrader.dof (2384, 2007-08-04)
source\upgraderD7.dof (2014, 2007-08-07)
source\upgraderD2007.dpk (618, 2007-08-06)
source\upgraderD7.dpk (616, 2007-08-06)
demo\demo.dpr (188, 2007-08-03)
source\upgrader.dpr (953, 2007-08-05)
source\upgrader.dproj (2792, 2007-08-05)
source\upgraderD2007.dproj (4262, 2007-08-07)
source\upgraderD2007.dproj.local (552, 2007-08-07)
source\BindStatusCallback.pas (4800, 2007-08-02)
source\Common.pas (10874, 2007-08-06)
demo\Main.pas (2280, 2007-08-07)
source\Upgrader.pas (13577, 2007-08-07)
demo\demo.res (876, 2007-08-03)
source\update.RES (108628, 2007-08-05)
source\upgrader.res (876, 2007-08-02)
source\upgraderD2007.res (5940, 2007-08-07)
source\upgraderD7.res (1536, 2007-08-02)
demo (0, 2007-08-07)
source (0, 2007-08-07)
... ...

组件名:Upgrader 版本:1.1 作者E-mail:whitewolfxp@163.com 功能:用于通过Http更新软件 特性: 1、阻塞模式更新 2、具备比较完备的进度控制 3、与autoupgrader组件相比,相对更简单些,但autoupgrader必须要求具备GUI,而这个组件则不需要。 4、具自动回滚功能。如停止下载或下载失败都会执行回滚操作。 5、可将文件方便地下载到指定目录而不必须都下载到同一目录中。 组件属性: UpdateInfoURL:更新信息文件的URL地址 VersionPattern:版本控制模式 vpByNumber:采用数字作为版本号,采用此模式,VersionAsNumber有效 vpByDateTime:采用日期作为版本号,采用此模式,VersionAsDateTime有效 组件事务: OnProgress:进度控制 OnProgress2:扩展进度控制 OnFileBegin:文件下载前 OnFileEnd:文件下载后 更新信息文件格式: [version] Pattern=1 //VersionPattern (0表示采用vpByNumber, 1表示采用vpByDateTime) Version=2 //版本号,如果Pattern为0,则这里采用数字,否则使用日期字符串,如:2007-08-03 12:00:00 //下面是文件列表,格式为:本地路径=下载地址 //.表示当前目录,..表示上级目录,跟DOS下的表示是一样的。 [files] ..\test\NBServer.exe=http://192.168.1.2:19130/nbmanager/NBServer.exe .\test\blacklist.sys=http://192.168.1.2:19130/nbmanager/blacklist.sys test\client.exe=http://192.168.1.2:19130/nbmanager/bak/client.exe config.ini=http://192.168.1.2:19130/nbmanager/config.ini zend\1.exe=http://192.168.1.2:19130/nbmanager/test/1.exe zend\2.exe=http://192.168.1.2:19130/nbmanager/test/2.exe zend\3.exe=http://192.168.1.2:19130/nbmanager/test/3.exe 配置文件中的本地路径可以使用目录变量,如 %Windows%\setup.exe=http://192.168.1.2:19130/setup.exe 即表示将http://192.168.1.2:19130/setup.exe下载到本地的Windows目录下,并改名为setup.exe 可用的目录变量如下: %Windows% %System% %Temp% %Desktop% %Programs% %Personal% %Startup% %Recent% %SendTo% %StartMenu% %DesktopDirectory% %NetHood% %Fonts% %Templates% %Common_StartMenu% %Common_Programs% %Common_Startup% %Common_DesktopDirectory% %AppData% %PrintHood% %Common_Favorites% %Internet_Cache% %Cookies% %History% 使用相关说明,请参看update.inf和Demo(压缩包中的update.inf只是范本,只有放到Http服务器上才会生效) 注:新程序的版本号一定要大于旧程序的版本才会更新

近期下载者

相关文件


收藏者