updated for version 7.3.1310

Problem:    Typos in nsis script. Can use better compression.
Solution:   Fix typos.  Use lzma compression. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2013-07-05 20:01:32 +02:00
parent ccf623f6f8
commit 266411aa8a
2 changed files with 7 additions and 2 deletions

View File

@ -40,7 +40,7 @@ RequestExecutionLevel highest
ComponentText "This will install Vim ${VER_MAJOR}.${VER_MINOR} on your computer." ComponentText "This will install Vim ${VER_MAJOR}.${VER_MINOR} on your computer."
DirText "Choose a directory to install Vim (must end in 'vim')" DirText "Choose a directory to install Vim (must end in 'vim')"
Icon icons\vim_16c.ico Icon icons\vim_16c.ico
# NSIS2 uses a different strategy with six diferent images in a strip... # NSIS2 uses a different strategy with six different images in a strip...
#EnabledBitmap icons\enabled.bmp #EnabledBitmap icons\enabled.bmp
#DisabledBitmap icons\disabled.bmp #DisabledBitmap icons\disabled.bmp
UninstallText "This will uninstall Vim ${VER_MAJOR}.${VER_MINOR} from your system." UninstallText "This will uninstall Vim ${VER_MAJOR}.${VER_MINOR} from your system."
@ -56,6 +56,9 @@ LicenseData ${VIMRT}\doc\uganda.nsis.txt
!packhdr temp.dat "upx --best --compress-icons=1 temp.dat" !packhdr temp.dat "upx --best --compress-icons=1 temp.dat"
!endif !endif
SetCompressor /SOLID lzma
XPStyle on
# This adds '\vim' to the user choice automagically. The actual value is # This adds '\vim' to the user choice automagically. The actual value is
# obtained below with ReadINIStr. # obtained below with ReadINIStr.
InstallDir "$PROGRAMFILES\Vim" InstallDir "$PROGRAMFILES\Vim"
@ -250,7 +253,7 @@ Section "Vim console program (vim.exe)"
# Windows 95/98/ME: not supported # Windows 95/98/ME: not supported
Goto lbl_done Goto lbl_done
lbl_winnt: lbl_winnt:
# Windows NT/2000/XT and later # Windows NT/2000/XP and later
File /oname=vim.exe ${VIMSRC}\vimw32.exe File /oname=vim.exe ${VIMSRC}\vimw32.exe
lbl_done: lbl_done:
StrCpy $2 "$2 vim view vimdiff" StrCpy $2 "$2 vim view vimdiff"

View File

@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1310,
/**/ /**/
1309, 1309,
/**/ /**/