comparison 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
comparison
equal deleted inserted replaced
12625:e48ffa369a30 12626:aca41efd888c
1 This builds a one-click install for Vim for Win32 using the Nullsoft 1 This builds a one-click install for Vim for Win32 using the Nullsoft
2 Installation System (NSIS), available at http://www.nullsoft.com/free/nsis/ 2 Installation System (NSIS), available at http://nsis.sourceforge.net/
3 3
4 To build the installable .exe: 4 To build the installable .exe:
5 5
6 1. Unpack three archives: 6 1. Unpack three archives:
7 PC sources 7 PC sources
15 vimrun.exe, 15 vimrun.exe,
16 install.exe, 16 install.exe,
17 uninstal.exe, 17 uninstal.exe,
18 xxd/xxd.exe, 18 xxd/xxd.exe,
19 19
20 Then execute tools/rename.bat to rename the executables. (mv command is
21 required.)
22
20 3. Go to the GvimExt directory and build gvimext.dll (or get it from a binary 23 3. Go to the GvimExt directory and build gvimext.dll (or get it from a binary
21 archive). 24 archive). Both 64- and 32-bit versions are needed and should be placed
25 as follows:
26 64-bit: src/GvimExt/gvimext64.dll
27 32-bit: src/GvimExt/gvimext.dll
22 28
23 4. Go to the VisVim directory and build VisVim.dll (or get it from a binary 29 4. Go to the VisVim directory and build VisVim.dll (or get it from a binary
24 archive). 30 archive).
25 31
26 5. Go to the OleVim directory and build OpenWithVim.exe and SendToVim.exe (or 32 5. Go to the OleVim directory and build OpenWithVim.exe and SendToVim.exe (or
27 get them from a binary archive). 33 get them from a binary archive).
28 34
29 6. Get a "diff.exe" program and put it in the "../.." directory (above the 35 6. Get a "diff.exe" program and put it in the "../.." directory (above the
30 "vim61" directory, it's the same for all Vim versions). 36 "vim80" directory, it's the same for all Vim versions).
31 You can find one in previous Vim versions or in this archive: 37 You can find one in previous Vim versions or in this archive:
32 http://www.mossbayeng.com/~ron/vim/diffutils.tar.gz 38 http://www.mossbayeng.com/~ron/vim/diffutils.tar.gz
39 Also put winpty32.dll and winpty-agent.exe there.
33 40
34 7. Do "make uganda.nsis.txt" in runtime/doc. This requires sed, you may have 41 7. Do "make uganda.nsis.txt" in runtime/doc. This requires sed, you may have
35 to do this on Unix. Make sure the file is in DOS file format! 42 to do this on Unix. Make sure the file is in DOS file format!
43
44 8. Get gettext and iconv DLLs from the following site:
45 https://github.com/mlocati/gettext-iconv-windows/releases
46 Both 64- and 32-bit versions are needed.
47 Download the files gettextX.X.X.X-iconvX.XX-shared-{32,64}.zip, extract
48 DLLs and place them as follows:
49
50 <GETTEXT directory>
51 |
52 + gettext32/
53 | libintl-8.dll
54 | libiconv-2.dll
55 | libgcc_s_sjlj-1.dll
56 |
57 ` gettext64/
58 libintl-8.dll
59 libiconv-2.dll
60
61 The default <GETTEXT directory> is "..", however, you can change it by
62 passing /DGETTEXT=... option to the makensis command.
63
36 64
37 Install NSIS if you didn't do that already. 65 Install NSIS if you didn't do that already.
38 Also install UPX, if you want a compressed file. 66 Also install UPX, if you want a compressed file.
39 67
40 To build then, enter: 68 To build then, enter: