Sign all exe files on Inno Setup Installation
inno-setup
Solution
Use the `sign` or `signonce` flag in the `[Files]` section.
Problem
I have a digital code sign certificate for the executables distributed by my company. We use Inno Setup to make the installation executable, and it has a option to Sign the installer and uninstaller files, but I want to sign all the executable files inside the installer, is it possible using some script in Inno, as a preprocessor task? I think I can use the ISPP to call the `kSign` tool to sign the files using the command `Exec`. How can I call it only for .EXE files in installation? How can I use the key value below in the command line: ``` SignTool=KSign /d $qAPP_NAME-$q /du $qhttp://www.app_site.com.br$q $f ```