Sign in Join
Wiki copytemporary

LazAutoUpdater/Systray Service

Summary

Using the LazAutoUpdater Systray Service

This is even simpler to code in your app.

pascal
If LazAutoUpdate1.CreateLocalLauImportFile
  then LazAutoUpdate1.RelocateLauImportFile;

That's it!

How it works

  1. If the app is not running, it downloads and then copies over the new version of the app
  2. If the app is running, it calls lauupdate(.exe) to remotely close, update then re-open the app.
  1. Merge its contents with the app configuration file
  2. Delete the original

In this way, an update's information can be reflected in the configuration file.


From the Free Pascal wiki, page "LazAutoUpdater/Systray Service", as it stood on 2020-02-18 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 1, last changed by WikiArchive .

Edited on wiki.freepascal.org by 3 people, 2014–2020

From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.

WhenWhoWhat changed
MinesadoradaInitial blurb
MinesadoradaOops - a duplicate. The duplicate will redirect to this page.
MinesadoradaMinor addition (minor)
FTurtle
TrevFixed syntax highlighting (minor)

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.