如何从Inno Setup的[Files]部分取消文件签名?

问题描述

我一直在尝试使用证书,并在PYTHONPATH manager部分为文件添加ImportError: DLL load Failed: The specified module Could not be found.标志。现在,所有文件都已使用测试证书签名。有什么方法可以取消对那些文件的签名?

解决方法

您可以使用signtool从文件中删除任何数字签名。

根据this post,您可以执行以下操作:

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