Install the Windows file version for the settings file created by Inno Setup

I would like to ask if it is possible to set the “Version Number”, which will be displayed when I right-click the installation 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!

+8
inno-setup
source share
1 answer

This is the VersionInfoVersion directive that you must install. The link describes this directive as:

Defines the binary version value for installation version information.

Here is an example of using this directive (but, of course, in reality, you will certainly prefer to use some version information from your application instead of a constant):

 [Setup] AppName=My Program AppVersion=1.5 DefaultDirName={pf}\My Program VersionInfoVersion=1.2.3.4 
+16
source share

All Articles