本程序开发思路:
1、检测本地XML中的版本号与服务端XML文件中的版本号是否一直
2、下载zip压缩文件到本地
3、解压缩zip文件
4、用新文件覆盖本地文件
5、删除下载的文件
6、修改本地xml版本号
7、启动程序
本程序搭建建议环境
1、在iis中发布个服务端(如图所示指向的路径)
2、运行“试运行程序”看效果
①“试运行程序”中的“AutoUpdate.exe”是自动升级程序,在项目中有
②“update”文件夹是用来存放下载的新文件的文件夹
③“update.config”是本地版本存放的文件
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
AutoUpdate.rar (55个子文件)
AutoUpdate
iis.png 57KB
服务端
Service
CSClient
updateservice.xml 196B
111.zip 276B
说明.txt 456B
试运行程序
AutoUpdate.exe 17KB
update.config 295B
Ionic.Zip.dll 481KB
update
TestDemo.exe 10KB
TestUpdate
TestUpdate.suo 24KB
AutoUpdate
bin
Debug
AutoUpdate.exe 17KB
update.config 295B
Ionic.Zip.dll 481KB
update
AutoUpdate.pdb 46KB
Program.cs 498B
obj
Debug
AutoUpdate.exe 17KB
AutoUpdate.Properties.Resources.resources 180B
AutoUpdate.csproj.GenerateResource.Cache 854B
AutoUpdate.pdb 46KB
AutoUpdate.CheckVersion.resources 180B
TempPE
Refactor
AutoUpdate.csproj.FileListAbsolute.txt 1KB
CheckVersion.resx 6KB
Config.cs 2KB
CheckVersion.cs 4KB
AutoUpdate.csproj 4KB
CheckVersion.Designer.cs 6KB
Util
MoveFiles.cs 2KB
XMLTools.cs 2KB
ZipTools.cs 1KB
DownloadFile.cs 2KB
Properties
Resources.resx 5KB
Settings.settings 249B
AssemblyInfo.cs 1KB
Settings.Designer.cs 1KB
Resources.Designer.cs 3KB
TestUpdate.sln 1KB
TestDemo
bin
Debug
TestDemo.vshost.exe.manifest 490B
update.config 295B
TestDemo.vshost.exe 14KB
TestDemo.pdb 28KB
TestDemo.exe 10KB
Form1.Designer.cs 1KB
Program.cs 2KB
TestDemo.csproj 4KB
obj
Debug
TestDemo.csproj.GenerateResource.Cache 789B
TestDemo.Properties.Resources.resources 180B
TempPE
TestDemo.pdb 28KB
Refactor
TestDemo.csproj.FileListAbsolute.txt 1KB
TestDemo.exe 10KB
Config.cs 2KB
Form1.cs 358B
Properties
Resources.resx 5KB
Settings.settings 249B
AssemblyInfo.cs 1KB
Settings.Designer.cs 1KB
Resources.Designer.cs 3KB
共 55 条
- 1
资源评论
皮蛋丿真皮
- 粉丝: 2
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功