Inno Setup 添加版权信息

[Setup]
AppCopyright=Copyright (C) 1997-2005 My Company, Inc.

有以上一句,即可在右键 --> Property --> Details 里看见版本信息。

目前没有发现 Inno 自带的可以获取 EXE 版权信息的函数。所以会出现版权信息的字符串,在程序代码里有一份,在 Inno 脚本里又有一份。

还有 VersionInfoCopyright,

Default value: AppCopyright if AppCopyright doesn't include constants, an empty string otherwise
Description:
Specifies the copyright value for the Setup version info.
This setting has no effect if UseSetupLdr is set to no.

原文地址:https://www.cnblogs.com/liujx2019/p/11583428.html