Singtool error

39 views
Skip to first unread message

Delphi Critic

unread,
Jul 28, 2025, 9:44:36 AMJul 28
to innosetup

if SignTools.Count > 0 then begin
      Filename := SignedUninstallerDir + 'uninst.e32.tmp';
...

issrc/Projects/Src/Compiler.SetupCompiler.pas at bc85563b07dc3dee91418adf5df97320c8942d86 · jrsoftware/issrc

 try
        Sign(Filename);
        if not InternalSignSetupE32(Filename, UnsignedFile, UnsignedFileSize,
           SCompilerSignedFileContentsMismatch) then
          AbortCompile(SCompilerSignToolSucceededButNoSignature);
      finally
        DeleteFile(Filename); // <-- file gets deleted here.
      end;

This file gets deleted. Can you change the extension or fix the code?



Gavin Lambert

unread,
Jul 28, 2025, 8:34:12 PMJul 28
to innosetup
On Tuesday, July 29, 2025 at 1:44:36 AM UTC+12 Delphi Critic wrote:
This file gets deleted. Can you change the extension or fix the code?

There is no error there.  That is just a temporary file that is no longer required after that point.

What is the actual problem you are experiencing? 
Reply all
Reply to author
Forward
0 new messages