From: Bram Moolenaar Date: Fri, 17 May 2019 10:37:27 +0000 (+0200) Subject: patch 8.1.1339: installer needs to product name et al. X-Git-Tag: v8.1.1339 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dabfde04fe974b444d08715178c619c99c2cdcd8;p=vim 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) --- diff --git a/nsis/gvim.nsi b/nsis/gvim.nsi index 5416a0f88..cb2664c09 100644 --- 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 diff --git a/src/version.c b/src/version.c index 91ea91424..849676720 100644 --- a/src/version.c +++ b/src/version.c @@ -767,6 +767,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1339, /**/ 1338, /**/