TTMSFNCAppUpdateFile Class
Describes a single file that participates in an update operation, including its remote location, version information, and target destination on disk.
API unit family: TMSFNCAppUpdate
Inherits from: TCollectionItem
Syntax
TTMSFNCAppUpdateFile = class(TCollectionItem)
Remarks
Each item is created and populated from the downloaded control file, then used to determine whether the local file is out of date and where the downloaded payload is applied.
Properties
| Name | Description |
|---|---|
| Active | When True, the file is included in the update process; when False, it is ignored. |
| AppUpdate | When True, this file represents the running application itself and a restart is required after it is updated. |
| CheckSum | New CRC checksum published for this file in the control file. |
| Description | Human-readable description of the file or its update. |
| FileSize | Size in bytes of the file currently present on the local machine. |
| FileVersion | New file version (the version embedded in the binary) used for version-info based comparison. |
| LocalVersion | Version of the file currently installed on the local machine. |
| Mandatory | When True, this file must be updated and the update cannot be skipped. |
| Params | Additional command-line parameters passed when the file is launched or restarted after the update. |
| RestartMessage | Message shown to the user when a restart is required to complete the update of this file. |
| Size | New file size in bytes as published in the control file. |
| TargetDir | Resolved destination directory where the downloaded file is applied. |
| URL | Location from which the file is downloaded. |
| Version | New version string published for this file in the control file. |