Reply to Thread

Post a reply to the thread: Enter pfx password during compile time with signtool

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)

  • 11-22-2013, 01:44 AM
    linder

    Re: Enter pfx password during compile time with signtool

    Hi Martin,

    You are welcome.

    Have a great weekend.

    Friedrich
  • 11-22-2013, 01:37 AM
    Martin

    Re: Enter pfx password during compile time with signtool

    Hello Friedrich,


    thanks for your response. The explanation helped me a lot and satisfies my requirements completely.


    I knew that SignTool does not pop up a password dialog. But I was hoping that SetupBuilder does.

    Well, now it does :-)


    Thanks,
    Martin
  • 11-21-2013, 10:19 AM
    linder

    Re: Enter pfx password during compile time with signtool

    Martin,

    The Microsoft SignTool.exe does not display any password dialog (that is by Microsoft design) in command line mode.

    You can do the following (see attached screenshots).

    1. Create a [PFX_PASSWORD] compiler variable and enable the SKU Management Configuration option.

    2. In General Information -> Digital Signature, enter [PFX_PASSWORD] as password.

    Compile and the IDE will ask for the .pfx password.

    Does this help?

    Friedrich
  • 11-21-2013, 09:12 AM
    Martin

    Enter pfx password during compile time with signtool

    Hello,


    I am not sure if this is an configuration issue or if this simply does not work.

    I got a renewed certificate in form of a pfx file. This file works great for signing my device drivers.

    So far I used a combination of pvk, spc and signcode where I was able to enter the password during compile time of the setup.

    I removed the pvk and spc from my project added the pfx and after running into the well known "file not found" error changed signcode to signtool (ddk version).


    If I enter the password in the "Settings/Digital Signature" dialog I am able to build a signed installer. If I remove the password I get a compiler error :

    Adding Digital Certificate to Uninstall...
    SIGNTOOL
    Compiler error GEN1053: Code signing process failed. Error Code: 1


    I have no clue on how and where the password in the dialog is stored and I would prefer to enter such an important password during compile time.


    Is this possible with Setup Builder 8 [Developer Edition] and Signtool ?




    Thanks,
    Martin

Posting Permissions

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