Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Signing (in Inno Setup) with SignTool fails with "SignTool Error: Invalid command: /d"

I had to replace my C drive and I just set up Inno Setup sign tools again.

My signtool value is:

"C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\signtool.exe" $p

It was failing so I tried at the command line:

"C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\signtool.exe" /d "xxx" /du "https://www.publictalksoftware.co.uk" /f "xxx" /p "xxx" /t "http://timestamp.digicert.com" /v "xxx"

And it tells me that:

SignTool Error: Invalid command: /d

like image 819
Andrew Truckle Avatar asked Dec 04 '25 14:12

Andrew Truckle


1 Answers

Sorted. My Inno definition needed to be:

"C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\signtool.exe" sign $p

I was missing the sign prefix.

like image 132
Andrew Truckle Avatar answered Dec 09 '25 21:12

Andrew Truckle



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!