Is it possible in Inno Setup to sign the Uninstaller and Installer with sha1 and sha256 at the same time?
I know that it is possible to sign the Executable with both certs via command tool, but want to know if this is possible to achieve with SignTool
in Inno.
Autoanswer...
Yes, this is possible. As @Wosi suggested you can write a batch and then call it with
$f
parameter added.Sample batch (signtool.bat):
Then in Inno Setup you can call
signtool.bat $f
where$f
will be passed to%1
for the batch.For Windows XP compatibility for sha1: removed
/as
,/tr
replaced with/t
, removed/td
(as it requires/tr
)I will leave it here as maybe someone could find it helpful.