Martijn Laan
ec81524172
Use ISSigFunc to check trust. Works while debugging from Delphi as well. Defining TRUSTALL would only be needed while debugging isscint.dll from VS for example.
...
AllowedPublicKeyText is formatted as a Delphi 12 multiline string literal since I plan to make ISSigTool embed it automatically from issig.bat to avoid complicating the build for others.
2025-04-16 21:13:14 +02:00
Martijn Laan
48357bb6fa
Use TrustedFile before loading ISPP.dll.
2025-04-03 11:37:05 +02:00
Martijn Laan
0759cc7b87
Update for unit split + use TrustedFile before loading ISCmplr.dll.
2025-03-12 22:36:48 +01:00
Martijn Laan
6876665c8a
Use PBKDF2 to get the encryption key. Chose to use 100,000 iterations and a 128-bit salt.
2024-09-27 16:24:48 +02: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
1fb1c0d73b
Projects cleanup.
2024-09-26 11:54:09 +02:00
Martijn Laan
12637b1b70
Merge branch 'sha256-cleanup'
2024-09-26 11:49:49 +02:00
Martijn Laan
ea6f7b69c8
Use SHA256 instead of SHA1 for the password hashing.
2024-09-01 19:46:24 +02:00
Martijn Laan
d9d845ab62
Replace ArcFour with XChaCha20 which also removes iscrypt.dll use.
...
Todo:
-Use a single random base nonce for all files
-Remove/replace various iscrypt use in .iss scripts
-Delete iscrypt.dll on updates
-Update help & whatsnew & web
-Rename TSetupSalt/TSetupNonce?
2024-08-31 22:14:32 +02:00
Martijn Laan
b2df5696ba
Split off more. Compiler.SetupCompiler has the Git history of what was Compiler.Compile.pas (and Compile.pas before that).
2024-08-08 20:14:26 +02:00
Martijn Laan
c8170bf58e
Start work on splitting large Compiler.Compile.pas unit into smaller ones.
2024-08-08 14:23:59 +02:00
Martijn Laan
e5d46b163d
Move shared but self-contained and generally useful units to Components.
2024-08-05 20:52:57 +02:00
Martijn Laan
7d3b4aa85a
Rename/group the compression units. Stop using Compression.Base (Shared.Compress) in Compil32.
2024-08-05 17:25:42 +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
Martijn Laan
b50e481790
A few more renames.
2024-08-04 21:22:03 +02:00
Martijn Laan
e9b6cdb1d6
Compil32. unit scope -> IDE. + ISCmplr. -> Compiler.
2024-08-04 10:25:42 +02:00
Martijn Laan
8da185fed3
Add Shared prefix to the shared files. Todo: double check for unintended changes outside of uses (and some name cleanupfor this + move sources back into Src).
2024-08-03 21:19:08 +02:00
Martijn Laan
bfbe6c4dd0
The unit scope name setting doesnt seem to work fully: either Build works and Compile does not (once an error happens) or the other way around, depending on if the listing in the .dpr has the prefix or not. So stop using the setting. As a benefit this makes it possible to cleanup more names like CompMsgs and CompMsgs2 + not having ISPP.Ispp in unit names + using CompileForm as a unit name.
2024-08-03 17:09:59 +02:00
Martijn Laan
0ed1c288ca
Same for ISCmplr.
2024-08-03 14:00:23 +02:00
Martijn Laan
07b92bc292
Move CompPreprocInt back to the shared files.
2024-07-10 08:57:16 +02:00
Martijn Laan
6aa7cc26bc
Move MD5 and SHA1 as they are components.
2024-07-10 08:15:15 +02:00
Martijn Laan
0d2b4555e5
Cleanup unneeded RedirFunc use by ISCmplr.
2024-07-10 08:00:57 +02:00
Martijn Laan
b0947896df
Move source files unique to a project into a project specific subdir. Only done SetupLdr and ISCmplr so far. Did also fix/clean mixup of ISCmplr and Compil32 messages in the single CompMsgs file. Cannot test compile.bat until later.
2024-07-09 21:55:16 +02:00
Martijn Laan
71bd1134b4
Final cleanup: move the Projects' .res files into a Res folder, allowing us to ignore the unused ones generated by Delphi + making things clearer.
2024-04-03 10:09:12 +02:00
Martijn Laan
23444a8bd9
Update for move + also fix bad unit (Msgs, directly and via InstFunc) and function (InternalError) use by Compil32's CompMsgBoxDesigner and prevent this from happening again.
2024-04-02 16:38:03 +02:00
Martijn Laan
fc3412e535
Update existing references for all and add missing ones to ISCC and SetupLdr, the other 3 still todo.
2024-04-02 12:38:53 +02:00
Martijn Laan
8ebe5eabb1
Merge branch 'main' into novista
2024-03-31 17:05:53 +02:00
Martijn Laan
fdc1ce9856
Don't use SearchPath for our own components as this just makes things harder. Now 'search files' will find our component code, the component files can be opened easily from the project tree, and it's clear which project uses which components.
2024-03-31 17:05:20 +02:00
Martijn Laan
6f6fb3e2e1
Start work on: OS requirements change: Windows Vista is longer supported. Also some cleanup to UNICODE and Delphi3OrHigher IFDEFs in the same places.
2024-03-27 13:23:09 +01:00
Martijn Laan
a8a93211d1
Make it so we can use {$SetPEFlags IMAGE_FILE_RELOCS_STRIPPED} instead of {$SetPEFlags 1}. Move the other directives in the 2 DLLs as well for consistency and cleanup an unneeded Version.inc include.
2024-03-13 00:32:59 +01:00
Martijn Laan
162c235971
More cleanup.
2024-03-09 17:42:29 +01:00
Martijn Laan
643ff162e7
Cleanup res names.
2024-03-09 17:29:31 +01:00
Martijn Laan
f2baacafac
Add ISCmplr.dproj.
2024-03-09 17:01:30 +01:00
Martijn Laan
bface45ca5
New default and built in wizard images.
2021-04-05 21:09:49 +02:00
Martijn Laan
b989123376
Fix CompResUpdate reference.
2020-10-19 21:27:58 +02:00
Martijn Laan
15583c291c
Show preprocessor output also if compiling failed but preprocessing succeeded.
...
Also ISCompileScript cleanup.
2020-08-29 10:25:05 +02:00
Martijn Laan
e9506024ad
Revert "Merge branch 'isdllscanscript' into openincludedfiles"
...
Kept a few cleanup things. Will add a different approach later. Take three :)
2020-08-20 06:37:04 +02:00
Martijn Laan
78aff807d2
Merge branch 'isdllscanscript' into openincludedfiles
...
Did mini tweaks during merge.
2020-08-17 19:53:15 +02:00
Martijn Laan
cfec660b2c
Take two - replaces the earlier branch. This approach works better. First working version, not finished checking/testing it yet. Has some limitations (like it doesn't know about SourceDir from [Setup]) but am fine with those.
2020-08-16 22:26:01 +02:00
Martijn Laan
a93c2c67b9
Cleanup.
2020-08-16 22:05:48 +02:00
Martijn Laan
fbf6ef1603
Various.
2019-01-21 19:19:43 +01:00
Martijn Laan
d34c40eb41
Use {$WEAKLINKRTTI ON}. Saves a lot of size and has no drawbacks it seems. Thanks to DRON.
2018-12-05 19:18:53 +01:00
Martijn Laan
238b774962
Added files
2011-10-06 20:53:09 +02:00