Signing a Windows installer (.exe) for application created using Electron

一个人想着一个人 提交于 2019-12-06 02:28:47

You primarily have to sign the installer.

For that, set the Inno Setup SignTool directive. See the directive documentation.


Though once you have a certificate and everything, sign the (electron) application itself too.

Inno Setup compiler can do this for you. You do not have to manually sign the .exe yourself before packaging.

Just set the sign (or signonce) flag in the [Files] section entry for the .exe:

Source: "MyProg.exe"; DestDir: "{app}"; Flags: sign
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!