Signing with signtool.exe

Signing an Executable

Here is the command line call I use when signing an executable:

"C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin\signtool.exe" sign /f "C:\MY_CODE_SIGNING.PFX" /t http://timestamp.comodoca.com/authenticode /v /p MY_PASSWORD "Z:\path\to\my\application.exe"

Once the executable has been signed a Digital Signatures tab will appear in the file properties window.

Signing an Executable

When to Sign Executables

You will need to sign your LiveCode executables every time you create a new one using the Standalone Builder.

2 Comments

Devin Asay

I used this command line call successfully on Windows 10 with a digicert certificate:

"C:\Program Files (x86)\Windows Kits\10\bin\x86\signtool.exe" sign /f "C:\Path\To\Cert.pfx" /tr http://timestamp.digicert.com /td sha256 /v /p PASSWORD_HERE "C:\Path\To\Application.exe"

Taurus

Hallo,

Very big great thanks for this perfect HowTo!!!

I have an Update on the command for getting it valid for Win 8+

signtool.exe sign /f MyCert.pfx /p /fd sha256 /tr http://timestamp.comodoca.com/?td=sha256 /td sha256 /as /v foo.exe

Source: https://support.comodo.com/index.php?/Knowledgebase/Article/View/1102/38/code-signing-certificates---sha-1-and-sha-256-information

Add your comment

E-Mail me when someone replies to this comment