073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.504
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.504
073263
Problem:    Restriction of the MS-Windows installer that the path must end in
073263
	    "Vim" prevents installing more than one version.
073263
Solution:   Remove the restriction. (Tim Lebedkov)
073263
Files:	    nsis/gvim.nsi
073263
073263
073263
*** ../vim-7.4.503/nsis/gvim.nsi	2013-08-10 13:25:08.000000000 +0200
073263
--- nsis/gvim.nsi	2014-11-05 18:17:11.096424861 +0100
073263
***************
073263
*** 1,6 ****
073263
  # NSIS file to create a self-installing exe for Vim.
073263
  # It requires NSIS version 2.0 or later.
073263
! # Last Change:	2010 Jul 30
073263
  
073263
  # WARNING: if you make changes to this script, look out for $0 to be valid,
073263
  # because uninstall deletes most files in $0.
073263
--- 1,6 ----
073263
  # NSIS file to create a self-installing exe for Vim.
073263
  # It requires NSIS version 2.0 or later.
073263
! # Last Change:	2014 Nov 5
073263
  
073263
  # WARNING: if you make changes to this script, look out for $0 to be valid,
073263
  # because uninstall deletes most files in $0.
073263
***************
073263
*** 38,44 ****
073263
  RequestExecutionLevel highest
073263
  
073263
  ComponentText "This will install Vim ${VER_MAJOR}.${VER_MINOR} on your computer."
073263
! DirText "Choose a directory to install Vim (must end in 'vim')"
073263
  Icon icons\vim_16c.ico
073263
  # NSIS2 uses a different strategy with six different images in a strip...
073263
  #EnabledBitmap icons\enabled.bmp
073263
--- 38,44 ----
073263
  RequestExecutionLevel highest
073263
  
073263
  ComponentText "This will install Vim ${VER_MAJOR}.${VER_MINOR} on your computer."
073263
! DirText "Choose a directory to install Vim (should contain 'vim')"
073263
  Icon icons\vim_16c.ico
073263
  # NSIS2 uses a different strategy with six different images in a strip...
073263
  #EnabledBitmap icons\enabled.bmp
073263
***************
073263
*** 135,145 ****
073263
  # We only accept the directory if it ends in "vim".  Using .onVerifyInstDir has
073263
  # the disadvantage that the browse dialog is difficult to use.
073263
  Function CheckInstallDir
073263
-   StrCpy $0 $INSTDIR 3 -3
073263
-   StrCmp $0 "vim" PathGood
073263
-     MessageBox MB_OK "The path must end in 'vim'."
073263
-     Abort
073263
-   PathGood:
073263
  FunctionEnd
073263
  
073263
  Function .onInstSuccess
073263
--- 135,140 ----
073263
*** ../vim-7.4.503/src/version.c	2014-11-05 18:05:48.660441306 +0100
073263
--- src/version.c	2014-11-05 18:14:51.076428235 +0100
073263
***************
073263
*** 743,744 ****
073263
--- 743,746 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     504,
073263
  /**/
073263
073263
-- 
073263
-rwxr-xr-x  1 root          24 Oct 29  1929 /bin/ed
073263
-rwxr-xr-t  4 root      131720 Jan  1  1970 /usr/ucb/vi
073263
-rwxr-xr-x  1 root  5.89824e37 Oct 22  1990 /usr/bin/emacs
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///