Reply to Thread

Post a reply to the thread: Compilation Error on code signing.

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 01-31-2023, 09:09 AM
    linder

    Re: Compilation Error on code signing.

    Rich,

    happens from time to time and in mostly it is caused by a (buggy) virus-definition update -or- the timestamp server itself (overload). What I always do in this case is to switch to another timestamp server.

    Unfortunately, signcode only returns three values: 0 = success and 1 or 2 = failure.

    In the next SetupBuilder 2023 build we have added a function to retrieve the human readable error text from system memory and display it in the compiler window.

    Friedrich
  • 01-30-2023, 05:25 PM
    RichBPL

    Re: Compilation Error on code signing.

    The signtool would only sign one or two files at most last Friday when I tried to build with http://timestamp.comodoca.com.
    I kept doing the build until finally everything got signed.
    I will try the timestamp.digicert.com server next time.
  • 01-27-2023, 05:54 AM
    linder

    Re: Compilation Error on code signing.

    It's very well possible that the timestamp server was/is down or the protection server blocked access to it.

    SignCode Error 2 is caused by an incorrect password, expired certificate or inaccessible timestamp server.

    Friedrich
  • 01-27-2023, 05:14 AM
    David Webber

    Re: Compilation Error on code signing.

    Quote Originally Posted by David Webber View Post
    All of a sudden I'm getting Error 2 on the code-signing step in SetupBuilder 10. ...
    http://timestamp.comodoca.com/authenticode...
    Got it. Thinking further, I realised I hadn't made any changes, so it must be something external, and the time stamp was my immediate suspect.

    I've been using the SetupBuilder 10 drop-down option
    http://timestamp.comodoca.com/authenticode

    and (having seen a recommendation to use comcoda in a previous thread) I'd tried the alternative
    http://timestamp.comodoca.com/rfc3161

    but without success. However I now find that switching to
    http://timestamp.digicert.com

    works!

    Wish I knew what was causing the problem!

    Dave
  • 01-27-2023, 04:26 AM
    David Webber

    Compilation Error on code signing.

    All of a sudden I'm getting Error 2 on the code-signing step in SetupBuilder 10.

    I renewed the code-signing certificate some months ago, and it has been working fine since then, but now, suddenly, it doesn't. I have the path to signtool.exe set, and for the time stamp I'm using

    http://timestamp.comodoca.com/authenticode

    What does 'Error 2' mean?

    David Webber

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •