[Lazarus] Can Lazarus/FPC sign the created executables (Windows)?

Martin Frb lazarus at mfriebe.de
Tue Sep 24 11:20:26 CEST 2024


On 24/09/2024 09:09, Bo Berglund via lazarus wrote:
> I have run into a problem where certain customers require the applications to be
> "signed" and now I wonder if there is an option somewhere in Lazarus or FPC to
> do that when building an app?
>
> If so how does one go about it?
>
> Googling brings up stuff about Windows SDK etc, but I want to stay with FPC if
> possible....
>
> Has someone here already done this and can share the way to do it?
" Project Options" => "Compiler Commands"

You can use "Execute after" to invoke the "signtool.exe" (can be 
downloaded from Microsoft).
Neither Lazarus, nor Fpc contain the functionality of the signtool (or 
any similar software).

The rest depends on the certificate that you use to sign with. (I.e. 
where/how it is stored/accessed)


More information about the lazarus mailing list