LazAutoUpdater/Systray Service

Summary

edit

Using the LazAutoUpdater Systray Service

edit

This is even simpler to code in your app.

If LazAutoUpdate1.CreateLocalLauImportFile
  then LazAutoUpdate1.RelocateLauImportFile;

That's it!

How it works

edit
  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.