|
AutoUpgrader component |
|
| This file contains the information about latest version of your application. This is the server-side part of AutoUpgrader component, small text-file, stored on your website, and InfoFileURL property must point to its location.
|
|
|
| On detecting the Internet connection (if AutoCheck = True), or after calling the CheckUpdate method, the AutoUpgrader downloads this file from your website to check for an application updates.
|
|
|
| If VersionControl property is byDate it compares the date specified in VersionDate property with the date of latest version, specified in #date variable of the .Info-file (see example of real file below). If value of #date variable higher than date specified in VersionDate property, then AutoUpgrader will show the dialog which notify user that newer version already available and whether he(she) would like to upgrade the software (see screenshot).
|
|
|
| The optional text for this dialog box (release notes, new features etc) specified in #message variable (see example below). #message is not obligatory parameter, feel free to leave it empty.
|
|
|
| If user press "Yes" button, then AutoUpgrader will attempt to download the updated files from locations specified in #urlX variables, for further updating of these files locally. However there is two alternative options: 1) if you wish to download just setup-file for further manual installation set #method value to 1 or, 2) if you wish to just redirect user to download site set #method to 2 and the AutoUpgrader will just redirect user to first listed listed #url (see UpgradeMethod property for more details).
|
|
|
| In case if you are using VersionNumber for version control, then before upgrading, the AutoUpgrader will compare value in #version variable with value specified in VersionNumber property. If values is equal then AutoUpgrader will try to auto-upgrade software same way.
|
| # --- Begin
|
| #date=09/19/2001
|
| #version=2.0.1b
|
| #message={Version [B]2.0[] contains following features:
|
| * [LIME]Feature 1[DEF]
|
| * [RED]Feature 2[DEF]
|
| * [BLUE]Feature 3[DEF]
|
| and so on...}
|
| #url1=http://www.yourdomain.com/download/cool/CoolProgram.exe
|
| #method=0 (self-upgrade)
|
| # --- End
|
| #date=MM/DD/YYYY
|
| #version=any string (i.e: 1.1 or 2.13.04.7b)
|
|
|
| // download queue
|
| #url1=http://www.mydomain.com/download/MyApp.exe
|
| #url2=http://www.mydomain.com/download/MyApp.dll
|
| ...
|
| #urlN=http://www.mydomain.com/download/ReleaseNotes.txt
|
|
|
| #method=0, 1 or 2 (see UpgradeMethod property)
|
|
|
| (#message begins with "{" and ends with "}" characters. Can contain rich-style tags like in acFormHelp or acRichLabel components)
|
| #message={long message
|
| another line
|
| line 3}
|
| Double-click the component icon on your form, or
|
| Right-click the icon and select "Edit Info-file
" menu item", or
|
| Click "
" button on InfoFile property in Object Inspector, or
|
| Open "NotePad" or any other text-editor and create this file manually<g>.
|
| http://www.appcontrols.com/download/exe/AutoUpgraderPro.inf
|
| http://www.appcontrols.com/software/upgrades/colorpicker.inf
|
| http://www.appcontrols.com/software/upgrades/startupman.inf
|
| http://www.appcontrols.com/software/upgrades/virtualdrives.inf
|
| http://www.appcontrols.com/software/upgrades/wallpaperman.inf
|