Search code examples
certificateinno-setupsigntool

How can I unsign files from the [Files] section in Inno Setup?


I've been experimenting with certificates and added the sign flag for my files in the [Files] section. Now all the files are signed with the test certificate. Is there a way to unsign those files?


Solution

  • You may use signtool to remove any digital signature from files.

    Accordingly to this post you can do:

    signtool remove /s C:\path\to.exe.or.dll