문제

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!

도움이 되었습니까?

해결책

It 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
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top