README.txt 2.4 KB

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