Ansgar Becker
4fd9b87767
Updater: quote name of task to run, making it safe to use white spaces
2023-01-04 19:45:37 +01:00
Ansgar Becker
0cdbab3928
Use Release configuration to decrease the updaters file size
2023-01-01 21:37:22 +01:00
Ansgar Becker
b49c6983f1
Issue #1616 : Close Heidi processes through updater even if the path is different than the current app path, which is the case when running Heidi from a symbolic link folder.
2023-01-01 14:14:31 +01:00
Ansgar Becker
d77485160c
Refactor build updater once again:
...
* convert to console application without window, so the user sees all status messages in the order of appearance
* include SysUtils unit, which increases file size to ~2MB, but enhances maintainability
* restrict compilation and resource inclusion to 64bit mode - the build updater is disabled in 32bit mode anyway
2022-12-31 15:06:23 +01:00
Ansgar Becker
6219e928ea
Issue #418 : restart via task scheduler after build update, decreasing privileges to the normal user instead of administrator
2022-12-25 13:18:37 +01:00
Ansgar Becker
f20852aed0
Create project files for Delphi 11.2, with disabled HighEntropyVa setting so the 64bit builds will run without crash.
2022-12-20 19:50:57 +01:00
Ansgar Becker
09e6d1709c
Issue #1616 : force update check to overwrite old HeidiSQL_update.exe in temp directory, once through different file size, and by logic when old one is older than 30 days. Fixes still used old updater with bugs.
2022-11-24 07:54:40 +01:00
Ansgar Becker
4e0747ac27
Issue #1616 ; Fix broken updater code and binaries, by fixing wrong parameter definition of WindowProc and wrong type cast in a SendMessage() call
2022-11-12 19:43:58 +01:00
Ansgar Becker
f110122f40
Prefer CopyFile + DeleteFile over MoveFile, in a second place, where the old binary is backup'd. See issue #1616
2022-11-02 19:40:42 +01:00
Ansgar Becker
42e2db3620
MoveFile() does not work when target directory is a symlink, so we prefer CopyFile + DeleteFile. Closes #1616
2022-06-09 20:50:32 +02:00
Ansgar Becker
dfe3761ee4
Auto-magic modifications on updater project file
2015-03-16 18:57:31 +00:00
Ansgar Becker
9eb7c6cdb5
Request administrator privileges for build updater. Required for 64 bit mode. Fixes issue #3474 .
2013-12-19 05:05:21 +00:00
Ansgar Becker
59dbff06a2
Introduce 64bit builds and 32/64 bit mixed installer
2013-11-13 05:38:44 +00:00
Ansgar Becker
2a7de16792
Fix too long window title for short label.
2011-05-10 22:46:30 +00:00
Ansgar Becker
7147b1dbba
Check only for visibility of member form in updater, so hidden dialogs are counted as successfully closed. Fixes issue #2217 .
2011-05-10 22:45:07 +00:00
Ansgar Becker
f636bf613f
Updater: Repost WM_CLOSE message to host application every 2 seconds. Looks like the first post sporadically gets ignored or blocked if system is busy or whatever. Fixes issue #1739 .
2010-03-06 16:53:26 +00:00
Ansgar Becker
4b88466192
Do not rely on the application's caption text to be "HeidiSQL x.x.x.x" when sending the WM_CLOSE message. Instead, find the exe name of the window and see if that's the one we're aiming to update. Fixes issue #1701 .
2010-02-17 22:45:12 +00:00
Ansgar Becker
a43edc883f
Implement a new external updater tool, stick that updater.exe as resource to the main executable, release and run it when the user clicks "Download build xyz". The updater itself posts WM_CLOSE messages to all Heidi instances, waits until all instances are gone, and then replaces the .exe with the downloaded one, after having copied a backup file to your temp directory.
2010-02-16 23:58:48 +00:00