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
Database standards OR Am ...
by
paweld
[
Today
at 01:07:33 pm]
Who is Indy mattias?
by
paweld
[
Today
at 12:58:14 pm]
How to: create DLL file f...
by
440bx
[
Today
at 12:42:21 pm]
Access violation when ope...
by
Чебурашка
[
Today
at 12:27:34 pm]
Step-into the field sette...
by
Martin_fr
[
Today
at 11:31:48 am]
Access violation when re-...
by
Chris Osborne
[
Today
at 11:31:25 am]
AI, NLP and CAI: Text Gen...
by
Dzandaa
[
Today
at 11:03:26 am]
dwindows for Android
by
PierceNg
[
Today
at 10:54:44 am]
create system unit from s...
by
Laksen
[
Today
at 10:53:57 am]
how to get class and meth...
by
cdbc
[
Today
at 10:52:22 am]
[Solved] Find child contr...
by
Joanna
[
Today
at 09:53:43 am]
FpDebug unexpected Assemb...
by
Marc
[
Today
at 08:46:38 am]
Offical launch of the 1 B...
by
Handoko
[
Today
at 07:59:07 am]
Big Numbers Math
by
iLya2IK
[
Today
at 07:13:20 am]
Lazarus for Windows on aa...
by
dbannon
[
Today
at 07:02:55 am]
BUG REPORT: Unable to gen...
by
dbannon
[
Today
at 06:29:49 am]
what to do if my target M...
by
Laksen
[
Today
at 12:49:12 am]
For-in loop over constant...
by
ASerge
[
Today
at 12:36:09 am]
Converting a string/index...
by
TRon
[April 18, 2024, 11:56:37 pm]
exclude ALL packages from...
by
PascalDragon
[April 18, 2024, 11:33:29 pm]
Demoscene The Champs Crac...
by
KodeZwerg
[April 18, 2024, 11:29:50 pm]
Poll: Watches and Display...
by
440bx
[April 18, 2024, 10:55:14 pm]
Have anyone develop UEFI ...
by
PascalDragon
[April 18, 2024, 10:14:15 pm]
The weird Rewrite bug
by
PascalDragon
[April 18, 2024, 09:58:53 pm]
Assign (textfile) not com...
by
PascalDragon
[April 18, 2024, 09:51:50 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: LazAutoUpdate: auOther (Read 1481 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: 79
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