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
$fparameter added.Sample batch (signtool.bat):
Then in Inno Setup you can call
signtool.bat $fwhere$fwill be passed to%1for the batch.For Windows XP compatibility for sha1: removed
/as,/trreplaced with/t, removed/td(as it requires/tr)I will leave it here as maybe someone could find it helpful.