![]() |
![]() ![]() ![]() |
acAutoUpgrader component.
|
type
|
TacMiscFilesUpgradeBehavior = (mfuDownloadAlways, mfuOnlyIfSizeDifferent)
|
|
property MiscFilesUpgrade: TacMiscFilesUpgradeBehavior;
|
The MiscFilesUpgrade property determines how the component should behave when it about to download the updated files.
|
|
There are two possible values for MiscFilesUpgrade property:
|
Value | Meaning
|
ubAlwaysDownload | this is devault value for this property. If it is set, the AutoUpgrader will always download all files in queue, as described in the Info-file, disregarding of their sizes, even if the remote file has the same size as its local analog;
|
ubOnlyIfSizeDifferent | specifies that the AutoUpgrader should automatically compare the size of file which about to be downloaded with the size of file which already exists in local hard disk. If the sizes are equal, the component will not download it and pass to next file in the download queue.
|
|
![]() |
1. | The behavior specified in this property is concerned only for miscellaneous files in the download queue. The main executable file of the application will be always updated when the new update available (version date or number changed in the Info-file).
|
2. | This property take effect only if UpgradeMethod = umSelfUpgrade (#method=0 in the Info-file), so the upgrade performed by downloading and replacing every file separately.
|
OnFileStart event;
|
Info-file example.
|