我想询问是否可以设置在Windows中右键单击安装文件时显示的“版本号”,然后选择“属性”,然后选择“详细信息”(或“版本”)。
目前它总是为我的文件显示“0.0.0.0”。
谁能帮忙? 非常感谢你!
I would like to ask if it is possible to set the "Version Number" that will be shown when I right-click the setup file in Windows and then select "Properties" and then "Details" (or "Version").
Currently it always shows "0.0.0.0" for my files.
Can anyone help? Thank you very much!
最满意答案
这是您需要设置的VersionInfoVersion指令。 该参考文献将此指令描述为:
指定安装程序版本信息的二进制文件版本值。
下面是这个指令的一个示例用法(但当然,实际上你肯定会更喜欢使用应用程序中的一些版本信息而不是常量):
[Setup] AppName=My Program AppVersion=1.5 DefaultDirName={pf}\My Program VersionInfoVersion=1.2.3.4It is the VersionInfoVersion directive that you need to set. The reference describes this directive as:
Specifies the binary file version value for the Setup version info.
Here is an example usage of this directive (but of course in real you will most certainly prefer to use some version information from your application instead of constant):
[Setup] AppName=My Program AppVersion=1.5 DefaultDirName={pf}\My Program VersionInfoVersion=1.2.3.4更多推荐
发布评论