Skip to content

Commit d2ec51f

Browse files
committed
patch 8.1.0558: some MS-Windows instructions are outdated
Problem: Some MS-Windows instructions are outdated. Solution: Update the uninstall instructions and the NSIS README. (Ken Takata, closes #3614) Also update remark about diff.exe.
1 parent 5378e1c commit d2ec51f

3 files changed

Lines changed: 20 additions & 19 deletions

File tree

nsis/README.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ To build the installable .exe:
1515
vimrun.exe,
1616
install.exe,
1717
uninstal.exe,
18+
tee/tee.exe,
1819
xxd/xxd.exe,
1920

2021
Then execute tools/rename.bat to rename the executables. (mv command is
@@ -29,14 +30,15 @@ To build the installable .exe:
2930
4. Go to the VisVim directory and build VisVim.dll (or get it from a binary
3031
archive).
3132

32-
5. Go to the OleVim directory and build OpenWithVim.exe and SendToVim.exe (or
33-
get them from a binary archive).
34-
35-
6. Get a "diff.exe" program and put it in the "../.." directory (above the
36-
"vim80" directory, it's the same for all Vim versions).
33+
5. Get a "diff.exe" program. If you skip this the built-in diff will always
34+
be used (which is fine for most users). If you do have your own
35+
"diff.exe" put it in the "../.." directory (above the "vim81" directory,
36+
it's the same for all Vim versions).
3737
You can find one in previous Vim versions or in this archive:
3838
http://www.mossbayeng.com/~ron/vim/diffutils.tar.gz
39-
Also put winpty32.dll and winpty-agent.exe there.
39+
40+
6 Also put winpty32.dll and winpty-agent.exe in "../.." (above the "vim81"
41+
directory). This is required for the terminal window.
4042

4143
7. Do "make uganda.nsis.txt" in runtime/doc. This requires sed, you may have
4244
to do this on Unix. Make sure the file is in DOS file format!

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,8 @@ static char *(features[]) =
792792

793793
static int included_patches[] =
794794
{ /* Add new patch number below this line */
795+
/**/
796+
558,
795797
/**/
796798
557,
797799
/**/

uninstal.txt

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Uninstalling Vim on Dos and MS-Windows.
1+
Uninstalling Vim on MS-Windows.
22

33
There are three ways to remove Vim:
44

@@ -27,12 +27,11 @@ messages to avoid deleting something you want to keep.
2727

2828
Here are guidelines for removing Vim by hand:
2929

30-
1. Remove the "Edit with Vim" popup menu entry, if it exists. This will only
31-
be on MS-Windows 95/98/NT. This is done by running the uninstal.exe
32-
program. It removes the registry entries for the "Edit with Vim" popup
33-
menu entry. You only need to run uninstal.exe when you have installed the
34-
menu entry. You can also run uninstal.exe from the Control panel with the
35-
Add/Remove programs application.
30+
1. Remove the "Edit with Vim" popup menu entry, if it exists. This is done by
31+
running the uninstal.exe program. It removes the registry entries for the
32+
"Edit with Vim" popup menu entry. You only need to run uninstal.exe when
33+
you have installed the menu entry. You can also run uninstal.exe from the
34+
Control panel with the Add/Remove programs application.
3635
Note that uninstal.exe offers you the option to uninstal other items. You
3736
can skip this.
3837

@@ -55,8 +54,8 @@ Here are guidelines for removing Vim by hand:
5554
skip the next step.
5655

5756
5. Delete the distributed files. If you followed the directions, these will
58-
be located in a directory like "C:\vim\vim80". If the $VIM environment
59-
variable is set, the directory will be $VIM\vim80. Delete the "vim80"
57+
be located in a directory like "C:\vim\vim81". If the $VIM environment
58+
variable is set, the directory will be $VIM\vim81. Delete the "vim81"
6059
directory and all that is in it. Warning: If you changed any of the
6160
distributed files, or added some of your own files, you might want to save
6261
these first. But normally you would not have changed or added files here.
@@ -66,10 +65,8 @@ Here are guidelines for removing Vim by hand:
6665
another version of Vim. $VIMRUNTIME is mostly not set. Check if $PATH
6766
contains the path of the vim directory. Note that $PATH may be set in
6867
several places, you will have to find the right one, and only delete the
69-
Vim path from it. You can most likely find the lines that set $PATH, $VIM
70-
and/or $VIMRUNTIME in C:\autoexec.bat. Under Windows NT you might need to
71-
use the "System Properties" editor to change the environment variables, if
72-
they are not in the C:\autoexec.bat file. You can start it by selecting
68+
Vim path from it. You might need to use the "System Properties" editor to
69+
change the environment variables. You can start it by selecting
7370
Start/Settings/Control Panel and then "System".
7471

7572
7. If you added a Vim entry in the start menu, delete it.

0 commit comments

Comments
 (0)