Recent

Author Topic: Laz AutoUpdate component - beta  (Read 48704 times)

minesadorada

  • Hero Member
  • *****
  • Posts: 605
  • Retired
Laz AutoUpdate component - beta
« on: August 09, 2014, 06:13:36 pm »
Beta version is ready for testing.  The installer deploys an example application which uses the Laz AutoUpdate component.

Download from here: SourceForge project site

Summary and Blurb
LazAutoUpdate is a drop-in component for developers who host their applications on SourceForge.   It makes updating your application with newer versions a simple and painless process for both the developer and the end user.

License
LGPLv2

Source Code
Available via the SourceForge project site (SVN) Linky

Dev Environment
Windows 32-bit tested.  Should be OK on x64
Lazarus 1.2.4  FPC 2.6.2

Status
Beta

Expected behaviour
The example application installs into the [Program Files] folder.
There are two buttons to click:
[Check for newer version]
[Check, Download and Install]

The app should be reporting version 0.0.2 at start up.  (Newer version 0.0.6 is available)
  • [Check for newer version] should report that one is available
  • [Check, Download and Install] should download the newer version, then close the app, update it and restart the newer version

Initial feedback appreciated on this thread..

More info in the Wiki
« Last Edit: August 21, 2014, 12:05:41 am by minesadorada »
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

minesadorada

  • Hero Member
  • *****
  • Posts: 605
  • Retired
Re: (New) Laz AutoUpdate component - looking for testers
« Reply #1 on: August 11, 2014, 02:53:30 pm »
Updates itself to v.0.0.3 now
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3807
  • I like bugs.
Re: (New) Laz AutoUpdate component - looking for testers
« Reply #2 on: August 11, 2014, 04:59:34 pm »
Is there a plan to make it cross-platform?
Mostly Lazarus trunk on Manjaro Linux.

minesadorada

  • Hero Member
  • *****
  • Posts: 605
  • Retired
Re: (New) Laz AutoUpdate component - looking for testers
« Reply #3 on: August 11, 2014, 07:14:35 pm »
Yes, absolutely.

First, I need to see if the concept is sound, and Windows offers the easiest platform for me to test.

Besides, I have yet to get a linux lazarus dev platform running on my machine (long story), but there is nothing windows-specific in the source.

I'm just looking for some feedback before I invest too much time into it.
« Last Edit: August 11, 2014, 07:19:32 pm by minesadorada »
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

truetom

  • Jr. Member
  • **
  • Posts: 72
    • http://sourceforge.net/projects/laz4android/
Re: (New) Laz AutoUpdate component - looking for testers
« Reply #4 on: August 12, 2014, 05:17:18 am »
Hello,

Can not find aboutlazautoupdateunit.pas , Please check it.

Best regards and thanks!
laz4android : a Lazarus for Android Package.
http://sourceforge.net/projects/laz4android/

minesadorada

  • Hero Member
  • *****
  • Posts: 605
  • Retired
Re: (New) Laz AutoUpdate component - looking for testers
« Reply #5 on: August 12, 2014, 09:33:13 am »
Sorry - added a unit to the package last night, and went down to the bar with friends having forgotten to commit it to SVN  :-\

All fixed now.

Anyone having trouble with windows permissions and the installer?  You have to be an admin to install anything to [Program Files] in Vista at least.
« Last Edit: August 12, 2014, 09:35:20 am by minesadorada »
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

freeman35

  • Jr. Member
  • **
  • Posts: 92
Re: (New) Laz AutoUpdate component - looking for testers
« Reply #6 on: August 14, 2014, 06:29:23 pm »
A few days ago I finished my update program, its not component. I have some suggestions.
Code: [Select]
[App detail]
app name=Program extra info
version=6.0.1.3499
date=2014.08.11
compressed=1
url=http://www.xxx.xom/update/prj/ver/app.zip
size=4852465 --> I used lnet http, I can not get file size, this is for gauages

