+ Reply to Thread
Results 1 to 4 of 4

Thread: SB6 to SB7 Digital Certificate Not Found

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default SB6 to SB7 Digital Certificate Not Found

    Hi,

    I am updating a setup builder project from SB6 to SB7. The project referenced expired digital certificates that were no longer available, so the compiler rightly gave 'File not found' errors. I selected the right certificate files and passkey but still got the error. I turned off the Add Digital Certificate as a test, but the compiler is still giving the same File not Found , Code Signing failed errors.

    The script looks OK, no reference to digital certificates or code signing. It seems like the compiler is still using the original converted source file, rather than a new one with the changes.

    Any suggestions? Many thanks.

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: SB6 to SB7 Digital Certificate Not Found

    Hello,

    Please post a compiler window screenshot (or use File | Save Compiler Output to File... and post the report) and we can tell you where you have the wrong link in place.

    And make sure you are using the correct code-signing utility (Tools | Options... | File Locations). For example, you have to use SIGNTOOL.EXE if you have a .PFX to code-sign your files. SIGNCODE.EXE is only for .SPC/.PVK.

    And you said that turning off the "Add Digital Certificate" feature still results in a code-sign error. So I assume that you are using "#code-sign application" compiler directives to code-sign your own files and this fails.

    Does this help?

    Friedrich

  3. #3
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: SB6 to SB7 Digital Certificate Not Found

    BTW, this is an interesting "How To Code-Sign" paper:

    http://www.lindersoft.com/CodeSign.pdf

    Friedrich

  4. #4

    Default Re: SB6 to SB7 Digital Certificate Not Found

    Thanks for the offer to check the script.

    I found the problem was there were two code signing operations, one for the setup file and one for the exe in the setup. Changing the certificate information or turning off code signing in Project Definitions/General Information has not effect on the code signing directive for the exe, and vice-versa.

    Thanks anyway.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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