Recent

Author Topic: How to create Application Updater  (Read 3024 times)

Ronan

  • Full Member
  • ***
  • Posts: 132
How to create Application Updater
« on: October 06, 2015, 08:09:25 am »
Dear All,

I'm in a struggle to create software updater program not different than those well known updater agents Adobe, Windows updater, autodesk etc.. and I also would like to know whether the LazAutoUpdate can be used as application updater of any program written in Lazarus. Although summary section of LazAutoupdate mentions that its intended for sourceforge project updater, but probably with little tweaks and hack can be transformed into generic software updater?

If its not possible with the above way then which path do I need follow to create such an application?

Regards,

minesadorada

  • Sr. Member
  • ****
  • Posts: 453
  • Retired
Re: How to create Application Updater
« Reply #1 on: October 06, 2015, 11:29:43 am »
The LazAutoUpdate suite is specifically written for projects hosted by Sourceforge, and is tested for Windows and Linux.  Any update system also has to have a simple way for programmers to manage uploading new versions of multiple projects, and LazAutoUpdate also handles this via a companion app.  There is also a companion system tray app that silently polls for updates.

The suite is open source, and the downloader thread code is part of a TComponent class which all the components apps use.  There is a non-SourceForge option (ProjectType=auOther, auOtherSourceFilename= auOtherSourceURL=) which you may wish to explore.  The demo app shows you how it works.

The wiki page (http://wiki.lazarus.freepascal.org/LazAutoUpdater#Workflow) shows you the workflow for the system, which may help you modify it for your own use.
« Last Edit: October 06, 2015, 11:40:34 am by minesadorada »
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

Hawking

  • New member
  • *
  • Posts: 8
Re: How to create Application Updater
« Reply #2 on: October 08, 2015, 03:16:51 pm »
You should connect to some server, download text file with latest program version. Then compare downloaded program version with version of your program. If is downloaded version higher then download new binary... Easy  8-)
Are you skilled in network programming? PM me !

 

TinyPortal © 2005-2018