summaryrefslogtreecommitdiff
path: root/nsis
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-05-17 12:37:27 +0200
committerBram Moolenaar <Bram@vim.org>2019-05-17 12:37:27 +0200
commitdabfde04fe974b444d08715178c619c99c2cdcd8 (patch)
treee8b12bfeb503b70873b9e5866b13caf0762d6156 /nsis
parent0ebe12be86d9f79bfa833306a0302a68a0f4fc30 (diff)
downloadvim-git-dabfde04fe974b444d08715178c619c99c2cdcd8.tar.gz
patch 8.1.1339: installer needs to product name et al.v8.1.1339
Problem: Installer needs to product name et al. Solution: Add a few lines to the NSIS installer script. (Christian Brabandt)
Diffstat (limited to 'nsis')
-rw-r--r--nsis/gvim.nsi10
1 files changed, 10 insertions, 0 deletions
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