annotate nsis/README.txt @ 22169:53ed9f8a843f v8.2.1634

patch 8.2.1634: loop to handle keys for the command line is too long Commit: https://github.com/vim/vim/commit/9c929713b7588f2e44a1533809d2ba0bbd2631be Author: Bram Moolenaar <Bram@vim.org> Date: Mon Sep 7 22:05:28 2020 +0200 patch 8.2.1634: loop to handle keys for the command line is too long Problem: Loop to handle keys for the command line is too long. Solution: Move a few more parts to separate functions. (Yegappan Lakshmanan, closes #6895)
author Bram Moolenaar <Bram@vim.org>
date Mon, 07 Sep 2020 22:15:03 +0200
parents 9b7f90e56753
children 138e9caf4a7a
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 This builds a one-click install for Vim for Win32 using the Nullsoft
12626
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
2 Installation System (NSIS), available at http://nsis.sourceforge.net/
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 To build the installable .exe:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 1. Unpack three archives:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 PC sources
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 PC runtime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 PC language files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 You can generate these from the Unix sources and runtime plus the extra
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 archive (see the Makefile in the top directory).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 2. Go to the src directory and build:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 gvim.exe (the OLE version),
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 vimrun.exe,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 install.exe,
18182
9b6bfce90778 patch 8.1.2086: missing a few changes for the renamed files
Bram Moolenaar <Bram@vim.org>
parents: 15410
diff changeset
17 uninstall.exe,
15095
803807ab19c5 patch 8.1.0558: some MS-Windows instructions are outdated
Bram Moolenaar <Bram@vim.org>
parents: 12626
diff changeset
18 tee/tee.exe,
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 xxd/xxd.exe,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
12626
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
21 Then execute tools/rename.bat to rename the executables. (mv command is
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
22 required.)
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
23
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 3. Go to the GvimExt directory and build gvimext.dll (or get it from a binary
12626
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
25 archive). Both 64- and 32-bit versions are needed and should be placed
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
26 as follows:
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
27 64-bit: src/GvimExt/gvimext64.dll
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
28 32-bit: src/GvimExt/gvimext.dll
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 4. Go to the VisVim directory and build VisVim.dll (or get it from a binary
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 archive).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
15095
803807ab19c5 patch 8.1.0558: some MS-Windows instructions are outdated
Bram Moolenaar <Bram@vim.org>
parents: 12626
diff changeset
33 5. Get a "diff.exe" program. If you skip this the built-in diff will always
803807ab19c5 patch 8.1.0558: some MS-Windows instructions are outdated
Bram Moolenaar <Bram@vim.org>
parents: 12626
diff changeset
34 be used (which is fine for most users). If you do have your own
19116
9b7f90e56753 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18182
diff changeset
35 "diff.exe" put it in the "../.." directory (above the "vim82" directory,
15095
803807ab19c5 patch 8.1.0558: some MS-Windows instructions are outdated
Bram Moolenaar <Bram@vim.org>
parents: 12626
diff changeset
36 it's the same for all Vim versions).
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 You can find one in previous Vim versions or in this archive:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 http://www.mossbayeng.com/~ron/vim/diffutils.tar.gz
15095
803807ab19c5 patch 8.1.0558: some MS-Windows instructions are outdated
Bram Moolenaar <Bram@vim.org>
parents: 12626
diff changeset
39
19116
9b7f90e56753 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 18182
diff changeset
40 6 Also put winpty32.dll and winpty-agent.exe in "../.." (above the "vim82"
15095
803807ab19c5 patch 8.1.0558: some MS-Windows instructions are outdated
Bram Moolenaar <Bram@vim.org>
parents: 12626
diff changeset
41 directory). This is required for the terminal window.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 7. Do "make uganda.nsis.txt" in runtime/doc. This requires sed, you may have
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 to do this on Unix. Make sure the file is in DOS file format!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
12626
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
46 8. Get gettext and iconv DLLs from the following site:
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
47 https://github.com/mlocati/gettext-iconv-windows/releases
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
48 Both 64- and 32-bit versions are needed.
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
49 Download the files gettextX.X.X.X-iconvX.XX-shared-{32,64}.zip, extract
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
50 DLLs and place them as follows:
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
51
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
52 <GETTEXT directory>
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
53 |
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
54 + gettext32/
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
55 | libintl-8.dll
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
56 | libiconv-2.dll
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
57 | libgcc_s_sjlj-1.dll
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
58 |
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
59 ` gettext64/
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
60 libintl-8.dll
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
61 libiconv-2.dll
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
62
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
63 The default <GETTEXT directory> is "..", however, you can change it by
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
64 passing /DGETTEXT=... option to the makensis command.
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
65
aca41efd888c patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
66
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 Install NSIS if you didn't do that already.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 Also install UPX, if you want a compressed file.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69
15410
cb1652e41314 patch 8.1.0713: images for NSIS take up too much space
Bram Moolenaar <Bram@vim.org>
parents: 15095
diff changeset
70 Unpack the images:
cb1652e41314 patch 8.1.0713: images for NSIS take up too much space
Bram Moolenaar <Bram@vim.org>
parents: 15095
diff changeset
71 cd nsis
cb1652e41314 patch 8.1.0713: images for NSIS take up too much space
Bram Moolenaar <Bram@vim.org>
parents: 15095
diff changeset
72 unzip icons.zip
cb1652e41314 patch 8.1.0713: images for NSIS take up too much space
Bram Moolenaar <Bram@vim.org>
parents: 15095
diff changeset
73
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 To build then, enter:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75
15410
cb1652e41314 patch 8.1.0713: images for NSIS take up too much space
Bram Moolenaar <Bram@vim.org>
parents: 15095
diff changeset
76 cd nsis
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 makensis gvim.nsi