Announcement

Collapse
No announcement yet.

Error 4303 Execute program error executing code signing tool - 14001 (0)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error 4303 Execute program error executing code signing tool - 14001 (0)

    Hello,

    I can't compile my setup with a new and valide code signing certificate.
    My signtool.exe is from SDK 10.0.16299
    Can you help me?

    > Signing with SHA-256...
    > Signing command: "C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x64\signtool.exe" sign /f "C:\Données\7solution\05 Installations\7sauvegarde\cert_comodo.p12" /p "****" /fd sha256 /tr "http://timestamp.comodoca.com/?td=sha256" /td sha256 "C:\Users\7solution Info\AppData\Local\Temp\_ir_sf_build_0\ir_tmp_rtm. tmp"
    Error 4304: Execute program error executing code signing tool - 14001 (0)
    Attached Files

  • #2
    Hello, thank you for the full build log. I was hoping to see an explanation for the error code, but it looks as the signtool itself might be not working.

    Please, open a cmd prompt and navigate to the folder where you have the signtool executable. There, run the signtool.exe without any arguments, and see if the tool works. Of course you should get an error about missing parameters, but the tool itself should run and produce output, like this:

    Click image for larger version

Name:	image_13037.png
Views:	331
Size:	5.8 KB
ID:	299791

    However, what might be happening, is that the tool you use is not working at all, like this:

    Click image for larger version

Name:	image_13038.png
Views:	279
Size:	3.1 KB
ID:	299792

    In this case, you first must make sure that you do not have any installation issues with the environment. Also, you may want to run the x86 version and see if this works better. Finally, if you have a "signtool.exe.manifest" file in the folder, try to rename it to "_signtool.exe.manifest" and execute again.

    Please let me know the results.

    Ulrich
    Last edited by Ulrich; 03-20-2018, 07:05 AM.

    Comment


    • #3
      Hello,
      thank you Ulrish for informations.

      Signtool.exe is working well like your printscreen.
      I have follow your indications but now have a new log.
      Send you my code sign page configuration on setup factory 9.5

      Attached Files

      Comment


      • #4
        You are having issues with the signtool. I suggest that you use version 6.3.9600, which is known to work properly, and once you can sign on the command line, it will also work when invoked from Setup Factory.

        Ulrich

        Comment


        • #5
          Thank you

          I download SDK 6.3.9600 from W8.1 and have try again. X64 and X86

          > Signing with SHA-256...
          > Signing command: "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\signtool.exe" sign /f "C:\signtool\cert_comodo.p12" /p "****" /fd sha256 /tr "http://timestamp.comodoca.com/?td=sha256" /td sha256 "C:\Users\7solution Info\AppData\Local\Temp\_ir_sf_build_0\ir_tmp_rtm. tmp"
          Error information: "Error: Store::ImportCertObject() failed." (-2146885630/0x80092002) ???

          SignTool Error: An unexpected internal error has occurred.

          Error 4304: Execute program error executing code signing tool - 0 (1)

          Comment


          • #6
            As I hinted at before, you are having issues with signtool, not with Setup Factory. As long as you cannot sign a file at the command line, you also will receive errors during the build in Setup Factory. You will first need to have a working environment, and then you can use the product to sign your installers.

            Ulrich

            Comment

            Working...
            X
            😀
            🥰
            🤢
            😎
            😡
            👍
            👎