none
Sign multiple files

    Question

  • Hello all,

    Just have a question:

     - How can we sign for multiple files with signtool.exe at once with the same certificate?

    Please advise,

    Thanks.

    Wednesday, June 20, 2012 4:41 PM

Answers

  • I think I found out the root cause. Solution is not use the separator "|" just use blank space in command: 

    signtool.exe sign /f cert.p12 /p certpassword filename1.dll filename2.dll

    Is it correct?

    • Marked as answer by cplusplusdev Monday, June 25, 2012 4:58 AM
    Thursday, June 21, 2012 9:16 AM

All replies

  • Can you provide some additional context?

    The documentation seems to indicate that the files to be signed are to be entered as the last arguments to signtool.exe.

       http://msdn.microsoft.com/en-us/library/8s9b9yaz(v=vs.100).aspx

    Sincerely,


    Ed Dore

    Wednesday, June 20, 2012 8:54 PM
    Moderator
  • I also think the file_name in command indicate that can be for multiple files. However, when I specify file names with separator "|" i got the error message "Find not found". command likes this:

    signtool.exe sign /f cert.p12 /p certpassword filename1.dll|filename2.dll

    Is the command wrong?

    Thanks,


    Thursday, June 21, 2012 8:02 AM
  • I think I found out the root cause. Solution is not use the separator "|" just use blank space in command: 

    signtool.exe sign /f cert.p12 /p certpassword filename1.dll filename2.dll

    Is it correct?

    • Marked as answer by cplusplusdev Monday, June 25, 2012 4:58 AM
    Thursday, June 21, 2012 9:16 AM
  • Yes, it is correct. I have tried it.
    Monday, June 25, 2012 4:58 AM
  • thanks all.
    Monday, June 25, 2012 4:58 AM