Sign multiple files
-
Wednesday, June 20, 2012 4:41 PM
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.
All Replies
-
Wednesday, June 20, 2012 8:54 PMModerator
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
Ed Dore
-
Thursday, June 21, 2012 8:02 AM
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,
- Edited by cplusplusdev Thursday, June 21, 2012 8:03 AM
-
Thursday, June 21, 2012 9:16 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
-
Monday, June 25, 2012 4:58 AMYes, it is correct. I have tried it.
-
Monday, June 25, 2012 4:58 AMthanks all.

