Fix: MS-Windows installer used wrong path for uninstaller key.

This commit is contained in:
Bram Moolenaar
2010-07-18 22:33:56 +02:00
parent 4d32c2d31f
commit 16d79a3b62
2 changed files with 2 additions and 5 deletions

View File

@ -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)

View File

@ -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(