]> granicus.if.org Git - vim/commitdiff
patch 8.1.0292: MS-Windows: the text "self-installing" confuses some users v8.1.0292
authorBram Moolenaar <Bram@vim.org>
Sat, 18 Aug 2018 17:04:37 +0000 (19:04 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 18 Aug 2018 17:04:37 +0000 (19:04 +0200)
Problem:    MS-Windows: the text "self-installing" confuses some users.
Solution:   Remove the text from the uninstall entry. (closes #3337)

src/dosinst.c
src/version.c

index 64edbbdae4825abe2b8875dfd447a86a56834197..182546e885d362a8156bd26305bf547b683a96e6 100644 (file)
@@ -1575,18 +1575,13 @@ install_registry(void)
     }
 
     printf("Creating an uninstall entry\n");
+    sprintf(display_name, "Vim " VIM_VERSION_SHORT);
 
     /* For the NSIS installer use the generated uninstaller. */
     if (interactive)
-    {
-       sprintf(display_name, "Vim " VIM_VERSION_SHORT);
        sprintf(uninstall_string, "%s\\uninstal.exe", installdir);
-    }
     else
-    {
-       sprintf(display_name, "Vim " VIM_VERSION_SHORT " (self-installing)");
        sprintf(uninstall_string, "%s\\uninstall-gui.exe", installdir);
-    }
 
     lRet = register_uninstall(
        HKEY_LOCAL_MACHINE,
index 56ab4182d7028c41228015d897a1039c707a4e8f..f91dd9b8a94b14af0bd5b00e3cfe6293e1a1a31a 100644 (file)
@@ -794,6 +794,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    292,
 /**/
     291,
 /**/