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
Debugger error
by
bobonwhidbey
[
Today
at 07:03:07 pm]
How to: create DLL file f...
by
paule32
[
Today
at 07:02:31 pm]
System.Now gives timestam...
by
alpine
[
Today
at 06:58:15 pm]
Demo Scene Bitmap Font Sc...
by
circular
[
Today
at 06:53:32 pm]
Your best UI design - con...
by
circular
[
Today
at 06:48:12 pm]
Web Applications with Pas...
by
1HuntnMan
[
Today
at 06:44:00 pm]
splitting an image
by
Dzandaa
[
Today
at 06:40:45 pm]
Converting a string/index...
by
1HuntnMan
[
Today
at 06:35:19 pm]
Drawing grid lines on a t...
by
KodeZwerg
[
Today
at 05:42:19 pm]
Compile/Convert Delphi pr...
by
Martin_fr
[
Today
at 05:29:03 pm]
Lazarus features in a non...
by
Lutz Mändle
[
Today
at 05:26:34 pm]
what's difference between...
by
egsuh
[
Today
at 05:24:24 pm]
Lazarus for Windows on aa...
by
msintle
[
Today
at 05:03:57 pm]
AI, NLP and CAI: Text Gen...
by
indydev
[
Today
at 04:51:00 pm]
Parameter passing odditie...
by
KodeZwerg
[
Today
at 03:41:49 pm]
Surf Units in Text Mode I...
by
mosquito
[
Today
at 01:58:21 pm]
Ho Ho Ho IntraWeb in Laza...
by
Thaddy
[
Today
at 01:55:52 pm]
Generics - correct syntax
by
Thaddy
[
Today
at 01:48:32 pm]
FpDebug questions
by
440bx
[
Today
at 01:22:53 pm]
leetcode doesn’t support ...
by
codeninja
[
Today
at 01:16:43 pm]
Can function be used for ...
by
Joanna
[
Today
at 12:48:19 pm]
Access violation when ope...
by
Чебурашка
[
Today
at 12:14:30 pm]
Access violation when re-...
by
Chris Osborne
[
Today
at 11:43:49 am]
how to tweek fpmake to co...
by
marcov
[
Today
at 10:35:11 am]
Why isn't TTIRadioGroup's...
by
egsuh
[
Today
at 08:09:35 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: LazAutoUpdate: auOther (Read 1503 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: 81
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