Installer: Set the publisher and file version
authorSebastian Schuberth <sschuberth@gmail.com>
Sun, 21 Oct 2012 09:37:17 +0000 (21 11:37 +0200)
committerSebastian Schuberth <sschuberth@gmail.com>
Sun, 21 Oct 2012 09:37:17 +0000 (21 11:37 +0200)
Use the same values as in git/git.rc here.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
share/WinGit/install.iss

index ffe4805..e3ce334 100644 (file)
@@ -22,6 +22,7 @@ SolidCompression=yes
 ; Installer-related\r
 AllowNoIcons=yes\r
 AppName={#APP_NAME}\r
+AppPublisher=The Git Development Community\r
 AppPublisherURL={#APP_URL}\r
 AppVersion={#APP_VERSION}\r
 ChangesEnvironment=yes\r
@@ -33,6 +34,11 @@ DisableReadyPage=yes
 InfoBeforeFile=gpl-2.0.rtf\r
 PrivilegesRequired=none\r
 UninstallDisplayIcon={app}\etc\git.ico\r
+#if Pos('-',APP_VERSION)>0\r
+    VersionInfoVersion={#Copy(APP_VERSION,1,Pos('-',APP_VERSION)-1)}\r
+#else\r
+    VersionInfoVersion={#APP_VERSION}\r
+#endif\r
 \r
 ; Cosmetic\r
 SetupIconFile=etc\git.ico\r