annotate uninstal.txt @ 10214:3a6b2d4c71d6 v8.0.0007

commit https://github.com/vim/vim/commit/bbe917d9d465a66a29e38879c7f66df51b0b0dc3 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 21 22:41:24 2016 +0200 patch 8.0.0007 Problem: Vim 7.4 is still mentioned in a few places. Solution: Update to Vim 8. (Uncle Bill, closes https://github.com/vim/vim/issues/1094)
author Christian Brabandt <cb@256bit.org>
date Wed, 21 Sep 2016 22:45:04 +0200
parents 6ec6b7ff2d43
children 222b1432814e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 Uninstalling Vim on Dos and MS-Windows.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 There are three ways to remove Vim:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 1. With the GUI uninstaller.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 This is only available when Vim was installed with the self-installing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 executable. This has a minimal number of questions. It can delete
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 everything that was installed. This also unregisters the VisVim.dll
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 2. With uninstal.exe.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 This removes most installed items, but does not delete the files you
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 unpacked.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 3. By hand.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 This is a bit more work, but you can decide exactly what you want to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 remove. For uninstalling the "Edit with Vim" popup menu entry you still
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 have to use uninstal.exe.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 It's recommended to use the method that matches with how you installed Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 Thus if you installed Vim by hand, deleted it by hand.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 The first two methods should be available from the Add/Remove software window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 and the Vim entry in the Start menu. If these have been removed already, find
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 "uninstall-gui.exe" or "uninstal.exe" in the Vim directory.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 Running these programs should be self-explanatory. Carefully read the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 messages to avoid deleting something you want to keep.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 Here are guidelines for removing Vim by hand:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 1. Remove the "Edit with Vim" popup menu entry, if it exists. This will only
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 be on MS-Windows 95/98/NT. This is done by running the uninstal.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 program. It removes the registry entries for the "Edit with Vim" popup
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 menu entry. You only need to run uninstal.exe when you have installed the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 menu entry. You can also run uninstal.exe from the Control panel with the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 Add/Remove programs application.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 Note that uninstal.exe offers you to uninstal other items. You can skip
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 this.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 2. Only if you have used the OLE version of gvim: Remove the registration of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 this program by running "gvim -unregister" in a console window.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 3. Delete the executables. If you copied the executables to another location,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 you will have to delete them from where you copied them to. If you don't
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 remember where they are, look in the directories from the $PATH environment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 variable.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 If you created .bat files when installing Vim, also search for vim.bat,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 gvim.bat, etc.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 4. If you completely want to delete vim, and are not going to install another
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 version, you can delete the vimrc files that you created. These are
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 normally located in a directory like "C:\vim". If the $VIM environment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 variable is set, it will tell the name of the directory. Normally you can
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 delete everything in this directory. Warning: You might have put some
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 files there that you would like to save. If you did remove it all, you can
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 skip the next step.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 5. Delete the distributed files. If you followed the directions, these will
10214
3a6b2d4c71d6 commit https://github.com/vim/vim/commit/bbe917d9d465a66a29e38879c7f66df51b0b0dc3
Christian Brabandt <cb@256bit.org>
parents: 5146
diff changeset
58 be located in a directory like "C:\vim\vim80". If the $VIM environment
3a6b2d4c71d6 commit https://github.com/vim/vim/commit/bbe917d9d465a66a29e38879c7f66df51b0b0dc3
Christian Brabandt <cb@256bit.org>
parents: 5146
diff changeset
59 variable is set, the directory will be $VIM\vim80. Delete the "vim80"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 directory and all that is in it. Warning: If you changed any of the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 distributed files, or added some of your own files, you might want to save
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 these first. But normally you would not have changed or added files here.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 6. Remove setting the $VIM and $VIMRUNTIME environment variable and adjust
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 $PATH. $VIM only needs to be removed if you are not going to install
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 another version of Vim. $VIMRUNTIME is mostly not set. Check if $PATH
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 contains the path of the vim directory. Note that $PATH may be set in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 several places, you will have to find the right one, and only delete the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 Vim path from it. You can most likely find the lines that set $PATH, $VIM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 and/or $VIMRUNTIME in C:\autoexec.bat. Under Windows NT you might need to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 use the "System Properties" editor to change the environment variables, if
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 they are not in the C:\autoexec.bat file. You can start it by selecting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 Start/Settings/Control Panel and then "System".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 7. If you added a Vim entry in the start menu, delete it.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 8. If you created icons for Vim on the desktop, delete them.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 Vim does not use .ini files. The above should remove all Vim files, except
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 the ones that you moved elsewhere yourself.