Mercurial > vim
annotate nsis/README.txt @ 14261:72c39d84dc3e
Added tag v8.1.0146 for changeset 9ff35e1444671c18cd1fa8f47295b6d1bf400886
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 03 Jul 2018 21:30:07 +0200 |
parents | aca41efd888c |
children | 803807ab19c5 |
rev | line source |
---|---|
7 | 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 | 3 |
4 To build the installable .exe: | |
5 | |
6 1. 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 | |
13 2. Go to the src directory and build: | |
14 gvim.exe (the OLE version), | |
15 vimrun.exe, | |
16 install.exe, | |
17 uninstal.exe, | |
18 xxd/xxd.exe, | |
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 | 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 | 28 |
29 4. Go to the VisVim directory and build VisVim.dll (or get it from a binary | |
30 archive). | |
31 | |
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 | |
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 | 37 You can find one in previous Vim versions or in this archive: |
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 | 40 |
41 7. Do "make uganda.nsis.txt" in runtime/doc. This requires sed, you may have | |
42 to do this on Unix. Make sure the file is in DOS file format! | |
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 | 65 Install NSIS if you didn't do that already. |
66 Also install UPX, if you want a compressed file. | |
67 | |
68 To build then, enter: | |
69 | |
70 makensis gvim.nsi |