Inno Setup - Signing fails with "Sign tool error with exit code 0x1"

I have an Inno Setup script where I need to use SignTool=signtool

that is configured correctly and has worked in the past.

enter image description here

But it fails when I try to compile the following error:

Sign tool crashes with code 0x1.

enter image description here

+1


source to share


1 answer


You have not provided us with any information that we can use to debug your problem.

So, I am posting general instructions for debugging problems with the "sign tool".

  • Try the command line compiler ( ISCC.exe

    )
    . It will save the complete error message signtool.exe

    in the output:

    enter image description here

  • Or temporarily prefix the command with a c cmd.exe /k

    to keep your output even when compiled in the Inno Setup GUI compiler. For example:.

    cmd.exe /k C:\path\to\signtool.exe sign /f C:\mykey.pfx $f
    
          

    enter image description here




See also signtool error setting Inno with exit code 0x1 .

+3


source







All Articles