diff --git a/components/lazautoupdate/latest_stable/testapp/testapp.ico b/components/lazautoupdate/latest_stable/testapp/testapp.ico
new file mode 100644
index 000000000..0341321b5
Binary files /dev/null and b/components/lazautoupdate/latest_stable/testapp/testapp.ico differ
diff --git a/components/lazautoupdate/latest_stable/testapp/testapp.lpi b/components/lazautoupdate/latest_stable/testapp/testapp.lpi
new file mode 100644
index 000000000..e47fea315
--- /dev/null
+++ b/components/lazautoupdate/latest_stable/testapp/testapp.lpi
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/lazautoupdate/latest_stable/testapp/testapp.lpr b/components/lazautoupdate/latest_stable/testapp/testapp.lpr
new file mode 100644
index 000000000..0b6eced08
--- /dev/null
+++ b/components/lazautoupdate/latest_stable/testapp/testapp.lpr
@@ -0,0 +1,50 @@
+program testapp;
+{ Test App for LazAutoUpdate
+
+ Copyright (C)2016 Gordon Bamber minsadorada@charcodelvalle.com
+
+ This source is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation; either version 2 of the License, or (at your option)
+ any later version.
+
+ This code is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ details.
+
+ A copy of the GNU General Public License is available on the World Wide Web
+ at . You can also obtain it by writing
+ to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ MA 02111-1307, USA.
+}
+{$ifdef Linux}
+ {$ifdef FPC_CROSSCOMPILING}
+ {$ifdef CPUARM}
+ //if GUI, then uncomment
+ //{$linklib GLESv2}
+ {$endif}
+ {$linklib libc_nonshared.a}
+ {$endif}
+{$endif}
+
+{$mode objfpc}{$H+}
+
+uses
+ {$IFDEF UNIX}{$IFDEF UseCThreads}
+ cthreads,
+ {$ENDIF}{$ENDIF}
+ Interfaces, // this includes the LCL widgetset
+ Forms, umainform
+ { you can add units after this };
+
+{$R *.res}
+
+begin
+ Application.Title:='Test App for LazAutoUpdate component';
+ RequireDerivedFormResource:=True;
+ Application.Initialize;
+ Application.CreateForm(Tmainform, mainform);
+ Application.Run;
+end.
+
diff --git a/components/lazautoupdate/latest_stable/testapp/testapp.lps b/components/lazautoupdate/latest_stable/testapp/testapp.lps
new file mode 100644
index 000000000..f0fda74c4
--- /dev/null
+++ b/components/lazautoupdate/latest_stable/testapp/testapp.lps
@@ -0,0 +1,226 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/lazautoupdate/latest_stable/testapp/testapp.res b/components/lazautoupdate/latest_stable/testapp/testapp.res
new file mode 100644
index 000000000..2feb20d57
Binary files /dev/null and b/components/lazautoupdate/latest_stable/testapp/testapp.res differ
diff --git a/components/lazautoupdate/latest_stable/testapp/umainform.lfm b/components/lazautoupdate/latest_stable/testapp/umainform.lfm
new file mode 100644
index 000000000..3f17c0aa5
--- /dev/null
+++ b/components/lazautoupdate/latest_stable/testapp/umainform.lfm
@@ -0,0 +1,114 @@
+object mainform: Tmainform
+ Left = 716
+ Height = 209
+ Top = 296
+ Width = 335
+ BorderIcons = [biSystemMenu]
+ Caption = 'mainform'
+ ClientHeight = 209
+ ClientWidth = 335
+ OnActivate = FormActivate
+ OnCreate = FormCreate
+ Position = poDesktopCenter
+ LCLVersion = '1.7'
+ object StatusBar1: TStatusBar
+ Left = 0
+ Height = 23
+ Top = 186
+ Width = 335
+ Panels = <>
+ end
+ object cmd_close: TBitBtn
+ Left = 248
+ Height = 30
+ Top = 16
+ Width = 75
+ DefaultCaption = True
+ Kind = bkClose
+ ModalResult = 11
+ TabOrder = 1
+ end
+ object cmd_NewVersionAvailable: TButton
+ Left = 24
+ Height = 25
+ Top = 16
+ Width = 143
+ AutoSize = True
+ Caption = 'New Version Available'
+ OnClick = cmd_NewVersionAvailableClick
+ TabOrder = 2
+ end
+ object cmd_DownloadNewVersion: TButton
+ Left = 24
+ Height = 25
+ Top = 48
+ Width = 149
+ AutoSize = True
+ Caption = 'Download New Version'
+ OnClick = cmd_DownloadNewVersionClick
+ TabOrder = 3
+ end
+ object cmd_updateToNewVersion: TButton
+ Left = 24
+ Height = 25
+ Top = 80
+ Width = 147
+ AutoSize = True
+ Caption = 'Update to New Version'
+ OnClick = cmd_updateToNewVersionClick
+ TabOrder = 4
+ end
+ object cmd_AutoUpdate: TButton
+ Left = 24
+ Height = 25
+ Top = 112
+ Width = 93
+ AutoSize = True
+ Caption = 'Auto Update'
+ OnClick = cmd_AutoUpdateClick
+ TabOrder = 5
+ end
+ object lbl_Version: TLabel
+ Left = 24
+ Height = 15
+ Top = 152
+ Width = 298
+ Alignment = taCenter
+ AutoSize = False
+ Caption = 'Version: '
+ Font.Style = [fsBold]
+ ParentColor = False
+ ParentFont = False
+ end
+ object LazAutoUpdate1: TLazAutoUpdate
+ About.Description.Strings = (
+ 'A component for updating your application'#13#10'Designed for projects hosted by SourceForge'#13#10#13#10'Main methods:'#13#10'Procedure AutoUpdate'#13#10'Function NewVersionAvailable: Boolean'#13#10'Function DownloadNewVersion: Boolean'#13#10'Function UpdateToNewVersion: Boolean'#13#10'Procedure ShowWhatsNewIfAvailable'#13#10'For troubleshooting, set DebugMode=TRUE'
+ )
+ About.Title = 'About LazAutoUpdate'
+ About.Height = 450
+ About.Width = 400
+ About.Font.Color = clNavy
+ About.Font.Height = -13
+ About.BackGroundColor = clWindow
+ About.Version = '0.2.0'
+ About.Authorname = 'Gordon Bamber'
+ About.Organisation = 'Public Domain'
+ About.AuthorEmail = 'minesadorada@gmail.com'
+ About.ComponentName = 'Laz Auto-update v0.2.0'
+ About.LicenseType = abModifiedGPL
+ OnNewVersionAvailable = LazAutoUpdate1NewVersionAvailable
+ OnDownloaded = LazAutoUpdate1Downloaded
+ OnDebugEvent = LazAutoUpdate1DebugEvent
+ SFProjectName = 'lazautoupdate'
+ CopyTree = False
+ UpdatesFolder = 'updates'
+ VersionsININame = 'testapp.ini'
+ ShowUpdateInCaption = True
+ ShowDialogs = True
+ VersionCountLimit = 1000000
+ DownloadCountLimit = 10000000
+ ZipfileName = 'testapp.zip'
+ Left = 200
+ Top = 24
+ end
+end
diff --git a/components/lazautoupdate/latest_stable/testapp/umainform.pas b/components/lazautoupdate/latest_stable/testapp/umainform.pas
new file mode 100644
index 000000000..db160beaf
--- /dev/null
+++ b/components/lazautoupdate/latest_stable/testapp/umainform.pas
@@ -0,0 +1,130 @@
+unit umainform;
+
+{$mode objfpc}{$H+}
+
+interface
+
+uses
+ Classes, SysUtils, Forms, ComCtrls,
+ Buttons, StdCtrls,ulazautoupdate;
+CONST
+{$IFDEF WINDOWS}
+ {$IFDEF CPU32}
+ C_VERSIONSINNAME = 'testappwin32.ini';
+ C_ZIPFILENAME = 'testappwin32.zip';
+ {$ENDIF}
+ {$IFDEF CPU64}
+ C_VERSIONSINNAME = 'testappwin64.ini';
+ C_ZIPFILENAME = 'testappwin64.zip';
+ {$ENDIF}
+{$ENDIF}
+ {$IFDEF LINUX}
+ {$IFDEF CPU32}
+ C_VERSIONSINNAME = 'testapplinux32.ini';
+ C_ZIPFILENAME = 'testapplinux32.zip';
+ {$ENDIF}
+ {$IFDEF CPU64}
+ C_VERSIONSINNAME = 'testapplinux64.ini';
+ C_ZIPFILENAME = 'testapplinux64.zip';
+ {$ENDIF}
+{$ENDIF}
+
+type
+
+ { Tmainform }
+
+ Tmainform = class(TForm)
+ cmd_AutoUpdate: TButton;
+ cmd_updateToNewVersion: TButton;
+ cmd_DownloadNewVersion: TButton;
+ cmd_NewVersionAvailable: TButton;
+ cmd_close: TBitBtn;
+ lbl_Version: TLabel;
+ LazAutoUpdate1: TLazAutoUpdate;
+ StatusBar1: TStatusBar;
+ procedure cmd_AutoUpdateClick(Sender: TObject);
+ procedure cmd_DownloadNewVersionClick(Sender: TObject);
+ procedure cmd_NewVersionAvailableClick(Sender: TObject);
+ procedure cmd_updateToNewVersionClick(Sender: TObject);
+ procedure FormActivate(Sender: TObject);
+ procedure FormCreate(Sender: TObject);
+ procedure LazAutoUpdate1DebugEvent(Sender: TObject; lauMethodName,
+ lauMessage: string);
+ procedure LazAutoUpdate1Downloaded(Sender: TObject; ResultCode,
+ BytesDownloaded: integer);
+ procedure LazAutoUpdate1NewVersionAvailable(Sender: TObject;
+ Newer: boolean; OnlineVersion: string);
+ private
+
+ public
+
+ end;
+
+var
+ mainform: Tmainform;
+
+implementation
+
+{$R *.lfm}
+
+{ Tmainform }
+
+procedure Tmainform.FormCreate(Sender: TObject);
+begin
+ LazAutoUpdate1.DebugMode:=TRUE;
+ LazAutoUpdate1.VersionsININame:=C_VERSIONSINNAME;
+ LazAutoUpdate1.ZipfileName:=C_ZIPFILENAME;
+ lbl_Version.Caption:='Version: ' + LazAutoUpdate1.AppVersion;
+ Caption:=Application.Title;
+end;
+
+procedure Tmainform.cmd_NewVersionAvailableClick(Sender: TObject);
+begin
+ LazAutoUpdate1.NewVersionAvailable;
+end;
+
+procedure Tmainform.cmd_updateToNewVersionClick(Sender: TObject);
+begin
+ LazAutoUpdate1.UpdateToNewVersion;
+end;
+
+procedure Tmainform.FormActivate(Sender: TObject);
+begin
+ LazAutoUpdate1.ShowWhatsNewIfAvailable;
+end;
+
+procedure Tmainform.cmd_DownloadNewVersionClick(Sender: TObject);
+begin
+ LazAutoUpdate1.DownloadNewVersion;
+end;
+
+procedure Tmainform.cmd_AutoUpdateClick(Sender: TObject);
+begin
+ LazAutoUpdate1.AutoUpdate;
+end;
+
+procedure Tmainform.LazAutoUpdate1DebugEvent(Sender: TObject; lauMethodName,
+ lauMessage: string);
+begin
+ StatusBar1.SimpleText:='Debug Message: (' + lauMethodName + ') ' + lauMessage;
+end;
+
+procedure Tmainform.LazAutoUpdate1Downloaded(Sender: TObject; ResultCode,
+ BytesDownloaded: integer);
+begin
+ StatusBar1.SimpleText:=Format('Downloaded. StatusCode=%d BytesDownloaded=%d',
+ [ResultCode,BytesDownloaded]);
+end;
+
+procedure Tmainform.LazAutoUpdate1NewVersionAvailable(Sender: TObject;
+ Newer: boolean; OnlineVersion: string);
+begin
+ If Newer then
+ StatusBar1.SimpleText:='New version available. Online Version is ' + OnlineVersion
+ else
+ StatusBar1.SimpleText:='Online version is not newer. Online Version is ' + OnlineVersion
+
+end;
+
+end.
+