diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-18 22:33:56 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-18 22:33:56 +0200 |
commit | 16d79a3b621e5aa21a3ec50ba4c3bfc522a3a7b3 (patch) | |
tree | d894705e8d00e791bf4c3c069c05ac32d4763ad4 | |
parent | 4d32c2d31f87756d928ba53ef8042293bda9d109 (diff) | |
download | vim-git-16d79a3b621e5aa21a3ec50ba4c3bfc522a3a7b3.tar.gz |
Fix: MS-Windows installer used wrong path for uninstaller key.
-rw-r--r-- | runtime/doc/todo.txt | 2 | ||||
-rw-r--r-- | src/dosinst.c | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index e80ec5fc0..46dd1a19a 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1089,8 +1089,6 @@ Patch to support horizontal scroll wheel in GTK. Untested. (Bjorn Winckler, Before (beta) release 7.3: - Documentation for Python 3 support. -- MS-Windows uninstaller looks for wrong executable: - "ool\vimfiles\syntaxuninstall-gui.exe". Before release 7.3: - Rename vim73 branch to default (hints: Xavier de Gaye, 2010 May 23) diff --git a/src/dosinst.c b/src/dosinst.c index 0923cf78f..ef41081ef 100644 --- a/src/dosinst.c +++ b/src/dosinst.c @@ -1525,7 +1525,6 @@ install_registry(void) const char *vim_ext_ThreadingModel = "Apartment"; const char *vim_ext_name = "Vim Shell Extension"; const char *vim_ext_clsid = "{51EEE242-AD87-11d3-9C1E-0090278BBD99}"; - char buf[BUFSIZE]; char vim_exe_path[BUFSIZE]; char display_name[BUFSIZE]; char uninstall_string[BUFSIZE]; @@ -1571,12 +1570,12 @@ install_registry(void) if (interactive) { sprintf(display_name, "Vim " VIM_VERSION_SHORT); - sprintf(uninstall_string, "%suninstal.exe", buf); + sprintf(uninstall_string, "%s\\uninstal.exe", installdir); } else { sprintf(display_name, "Vim " VIM_VERSION_SHORT " (self-installing)"); - sprintf(uninstall_string, "%suninstall-gui.exe", buf); + sprintf(uninstall_string, "%s\\uninstall-gui.exe", installdir); } lRet = register_uninstall( |