README.txt
1This builds a one-click install for Vim for Win32 using the Nullsoft
2Installation System (NSIS), available at http://nsis.sourceforge.net/
3
4To build the installable .exe:
5
61. Unpack three archives:
7 PC sources
8 PC runtime
9 PC language files
10 You can generate these from the Unix sources and runtime plus the extra
11 archive (see the Makefile in the top directory).
12
132. Go to the src directory and build:
14 gvim.exe (the OLE version),
15 vimrun.exe,
16 install.exe,
17 uninstall.exe,
18 tee/tee.exe,
19 xxd/xxd.exe,
20
21 Then execute tools/rename.bat to rename the executables. (mv command is
22 required.)
23
243. Go to the GvimExt directory and build gvimext.dll (or get it from a binary
25 archive). Both 64- and 32-bit versions are needed and should be placed
26 as follows:
27 64-bit: src/GvimExt/gvimext64.dll
28 32-bit: src/GvimExt/gvimext.dll
29
304. Go to the VisVim directory and build VisVim.dll (or get it from a binary
31 archive).
32
335. 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 "vim82" directory,
36 it's the same for all Vim versions).
37 You can find one in previous Vim versions or in this archive:
38 http://www.mossbayeng.com/~ron/vim/diffutils.tar.gz
39
406 Also put winpty32.dll and winpty-agent.exe in "../.." (above the "vim82"
41 directory). This is required for the terminal window.
42
437. Do "make uganda.nsis.txt" in runtime/doc. This requires sed, you may have
44 to do this on Unix. Make sure the file is in DOS file format!
45
468. Get gettext and iconv DLLs from the following site:
47 https://github.com/mlocati/gettext-iconv-windows/releases
48 Both 64- and 32-bit versions are needed.
49 Download the files gettextX.X.X.X-iconvX.XX-shared-{32,64}.zip, extract
50 DLLs and place them as follows:
51
52 <GETTEXT directory>
53 |
54 + gettext32/
55 | libintl-8.dll
56 | libiconv-2.dll
57 | libgcc_s_sjlj-1.dll
58 |
59 ` gettext64/
60 libintl-8.dll
61 libiconv-2.dll
62
63 The default <GETTEXT directory> is "..", however, you can change it by
64 passing /DGETTEXT=... option to the makensis command.
65
66
67Install NSIS if you didn't do that already.
68Also install UPX, if you want a compressed file.
69Download and include the ShellExecAsUser.dll Unicode version which can be
70sourced from: https://nsis.sourceforge.io/ShellExecAsUser_plug-in
71
72
73Unpack the images:
74 cd nsis
75 unzip icons.zip
76
77Then build gvim.exe:
78
79 cd nsis
80 makensis gvim.nsi
81