summaryrefslogtreecommitdiff
path: root/src/dosinst.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-08-18 19:04:37 +0200
committerBram Moolenaar <Bram@vim.org>2018-08-18 19:04:37 +0200
commit9bc1eac2c75d8440c68f305302bc5bdef515f489 (patch)
tree6bd3a4bab3f84da64faf252546c0685248873055 /src/dosinst.c
parent81f56536b1bc324eb173924a8cf4d7dbbf4f3fdb (diff)
downloadvim-git-9bc1eac2c75d8440c68f305302bc5bdef515f489.tar.gz
patch 8.1.0292: MS-Windows: the text "self-installing" confuses some usersv8.1.0292
Problem: MS-Windows: the text "self-installing" confuses some users. Solution: Remove the text from the uninstall entry. (closes #3337)
Diffstat (limited to 'src/dosinst.c')
-rw-r--r--src/dosinst.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/dosinst.c b/src/dosinst.c
index 64edbbdae..182546e88 100644
--- a/src/dosinst.c
+++ b/src/dosinst.c
@@ -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,