Mercurial > vim
comparison nsis/gvim.nsi @ 5128:3dafc80e781b v7.3.1307
updated for version 7.3.1307
Problem: MS-Windows build instructions are outdated.
Solution: Adjust for building on Windows 7. Drop Windows 95/98/ME support.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 04 Jul 2013 22:35:01 +0200 |
parents | 073ff46fe397 |
children | b49784c49d53 |
comparison
equal
deleted
inserted
replaced
5127:053a3d1ebc58 | 5128:3dafc80e781b |
---|---|
3 # Last Change: 2010 Jul 30 | 3 # Last Change: 2010 Jul 30 |
4 | 4 |
5 # WARNING: if you make changes to this script, look out for $0 to be valid, | 5 # WARNING: if you make changes to this script, look out for $0 to be valid, |
6 # because uninstall deletes most files in $0. | 6 # because uninstall deletes most files in $0. |
7 | 7 |
8 # Location of gvim_ole.exe, vimd32.exe, GvimExt/*, etc. | 8 # Location of gvim_ole.exe, vimw32.exe, GvimExt/*, etc. |
9 !define VIMSRC "..\src" | 9 !define VIMSRC "..\src" |
10 | 10 |
11 # Location of runtime files | 11 # Location of runtime files |
12 !define VIMRT ".." | 12 !define VIMRT ".." |
13 | 13 |
245 | 245 |
246 SetOutPath $0 | 246 SetOutPath $0 |
247 ReadRegStr $R0 HKLM \ | 247 ReadRegStr $R0 HKLM \ |
248 "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion | 248 "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion |
249 IfErrors 0 lbl_winnt | 249 IfErrors 0 lbl_winnt |
250 # Windows 95/98/ME | 250 # Windows 95/98/ME: not supported |
251 File /oname=vim.exe ${VIMSRC}\vimd32.exe | |
252 Goto lbl_done | 251 Goto lbl_done |
253 lbl_winnt: | 252 lbl_winnt: |
254 # Windows NT/2000/XT | 253 # Windows NT/2000/XT and later |
255 File /oname=vim.exe ${VIMSRC}\vimw32.exe | 254 File /oname=vim.exe ${VIMSRC}\vimw32.exe |
256 lbl_done: | 255 lbl_done: |
257 StrCpy $2 "$2 vim view vimdiff" | 256 StrCpy $2 "$2 vim view vimdiff" |
258 SectionEnd | 257 SectionEnd |
259 | 258 |