I created a 7-zip self-extracting archive with a size of 4,37GB. When I use the signtool (tried already the 64-bit and 32-bit variant), it failed to sign this file.
I got the errors: SignTool error: This file format cannot be signed because it is not recognized. SignTool Error: An error occurred while attempting to sign: <7zip_selfextract.exe>
When I create in the same way via 7zip an self-extracting archive that is smaller then 4GB, the signing happens without any problems.
Anyone knowing about file size limitations in the signtool or ran against the same issue?