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
Access violation when ope...
by
JuhaManninen
[
Today
at 10:29:38 am]
HeapTrc not showing line ...
by
TRon
[
Today
at 10:26:30 am]
Step-into the field sette...
by
ginoo
[
Today
at 07:50:24 am]
Does anyone know why thes...
by
TYDQ
[
Today
at 05:24:32 am]
Forum slow
by
Curt Carpenter
[
Today
at 03:41:07 am]
Arabic text, problem on L...
by
Zaher
[
Today
at 03:29:16 am]
InstallAware Using Lazaru...
by
TRon
[
Today
at 02:55:41 am]
Generics - correct syntax
by
Blaazen
[
Today
at 01:57:40 am]
Demoscene The Champs Crac...
by
Gigatron
[
Today
at 01:05:16 am]
How to use the Event Log?
by
n7800
[
Today
at 12:47:25 am]
v3.99 code completion que...
by
440bx
[
Today
at 12:45:55 am]
FpDebug breakpoint on "be...
by
440bx
[
Today
at 12:36:23 am]
Access violation when re-...
by
TRon
[April 19, 2024, 11:44:51 pm]
[solved] how to get class...
by
jamie
[April 19, 2024, 11:34:44 pm]
Lazarus for Windows on aa...
by
Wallaby
[April 19, 2024, 10:52:25 pm]
Poll: Watches and Display...
by
440bx
[April 19, 2024, 07:13:51 pm]
Who is Indy mattias?
by
paweld
[April 19, 2024, 04:17:53 pm]
I just released a commerc...
by
BrassGear
[April 19, 2024, 03:17:28 pm]
Database standards OR Am ...
by
gidesa
[April 19, 2024, 02:37:56 pm]
How to: create DLL file f...
by
TRon
[April 19, 2024, 02:26:53 pm]
A fairly simple sound sol...
by
paweld
[April 19, 2024, 01:46:11 pm]
AI, NLP and CAI: Text Gen...
by
Dzandaa
[April 19, 2024, 11:03:26 am]
dwindows for Android
by
PierceNg
[April 19, 2024, 10:54:44 am]
create system unit from s...
by
Laksen
[April 19, 2024, 10:53:57 am]
[Solved] Find child contr...
by
Joanna
[April 19, 2024, 09:53:43 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: LazAutoUpdate: auOther (Read 1490 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