changeset 16674:3c182c550195 v8.1.1339

patch 8.1.1339: installer needs to product name et al. commit https://github.com/vim/vim/commit/dabfde04fe974b444d08715178c619c99c2cdcd8 Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 17 12:37:27 2019 +0200 patch 8.1.1339: installer needs to product name et al. Problem: Installer needs to product name et al. Solution: Add a few lines to the NSIS installer script. (Christian Brabandt)
author Bram Moolenaar <Bram@vim.org>
date Fri, 17 May 2019 12:45:07 +0200
parents a49b12c730e7
children 6d9f696696fe
files nsis/gvim.nsi src/version.c
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nsis/gvim.nsi
+++ b/nsis/gvim.nsi
@@ -173,6 +173,16 @@ Page custom SetCustom ValidateCustom
     !include "lang\tradchinese.nsi"
 !endif
 
+##########################################################
+# Version resources
+
+VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "Vim"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "Vim Developers"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalTrademarks" "Vim"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "Copyright (C) 1996"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "Vi Improved - A Text Editor"
+VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${VER_MAJOR}.${VER_MINOR}.0.0"
+VIProductVersion "${VER_MAJOR}.${VER_MINOR}.0.0"
 
 # Global variables
 Var vim_dialog
--- a/src/version.c
+++ b/src/version.c
@@ -768,6 +768,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1339,
+/**/
     1338,
 /**/
     1337,