diff --git a/nsis/gvim.nsi b/nsis/gvim.nsi index 5416a0f886..cb2664c093 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 91ea914243..849676720b 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, /**/