Skip to content

Commit ad2b08d

Browse files
committed
fix installer's Product Version inconsistency with older versions
Why: Third-party applications or IT tools must be able to know if the latest Git version is installed on the system by means of version number comparisons. How: Remove platform identifier from the Product Version. Product Version now displays x.x.x.x instead of x.x.x.windows.x See git-for-windows/git#2223 Remarks: Project's binaries Product Version are unchanged by this commit (only the installer's one) Git internal versioning is left untouched ; 'git version' still returns x.x.x.windows.x (this commit addresses versioning issue from the OS point of view so the installer executable is the only file affected by this commit) Signed-off-by: Audric Guerin <[email protected]>
1 parent 581ebf9 commit ad2b08d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

installer/install.iss

+1-3
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,14 @@ SignTool=signtool
5050
#endif
5151

5252
#define FILE_VERSION GetFileVersion(SOURCE_DIR+'\'+MINGW_BITNESS+'\bin\git.exe')
53-
#define PROD_VERSION GetStringFileInfo(SOURCE_DIR+'\'+MINGW_BITNESS \
54-
+'\bin\git.exe', 'ProductVersion')
5553

5654
; Installer-related
5755
AllowNoIcons=yes
5856
AppName={#APP_NAME}
5957
AppPublisher=The Git Development Community
6058
AppPublisherURL={#APP_URL}
6159
AppSupportURL={#APP_CONTACT_URL}
62-
AppVersion={#PROD_VERSION}
60+
AppVersion={#APP_VERSION}
6361
ChangesAssociations=yes
6462
ChangesEnvironment=yes
6563
CloseApplications=no

0 commit comments

Comments
 (0)