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