10 Commits

Author SHA1 Message Date
Martijn Laan
028432c711 Revert adding Redir suffixes + TRedir<T>. 2025-05-20 13:35:14 +02:00
Martijn Laan
a1bffc816c
Clarify the name of functions taking a DisableFsRedir parameter but not having the ...Redir name. Especially helps if the call just says False for DisableFsRedir.
Also always set DisableFsRedir to False in InternalExtractTemporaryFile and DownloadTemporaryFile just like it already does for everything else working on the temp dir.
2025-05-19 19:29:09 +02:00
Jordan Russell
974b25887e
Add AppCreateForm wrapper function. 2025-01-02 03:46:28 -06:00
Jordan Russell
aef9408ff2
Clean out remaining showing/hiding of app window, and fix taskbar progress.
The ShutdownBlockReason calls still pass Application.Handle for the window handle. The docs don't say what the handle is used for. Maybe to supply an icon to display with the specified text?
2024-12-15 03:47:17 -06:00
Jordan Russell
9d52a24040
Setup: De-form TMainForm and set MainFormOnTaskBar=True.
Mostly done, I think. Still need to actually remove shWindowVisible etc. Still some Application.Handle references that need to be cleaned out. Still need to update help.

TMainForm still exists, but is no longer a form. Good enough for now.

With Application.MainFormOnTaskBar=True, we now have a working taskbar thumbnail and proper minimize/restore animations. Finally.
2024-12-14 04:44:08 -06:00
Martijn Laan
e955344670
Cleanup Compil32 using Shared.SetupTypes since last july: move the required types (TSetupStep and TUninstallStep) into a new unit instead. 2024-09-27 16:07:30 +02:00
Martijn Laan
c745379b5f
Split main form and main functions+vars. 2024-08-09 08:22:01 +02:00
Martijn Laan
bd49a504c7
Finish. So now the functions which were in InstFunc but were not used by SetupLdr are in a Setup-only unit (Setup.InstFunc) and the rest is in a shared unit (SetupLdrAndSetup.InstFunc). The former has most of the function and has the Git history. The latter appears as a new file. 2024-08-06 19:12:28 +02:00
Martijn Laan
200901c8b0 Reintroduce SetupLdrAndSetup prefix. 2024-08-06 13:54:25 +02:00
Martijn Laan
6db7a31745
Move the sources back into the Src folder now that they have prefixes. Changed the Shared prefix of the files which were in SetupLdrAndSetup to Setup. Todo: the remaining dirs with helper code. 2024-08-05 16:56:18 +02:00