Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 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/ |
| 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 | |
| 20 | 3. Go to the GvimExt directory and build gvimext.dll (or get it from a binary |
| 21 | archive). |
| 22 | |
| 23 | 4. Go to the VisVim directory and build VisVim.dll (or get it from a binary |
| 24 | archive). |
| 25 | |
| 26 | 5. Go to the OleVim directory and build OpenWithVim.exe and SendToVim.exe (or |
| 27 | get them from a binary archive). |
| 28 | |
| 29 | 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). |
| 31 | You can find one in previous Vim versions or in this archive: |
| 32 | http://www.mossbayeng.com/~ron/vim/diffutils.tar.gz |
| 33 | |
| 34 | 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! |
| 36 | |
| 37 | Install NSIS if you didn't do that already. |
| 38 | Also install UPX, if you want a compressed file. |
| 39 | |
| 40 | To build then, enter: |
| 41 | |
| 42 | makensis gvim.nsi |