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
Slow copying of small str...
by
Nitorami
[
Today
at 09:43:56 am]
How to: create DLL file f...
by
paule32
[
Today
at 09:27:34 am]
Assign (textfile) not com...
by
dsiders
[
Today
at 08:51:13 am]
Text orientation in TMemo...
by
CM630
[
Today
at 08:41:53 am]
Linux Workspaces -- StayO...
by
AmatCoder
[
Today
at 08:21:27 am]
Demoscene The Champs Crac...
by
Lulu
[
Today
at 08:15:12 am]
Azure sql database will n...
by
paweld
[
Today
at 07:24:47 am]
Find child controls by na...
by
Handoko
[
Today
at 04:17:05 am]
location of non visual co...
by
VisualLab
[April 17, 2024, 11:58:55 pm]
For-in loop over constant...
by
Joanna
[April 17, 2024, 11:57:15 pm]
Lazarus editor feature re...
by
440bx
[April 17, 2024, 11:49:08 pm]
InstallAware Using Lazaru...
by
VisualLab
[April 17, 2024, 11:08:24 pm]
How would you define a fi...
by
wp
[April 17, 2024, 11:04:00 pm]
Directx9 with mylogo insi...
by
KodeZwerg
[April 17, 2024, 11:03:54 pm]
Lazarus for Windows on aa...
by
Wallaby
[April 17, 2024, 10:25:46 pm]
[SOLVED] TDbf table, Leve...
by
1HuntnMan
[April 17, 2024, 10:03:16 pm]
Doomed name
by
Martin_fr
[April 17, 2024, 09:09:52 pm]
lazarus-project_3.2.0-0_a...
by
midigark
[April 17, 2024, 06:09:40 pm]
TBGRABitmap.TextSize retu...
by
circular
[April 17, 2024, 05:24:04 pm]
BUG REPORT: Unable to gen...
by
gasensor
[April 17, 2024, 05:10:20 pm]
[solved]FP IDE(FP.exe) fa...
by
gasensor
[April 17, 2024, 04:45:40 pm]
Inherits forms and releas...
by
ASerge
[April 17, 2024, 03:37:45 pm]
The weird Rewrite bug
by
Kays
[April 17, 2024, 01:23:40 pm]
FpDebug unexpected Assemb...
by
440bx
[April 17, 2024, 12:54:43 pm]
Arabic text, problem on L...
by
Zaher
[April 17, 2024, 12:34:05 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: LazAutoUpdate: auOther (Read 1472 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