+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: code signing

  1. #1
    Unregistered Guest

    Default code signing

    Read through the beach bunny tutorial...got to the point where you open the digital signature tab in SetupBuilder options.....no such tab in v. 8.

    The help screen refers to an spc file - don't have one. All I have is a pvk file and that was one I changed the name on from the firefox backup.

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

    Default Re: code signing

    Hello,

    The Digital Signature tab definitely exists in SetupBuilder 8 See attached screenshot.

    The .spc is the credentials file and you received it after the CA validated your identity and sent the "Your Code Signing Certificate is ready! Thank you for placing your order. The necessary background checks have been successfully completed and we are pleased to announce that your Code Signing Certificate has been issued. To collect your Code Signing Certificate, please click here." email.

    If you have received the certificate in form of a .pvk/.spc then you need both the private key (.pvk) and the credentials file (.spc) to make use of Windows Authenticode. And of course, you can use a .pfx in SetupBuilder.

    Does this help?

    Friedrich
    Attached Images Attached Images  

  3. #3

    Default Re: code signing

    I must have a buggy version. My Options tabs go: File Locations| Languages|Dialog Templates. I'd post a screen shot but I don't think it is allowed.

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

    Default Re: code signing

    No, you definitely have not a buggy SetupBuilder version BTW, screenshots are allowed!

    You have to handle the code-signing stuff in your project! Not in the global IDE Options...

    Please see my previous screenshot: "General Information" -> "Digital Signature".

    And NOT "Tools" | "Options..."

    Does this help?

    Friedrich

  5. #5

    Default Re: code signing

    D'OH....I tried to post again but I lost my connection. Sorry. I found the right window.....I didn't know the OPTIONS window was different from the GENERAL INFORMATION window. Sorry about that.

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

    Default Re: code signing

    Perfect. Thanks for the update!

    Friedrich

  7. #7

    Default Re: code signing

    I used firefox to download....I guess that was a mistake. I followed the instructions on copying it but I ended up with a .pfx file and no .spc file. What do I do know.

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

    Default Re: code signing

    The .PFX is all that you need! SetupBuilder can use both .PVK/.SPC and .PFX.

    1. You need SIGNTOOL.EXE from Microsoft.

    2. Open the IDE and select "Tools" -> "Options..." -> File Locations tab. In the "Signcode.exe or SignTool.exe Location" field, please specify the fully qualified path to SIGNTOOL.EXE file.

    Now open your project and go to "General Information" -> "Digital Signature" -> and select your certificate file (.pfx) in the "PFX File (optional)" field. Enter all required information (including timestamp).

    Compile and you are done

    Friedrich

  9. #9

    Default Re: code signing

    Got it...thanks.....it worked fine once I got all the pieces in place.

    I assume every time I compile an updated version of my setup, my app will be "code-signed" during compilation

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

    Default Re: code signing

    With "my app", do you mean the "setup.exe" or your application file(s)?

    General Information -> Digital Signature -> Add a Digital Signature -> YES will always code-sign your install. The #code-sign application directive lets you add an Authenticode® digital signature to your own application file(s). For example, your own .exe, .dll, .ocx, etc.

    Friedrich

+ 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
  •