How to automize multiple projects build process by including digital signature of exe in Delphi?

Posted by user193655 on Stack Overflow See other posts from Stack Overflow or by user193655
Published on 2010-05-13T07:38:20Z Indexed on 2010/05/13 7:44 UTC
Read the original article Hit count: 346

After building a project group of 2 projects with Delphi (2009) I digitally sign the 2 exes using InstallAware Code signing, an exe that shipped with Delphi 2009.

How is it possible to automize the digital signature, so when I build I can also attach digital signature.

For digital signing I use a pvk (private key) file and an spc (Sw publisher certificate) file.

Subquestion: Moreover I created a project group because I have 2 exes, but they are almost the same, the only thing that changes is the Application icon and the application name (one is ProductOne.dpr, the other is ProductTwo.dpr).

In practice I have 2 brands of the same product, I have a single build but activation keys details activate one or the other, anyway now I was asked to change the icon and the filename, and for this I need to build 2 projects, activation key is not enough anymore to distinguish between the 2. Anyway if there is a way to do this from a single project it would be better.

© Stack Overflow or respective owner

Related posts about delphi

Related posts about build-automation