diff options
Diffstat (limited to 'docs/win32-installer-zenmap-buildguide.txt')
-rw-r--r-- | docs/win32-installer-zenmap-buildguide.txt | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/win32-installer-zenmap-buildguide.txt b/docs/win32-installer-zenmap-buildguide.txt new file mode 100644 index 0000000..cebd5b8 --- /dev/null +++ b/docs/win32-installer-zenmap-buildguide.txt @@ -0,0 +1,43 @@ + Building the Nmap Installer for Windows + ======================================= + + +I. ZENMAP BUILD DEPENDENCIES + +The dependencies of Zenmap are stored in Subversion in the directory +/nmap-mswin32-aux. This should be checked out in a sibling directory +to the 'nmap' source code directory you wish to build. See the file +Python-upgrade.txt there for more information. + + +II. OTHER REQUIREMENTS + +You'll need Microsoft Visual C++ 2010 for compilation. +Directions for obtaining that are at: +https://nmap.org/install/inst-windows.html#inst-win-source. + +You'll also need Cygwin installed in order to build the Nmap installer +(not required for normal compiling). You'll find it at +http://www.cygwin.com/. + +And last, you'll need the Nullsoft Scriptable Install System installed. +You can download if from http://nsis.sourceforge.net/Download (Version +2.46 tested). Install in "C:\Program Files\NSIS" even if it offers +"C:\Program Files (x86)\NSIS". + + +III. BUILDING + +With all of the requirements and dependencies installed, open up a +Cygwin shell and go to the mswin32 directory in the Nmap directory and +type "make". This may take several minutes, and will create an +executable installer and a zip archive (nmap-<version>-setup.exe and +nmap-<version>-win32.zip). + + +IV. INSTALLATION PATHS / PROBLEMS + +If you have the dependencies of Zenmap installed in a directory other +than nmap-mswin32-aux, then you need to edit the copy_and_compile.bat +file under zenmap/install_scripts/windows and change the path variables. + |