Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Announcements
»
Third party
»
LazAutoUpdate: auOther
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Can function be used for ...
by
jamie
[
Today
at 10:53:10 pm]
(Solved) TIndexedAVLTree ...
by
lainz
[
Today
at 10:49:03 pm]
Parameter passing odditie...
by
Nitorami
[
Today
at 10:48:22 pm]
Demo Scene Picture sinwav...
by
KodeZwerg
[
Today
at 10:26:21 pm]
fkInternalCalc
by
zraja
[
Today
at 09:31:07 pm]
A fairly simple sound sol...
by
KodeZwerg
[
Today
at 09:23:37 pm]
add new targets to make
by
marcov
[
Today
at 08:38:42 pm]
how to tweek fpmake to co...
by
marcov
[
Today
at 08:29:16 pm]
Quirky windows
by
ASerge
[
Today
at 07:07:16 pm]
[Request] Demo Scene Sub ...
by
Gigatron
[
Today
at 06:29:39 pm]
Unlocking Files
by
KodeZwerg
[
Today
at 06:03:08 pm]
[SOLVED] trunk bug for mi...
by
Key-Real
[
Today
at 05:56:32 pm]
Demo Scene Bitmap Font Sc...
by
Gigatron
[
Today
at 05:56:27 pm]
Compile/Convert Delphi pr...
by
Martin_fr
[
Today
at 05:43:11 pm]
Generics - correct syntax
by
Thaddy
[
Today
at 05:40:59 pm]
Lazarus for Windows on aa...
by
msintle
[
Today
at 05:32:42 pm]
InstallAware Using Lazaru...
by
msintle
[
Today
at 05:26:36 pm]
Xcode Command Line Tools ...
by
Joseph
[
Today
at 05:16:39 pm]
Offical launch of the 1 B...
by
Hartmut
[
Today
at 04:49:29 pm]
what to do if my target M...
by
nickysn
[
Today
at 04:16:02 pm]
compiler error in unit
by
paule32
[
Today
at 03:49:50 pm]
Multithreading - synchron...
by
mika
[
Today
at 01:48:51 pm]
May be useful to somebody
by
KodeZwerg
[
Today
at 12:38:22 pm]
match automatic highlight...
by
Чебурашка
[
Today
at 11:35:14 am]
Tchart with dual numbers ...
by
wp
[
Today
at 10:48:18 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: LazAutoUpdate: auOther (Read 1495 times)
MoellerCLaus
Full Member
Posts: 114
LazAutoUpdate: auOther
«
on:
November 29, 2020, 02:04:38 pm »
I want to have the updates at my homepage. So I went for auother; and made the ini.files etc accordingly
I hope.
Newer the less it stops at newversionavaible with attached message.
Any ideas where to look?
Code: Pascal
[Select]
[+]
[-]
//**********************************************************
// Check for updates
//**********************************************************
procedure
TMainForm
.
CheckForupdates
;
Begin
LazAutoUpdate1
.
ProjectType
:
=
auOther
;
LazAutoUpdate1
.
auOtherSourceURL
:
=
'http:\\www.foreningsprogram.dk\updates'
;
LazAutoUpdate1
.
auOtherSourceFilename
:
=
'holbaekupdate.zip'
;
LazAutoUpdate1
.
SFProjectName
:
=
''
;
// Dummy
LazAutoUpdate1
.
VersionsININame
:
=
'versions.ini'
;
LazAutoUpdate1
.
ZipfileName
:
=
'holbaek.zip'
;
LazAutoUpdate1
.
CopyTree
:
=
False
;
LazAutoUpdate1
.
ShowDialogs
:
=
True
;
LazAutoUpdate1
.
DebugMode
:
=
True
;
LazAutoUpdate1
.
UpdatesFolder
:
=
'updates'
;
LazAutoUpdate1
.
VersionsININame
:
=
'versions.ini'
;
If
LazAutoUpdate1
.
NewVersionAvailable
Then
MessageDlg
(
Application
.
Title
,
'A new version of '
+
Application
.
Title
+
' is available.'
+
LineEnding
+
'Click '
'Check for new version'
' in Help menu to update'
,
mtConfirmation
,
[
mbOK
]
,
0
)
;
end
;
Logged
Wallaby
Jr. Member
Posts: 80
Re: LazAutoUpdate: auOther
«
Reply #1 on:
November 29, 2020, 02:19:11 pm »
http:\\www.foreningsprogram.dk\updates
^^^ What's happened to your slashes?
Logged
MoellerCLaus
Full Member
Posts: 114
Re: LazAutoUpdate: auOther
«
Reply #2 on:
November 29, 2020, 02:22:55 pm »
I dont know. Thanks. Corrected to /
Now I get the newversion.ini downloaded.
Bum but not there yet.
Logged
MoellerCLaus
Full Member
Posts: 114
Re: LazAutoUpdate: auOther
«
Reply #3 on:
November 29, 2020, 03:07:18 pm »
This is as easy as I thought - log says
Code: Pascal
[Select]
[+]
[-]
[
2020
-
11
-
29
15
:
00
:
34.183
Info
]
Start
of
Log
[
2020
-
11
-
29
15
:
00
:
34.183
Info
]
updatehm version 0
.
0
.
15
[
2020
-
11
-
29
15
:
00
:
34.183
Info
]
Given parameters follow
:
[
2020
-
11
-
29
15
:
00
:
34.183
Info
]
App
name
=
holbaek
.
exe
[
2020
-
11
-
29
15
:
00
:
34.183
Info
]
Updates folder
=
updates
[
2020
-
11
-
29
15
:
00
:
34.183
Info
]
WhatsNew filename
=
whatsnew
.
txt
[
2020
-
11
-
29
15
:
00
:
34.183
Info
]
Pretty
Name
=
holbaek
[
2020
-
11
-
29
15
:
00
:
34.183
Info
]
CopyTree
=
FALSE
[
2020
-
11
-
29
15
:
00
:
34.183
Info
]
Please wait
.
Updating
holbaek
....
[
2020
-
11
-
29
15
:
00
:
34.183
Info
]
Application path
=
C
:
\hol\holbaek
.
exe
[
2020
-
11
-
29
15
:
00
:
34.183
Info
]
Updated application path
=
C
:
\hol\updates\holbaek
.
exe
[
2020
-
11
-
29
15
:
00
:
34.183
Info
]
WhatsNew path
=
C
:
\hol\whatsnew
.
txt
[
2020
-
11
-
29
15
:
00
:
34.183
Info
]
Updated whatsNew path
=
C
:
\hol\updates\whatsnew
.
txt
[
2020
-
11
-
29
15
:
00
:
34.199
Info
]
Couldn
't find szUpdatedEXEPath
and the updatehmwin64 log says
Code: Pascal
[Select]
[+]
[-]
STATUS INFO
:
@
15
:
00
:
17
MSG
:
Starting Application
IN
:
Initialization
STATUS INFO
:
@
15
:
01
:
03 MSG
:
Terminating Application
IN
:
Finalization
Any ideas where to look?
Logged
MoellerCLaus
Full Member
Posts: 114
Re: LazAutoUpdate: auOther
«
Reply #4 on:
November 29, 2020, 08:31:52 pm »
Sometimes it helps me to reach out!!!
To find out I made my mistakes; but now NBUM it works perfectly.
// Made my own Ini files tool including the upload part using Indy.
Logged
AL
Sr. Member
Posts: 264
Re: LazAutoUpdate: auOther
«
Reply #5 on:
November 29, 2020, 10:38:11 pm »
Do you think this would work with a google drive link?
Logged
Laz 3.1, fpc 3.2.2, Win10
Laz 3.1 fpc 3.2.2, MacOS Monterey running on VMWare/Win 10
Laz 3.1 fpc 3.2.2 Ubuntu 20.04
MoellerCLaus
Full Member
Posts: 114
Re: LazAutoUpdate: auOther
«
Reply #6 on:
December 01, 2020, 06:21:16 am »
I believe soo. Google-drive has an API. I have only tried their Gmail with Indy - that works fine.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Announcements
»
Third party
»
LazAutoUpdate: auOther
TinyPortal
© 2005-2018