annotate nsis/README.txt @ 12626:aca41efd888c v8.0.1191

patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer commit https://github.com/vim/vim/commit/6199d43f4b59a9bb1c87d408c5b33fa19a23ebcd Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 14 19:05:44 2017 +0200 patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installer Problem: MS-Windows: missing 32 and 64 bit files in installer. Solution: Include both 32 and 64 bit GvimExt and related dll files. Remove old Windows code from the installer. (Ken Takata, closes #2144)
author Christian Brabandt <cb@256bit.org>
date Sat, 14 Oct 2017 19:15:04 +0200
parents 3fc0f57ecb91
children 803807ab19c5
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,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 uninstal.exe,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 xxd/xxd.exe,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
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
20 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
21 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
22
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 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
24 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
25 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
26 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
27 32-bit: src/GvimExt/gvimext.dll
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 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
30 archive).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 5. Go to the OleVim directory and build OpenWithVim.exe and SendToVim.exe (or
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 get them from a binary archive).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 6. Get a "diff.exe" program and put it in the "../.." directory (above the
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
36 "vim80" directory, 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
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
39 Also put winpty32.dll and winpty-agent.exe there.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 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
42 to do this on Unix. Make sure the file is in DOS file format!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
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
44 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
45 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
46 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
47 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
48 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
49
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 <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
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 + 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
53 | 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
54 | 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
55 | 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
56 |
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 ` 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
58 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
59 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
60
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 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
62 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
63
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
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 Install NSIS if you didn't do that already.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 Also install UPX, if you want a compressed file.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 To build then, enter:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 makensis gvim.nsi