问题
In past i had other code signing which worked with innoSetup. But recently i purchased EV code signing for three year which is USB token certificate.
when i do manually without InnoSetup it works.
how do i do it with innosetup?
I tried following but it always failed.
[Setup]
...
SignTool=signtool
EDIT: dialogin window keep asking press ok or cancel, when i click ok it keeps repeating.
回答1:
You're not specifying the correct location for the signtool.exe. When you run it manually, it is in c:\Users\tpt\Desktop\\github\CERTIFICATE\certificate\software. In your InnoSetup, you're pointing to c:\Users\tpt\Desktop\innosetup\software. You need to change the signtools setting in InnoSetup to point to the correct location.
来源:https://stackoverflow.com/questions/49470660/innosetup-fails-to-use-global-sign-ev-code-signing