comparison src/dosinst.c @ 18174:1ec6539cef68 v8.1.2082

patch 8.1.2082: some files have a weird name to fit in 8.3 characters Commit: https://github.com/vim/vim/commit/30e8e73506e4522ef4aebf7d525c0e6ffe8805fd Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 27 13:08:36 2019 +0200 patch 8.1.2082: some files have a weird name to fit in 8.3 characters Problem: Some files have a weird name to fit in 8.3 characters. Solution: Use a nicer names.
author Bram Moolenaar <Bram@vim.org>
date Fri, 27 Sep 2019 13:15:03 +0200
parents fc58fee685e2
children 3a68dc2a1bc1
comparison
equal deleted inserted replaced
18173:f046fb05b08f 18174:1ec6539cef68
12 * 12 *
13 * Compile with Make_mvc.mak, Make_cyg.mak or Make_ming.mak. 13 * Compile with Make_mvc.mak, Make_cyg.mak or Make_ming.mak.
14 */ 14 */
15 15
16 /* 16 /*
17 * Include common code for dosinst.c and uninstal.c. 17 * Include common code for dosinst.c and uninstall.c.
18 */ 18 */
19 #define DOSINST 19 #define DOSINST
20 #include "dosinst.h" 20 #include "dosinst.h"
21 #include <io.h> 21 #include <io.h>
22 22
1684 #endif 1684 #endif
1685 ); 1685 );
1686 1686
1687 /* For the NSIS installer use the generated uninstaller. */ 1687 /* For the NSIS installer use the generated uninstaller. */
1688 if (interactive) 1688 if (interactive)
1689 sprintf(uninstall_string, "%s\\uninstal.exe", installdir); 1689 sprintf(uninstall_string, "%s\\uninstall.exe", installdir);
1690 else 1690 else
1691 sprintf(uninstall_string, "%s\\uninstall-gui.exe", installdir); 1691 sprintf(uninstall_string, "%s\\uninstall-gui.exe", installdir);
1692 1692
1693 sprintf(icon_string, "%s\\gvim.exe,0", installdir); 1693 sprintf(icon_string, "%s\\gvim.exe,0", installdir);
1694 1694
1960 if (build_shortcut("gVim Diff", "gvim.exe", "-d", 1960 if (build_shortcut("gVim Diff", "gvim.exe", "-d",
1961 VIM_STARTMENU, WORKDIR) == FAIL) 1961 VIM_STARTMENU, WORKDIR) == FAIL)
1962 return; 1962 return;
1963 } 1963 }
1964 if (build_shortcut("Uninstall", 1964 if (build_shortcut("Uninstall",
1965 interactive ? "uninstal.exe" : "uninstall-gui.exe", "", 1965 interactive ? "uninstall.exe" : "uninstall-gui.exe", "",
1966 VIM_STARTMENU, installdir) == FAIL) 1966 VIM_STARTMENU, installdir) == FAIL)
1967 return; 1967 return;
1968 /* For Windows NT the working dir of the vimtutor.bat must be right, 1968 /* For Windows NT the working dir of the vimtutor.bat must be right,
1969 * otherwise gvim.exe won't be found and using gvimbat doesn't work. */ 1969 * otherwise gvim.exe won't be found and using gvimbat doesn't work. */
1970 if (build_shortcut("Vim tutor", "vimtutor.bat", "", 1970 if (build_shortcut("Vim tutor", "vimtutor.bat", "",