Jump to content

Digitally Sign Complied exe via the Run After Compilation


Recommended Posts

Guys, 

Just a quick question. I've been Signing the complied exe after it was complied by opening CMD and typing in my all the criteria to run the signtool. Looking in the SciTE editor, I think I  can do this in one motion as long as I put in the correct params in the Run After section of the Compiler.

Is this a good method and can one of you guys give me a little help on inputing my criteria in that box if it is a good practice.  

 

This is what I input currently into CMD

I do a cd c:\

Then I do one more cd to C:\Program Files (x86)\Windows Kits\8.0\bin\x64> . I'm sure I could do this in the first step. Just habit I guess. 

Once I'm here, I then input my params for signtool

signtool sign /t http://timestamp.comodoca.com/rfc3161 /a C:\myfilelocation\myfile.exe

 

Link to comment
Share on other sites

Give one of these a try.   Use one or the other depending on the bit-ness of your script.  

#AutoIt3Wrapper_Run_After=""%ProgramFiles(x86)%\Windows Kits\8.0\bin\x64\signtool.exe" sign /t http://timestamp.comodoca.com/rfc3161 /a "%out%""

#AutoIt3Wrapper_Run_After=""%ProgramFiles(x86)%\Windows Kits\8.0\bin\x64\signtool.exe" sign /t http://timestamp.comodoca.com/rfc3161 /a "%outx64%""

 

Adam

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...