Getting started with TMS FNC App Update
Prerequisites
- TMS FNC Core installed and the runtime package added to the project.
- TMS FNC AppTools installed.
- A remote server hosting a control file that describes available update files.
Add the component
- Drop
TTMSFNCAppUpdate from the palette onto a form.
- Set
URL to the remote URL of your update control file.
- Optionally set
Elevate to True if applying updates requires administrative privileges.
Check for a new version
{ Inside a button click or application startup handler: }
if AppUpdate1.NewVersionAvailable then
AppUpdate1.StartUpdate;
React to download progress
procedure TForm1.AppUpdate1OnFileProgress(Sender: TObject;
const AFile: TTMSFNCAppUpdateFile; AProgress: Integer);
begin
ProgressBar1.Value := AProgress;
end;
Next steps
- Guides — control file format, elevation, custom version comparison, and logging.
- API reference — full class reference.