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