[files]
count=1 --> maybe dll or other files can be need upgrade

[file1]
url=
version=0.0.0.0
descrip=
compressed=0  --> maybe no need compress, small ini files etc.
filesize=0
I used lnet, for ftp protocol, need username and password. http and port:80 is easy way my idea
if I were you, for "NewVersionAvailable" control, add OnVersionCheck TNotify event. so programer can change version check rule. Examp: Just Update if "0.0.x.0" x is greater NewVersionAvailable := True;
regards

minesadorada

  • Hero Member
  • *****
  • Posts: 605
  • Retired
Re: (New) Laz AutoUpdate component - looking for testers
« Reply #7 on: August 14, 2014, 08:19:46 pm »
...

if I were you, for "NewVersionAvailable" control, add OnVersionCheck TNotify event. so programer can change version check rule. Examp: Just Update if "0.0.x.0" x is greater NewVersionAvailable := True;
regards
Good Idea.  I'll try to implement something similar.

Did LazAutoUpdate work for you?
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

freeman35

  • Jr. Member
  • **
  • Posts: 92
Re: (New) Laz AutoUpdate component - looking for testers
« Reply #8 on: August 15, 2014, 10:16:17 am »
Quote
Did LazAutoUpdate work for you?
No, 'cos I'm on kubuntu 14.04 x64

minesadorada

  • Hero Member
  • *****
  • Posts: 605
  • Retired
Re: (New) Laz AutoUpdate component - looking for testers
« Reply #9 on: August 15, 2014, 12:09:52 pm »
Added events (as suggested)

OnDownloaded(Sender: TObject;ResultCode, BytesDownloaded: Integer)
OnNewVersionAvailable(Sender: TObject;Newer: Boolean; OnlineVersion: String);
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

minesadorada

  • Hero Member
  • *****
  • Posts: 605
  • Retired
Re: (New) Laz AutoUpdate component - looking for testers
« Reply #10 on: August 16, 2014, 12:31:09 pm »
The updater has now been itself updated, so re-install before testing.
V0.0.5 has many stability improvements.  Installer will report 0.0.2 with update to 0.0.5 available.
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

minesadorada

  • Hero Member
  • *****
  • Posts: 605
  • Retired
Re: (New) Laz AutoUpdate component - looking for testers
« Reply #11 on: August 18, 2014, 02:35:17 pm »
Linux version is functional but threading/GUI responsiveness is still a bit shaky.
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

minesadorada

  • Hero Member
  • *****
  • Posts: 605
  • Retired
Re: (New) Laz AutoUpdate component - looking for testers
« Reply #12 on: August 19, 2014, 11:18:53 am »
The updater can now cope with an update zip containing a whole tree of update files/folders.

Now at V0.0.6

Download new installer, then Update to get the latest functionality
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

minesadorada

  • Hero Member
  • *****
  • Posts: 605
  • Retired
Re: Laz AutoUpdate component - beta
« Reply #13 on: September 06, 2014, 12:14:10 pm »
V0.0.8

Linux demo available for download

https://sourceforge.net/projects/lazautoupdate/
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

minesadorada

  • Hero Member
  • *****
  • Posts: 605
  • Retired
Re: Laz AutoUpdate component - beta
« Reply #14 on: September 18, 2014, 08:45:49 pm »
Introducing LazAutoUpdate Pack..

https://sourceforge.net/projects/lazautoupdate/

http://wiki.freepascal.org/LazAutoUpdater

A GUI that makes managing multiple SourceForge project updates a snap.

I am a believer in making difficult things easy via code (because I'm a typical lazy programmer) and the Update Pack enables a developer to easily maintain application updates and improvements.

Only Windows32 ATM but Linux will be available when I reboot into Mint and compile/upload

Enjoy and criticize (why else would I post in a forum full of talented programmers?) :)
« Last Edit: September 18, 2014, 08:48:23 pm by minesadorada »
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

 

TinyPortal © 2005-2018