summaryrefslogtreecommitdiff
path: root/src/INSTALLpc.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-07-15 13:52:04 +0200
committerBram Moolenaar <Bram@vim.org>2011-07-15 13:52:04 +0200
commit734d99804b42638ff25480dd8f8f477f2809cc7e (patch)
tree102f2b70adfc6a9d2299fdd57134f59d221f428c /src/INSTALLpc.txt
parent37a02ca1c2ecd5cbc5678d901c7bc55e8da0604f (diff)
downloadvim-git-734d99804b42638ff25480dd8f8f477f2809cc7e.tar.gz
updated for version 7.3.248v7.3.248
Problem: PC Install instructions missing install instructions. Solution: Step-by-step explanation. (Michael Soyka)
Diffstat (limited to 'src/INSTALLpc.txt')
-rw-r--r--src/INSTALLpc.txt65
1 files changed, 62 insertions, 3 deletions
diff --git a/src/INSTALLpc.txt b/src/INSTALLpc.txt
index 124bdc3b9..aeabda6de 100644
--- a/src/INSTALLpc.txt
+++ b/src/INSTALLpc.txt
@@ -11,9 +11,9 @@ The file "feature.h" can be edited to match your preferences. You can skip
this, then you will get the default behavior as is documented, which should
be fine for most people.
-With the exception of the last two sections (Windows 3.1 and MS-DOS),
-this document assumes that you are building Vim for Win32
-(Windows NT/2000/XP/2003/Vista and Windows 95/98/Me)
+With the exception of two sections (Windows 3.1 and MS-DOS), this document
+assumes that you are building Vim for Win32 or later.
+(Windows 95/98/Me/NT/2000/XP/2003/Vista/7)
Contents:
@@ -27,6 +27,9 @@ Contents:
8. Windows 3.1
9. MS-DOS
+10. Installing after building from sources
+
+
The currently preferred method is using the free Visual C++ Toolkit 2008
|msvc-2008-express|, the produced binary runs on most MS-Windows systems. If
you need the executable to run on Windows 98 or ME, use the 2003 one
@@ -409,3 +412,59 @@ will work properly! Esp. handling multi-byte file names.
If you get all kinds of strange error messages when compiling, try adding
changing the file format from "unix" to "dos".
+
+
+10. Installing after building from sources
+==========================================
+
+[provided by Michael Soyka]
+
+After you've built the Vim binaries as described above, you're ready to
+install Vim on your system. However, if you've obtained the Vim sources
+using Mercurial or by downloading them as a unix tar file, you must first
+create a "vim73" directory. If you instead downloaded the sources as
+zip files, you can skip this setup as the zip archives already have the
+correct directory structure.
+
+ A. Create a Vim "runtime" subdirectory named "vim73"
+ -----------------------------------------------------
+ If you obtained your Vim sources as zip files, you can skip this step.
+ Otherwise, continue reading.
+
+ Go to the directory that contains the Vim "src" and "runtime"
+ directories and create a new subdirectory named "vim73".
+
+ Copy the "runtime" files into "vim73":
+ copy runtime\* vim73
+
+ B. Copy the new binaries into the "vim73" directory
+ ----------------------------------------------------
+ Regardless of how you installed the Vim sources, you need to copy the
+ new binaries you created above into "vim73":
+
+ copy src\*.exe vim73
+ copy src\GvimExt\gvimext.dll vim73
+ copy src\xxd\xxd.exe vim73
+
+ C. Move the "vim73" directory into the Vim installation subdirectory
+ ---------------------------------------------------------------------
+ Move the "vim73" subdirectory into the subdirectory where you want Vim
+ to be installed. Typically, this subdirectory will be named "vim".
+ If you already have a "vim73" subdirectory in "vim", delete it first
+ by running its unstal.exe program.
+
+ D. Install Vim
+ ---------------
+ "cd" to your Vim installation subdirectory "vim\vim73" and run the
+ "install.exe" program. It will ask you a number of questions about
+ how you would like to have your Vim setup. Among these are:
+ - You can tell it to write a "_vimrc" file with your preferences in the
+ parent directory.
+ - It can also install an "Edit with Vim" entry in the Windows Explorer
+ popup menu.
+ - You can have it create batch files, so that you can run Vim from the
+ console or in a shell. You can select one of the directories in your
+ PATH or add the directory to PATH using the Windows Control Panel.
+ - Create entries for Vim on the desktop and in the Start menu.
+
+Happy Vimming!