文件名称:AutoUpgrade
介绍说明--下载内容均来自于网络,请自行研究使用
自动升级程序-列表版
调用程序必须带两个参数以上,即至少是这样的形式:
/AD:"12:00:10" /url:"ftp://219.140.167.50/lzw/TestIni2.txt"
第1个参数暂无意义,第2个参数是表示配置文件的网络路径。
下面是调用例子的示例代码:
String ParaStr = "/AD:12:00:10 /url:ftp://219.140.167.50/lzw/TestIni2.txt"
ShellExecute(NULL,"Open","Upgrade_Pro.exe",ParaStr.c_str(),ExtractFileDir(Application->ExeName).c_str(),SW_SHOWNORMAL) -Automatic Updates- list version of calling program must take more than two parameters, namely, at least in this form:/AD: " 12:00:10" /url: " ftp://219.140.167.50/lzw/TestIni2.txt" No. 1 temporarily meaningless argument, the first two parameters are that the network path to the configuration file. The following are examples of sample code calls: String ParaStr = "/AD: 12:00:10/url: ftp://219.140.167.50/lzw/TestIni2.txt" ShellExecute (NULL, " Open" , " Upgrade_Pro.exe " , ParaStr.c_str (), ExtractFileDir (Application-> ExeName). c_str (), SW_SHOWNORMAL)
调用程序必须带两个参数以上,即至少是这样的形式:
/AD:"12:00:10" /url:"ftp://219.140.167.50/lzw/TestIni2.txt"
第1个参数暂无意义,第2个参数是表示配置文件的网络路径。
下面是调用例子的示例代码:
String ParaStr = "/AD:12:00:10 /url:ftp://219.140.167.50/lzw/TestIni2.txt"
ShellExecute(NULL,"Open","Upgrade_Pro.exe",ParaStr.c_str(),ExtractFileDir(Application->ExeName).c_str(),SW_SHOWNORMAL) -Automatic Updates- list version of calling program must take more than two parameters, namely, at least in this form:/AD: " 12:00:10" /url: " ftp://219.140.167.50/lzw/TestIni2.txt" No. 1 temporarily meaningless argument, the first two parameters are that the network path to the configuration file. The following are examples of sample code calls: String ParaStr = "/AD: 12:00:10/url: ftp://219.140.167.50/lzw/TestIni2.txt" ShellExecute (NULL, " Open" , " Upgrade_Pro.exe " , ParaStr.c_str (), ExtractFileDir (Application-> ExeName). c_str (), SW_SHOWNORMAL)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
自动升级程序-列表版\vssver2.scc
...................\Clean.bat
...................\UpgradeSelf.h
...................\TestIni3.txt
...................\Temp.ini
...................\UpgradeSelf.obj
...................\del.bat
...................\UpgradeSelf.ddp
...................\Upgrade_Pro.bpr
...................\Upgrade_Pro.res
...................\UpgradeSelf.~h
...................\自动升级程序-列表版使用说明.txt
...................\Upgrade_Pro.tds
...................\UpgradeSelf.~dfm
...................\UpgradeSelf.cpp
...................\rar.exe
...................\TestIni2.txt
...................\Upgrade_pro.txt
...................\Computer-Programming.ico
...................\Upgrade_Pro.cpp
...................\Upgrade_Pro.obj
...................\Upgrade_Pro.cgl
...................\Upgrade_Pro.~bpr
...................\Recycle.ico
...................\AutoStart.bmp
...................\Exit.bmp
...................\Upgrade_pro_new.exe
...................\UpgradeSelf.~cpp
...................\Setting_Pro.dll
...................\Upgrade_Pro.exe
...................\Upgrade_Pro.LOG
...................\UpgradeSelf.~ddp
...................\UpgradeSelf.dfm
自动升级程序-列表版
...................\Clean.bat
...................\UpgradeSelf.h
...................\TestIni3.txt
...................\Temp.ini
...................\UpgradeSelf.obj
...................\del.bat
...................\UpgradeSelf.ddp
...................\Upgrade_Pro.bpr
...................\Upgrade_Pro.res
...................\UpgradeSelf.~h
...................\自动升级程序-列表版使用说明.txt
...................\Upgrade_Pro.tds
...................\UpgradeSelf.~dfm
...................\UpgradeSelf.cpp
...................\rar.exe
...................\TestIni2.txt
...................\Upgrade_pro.txt
...................\Computer-Programming.ico
...................\Upgrade_Pro.cpp
...................\Upgrade_Pro.obj
...................\Upgrade_Pro.cgl
...................\Upgrade_Pro.~bpr
...................\Recycle.ico
...................\AutoStart.bmp
...................\Exit.bmp
...................\Upgrade_pro_new.exe
...................\UpgradeSelf.~cpp
...................\Setting_Pro.dll
...................\Upgrade_Pro.exe
...................\Upgrade_Pro.LOG
...................\UpgradeSelf.~ddp
...................\UpgradeSelf.dfm
自动升级程序-列表版