|
Info-file example |
|
| acAutoUpgrader component as subproperty of InfoFile structure.
|
| type
|
| TacUpgradeMethod = (umSelfUpgrade,
|
| umUseExternalSetup,
|
| umRedirectToURL);
|
|
|
| property UpgradeMethod: TacUpgradeMethod;
|
| The UpgradeMethod property controls how you would like to upgrade your application: automatically downloading and updating all newer files (umSelfUpgrade), or just redirecting users to first URL listed in the Files property (umRedirectToURL).
|
|
|
| There is three possible values:
|
| Value | Meaning
|
| umSelfUpgrade | component should download and replace all newer files itself;
|
| umUseExternalSetup | AutoUpgrader should download just setup-file which will locally extract all required locally. The application will be restarted upon completion of external installation.
|
| umRedirectToURL | does not download anything. It just opens new browser window and redirect users to first URL specified in Files property (in the Info-file).
|
|
|
| In case if the UpgradeMethod = umUseExternalSetup (#method=1 in the Info-file), the setup will extracted to the temporary folder (i.e: Windows\Temp) without locking any of your files.
|
| Files and UpgradeMsg properties of InfoFile stucture;
|
| RestartParams property and OnAfterRestart event;
|
| Info-file example.
|