Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
nmap
GitHub Repository: nmap/nmap
Path: blob/master/docs/win32-installer-zenmap-buildguide.txt
3733 views
1
Building the Nmap Installer for Windows
2
=======================================
3
4
5
I. ZENMAP BUILD DEPENDENCIES
6
7
The dependencies of Zenmap are stored in Subversion in the directory
8
/nmap-mswin32-aux. This should be checked out in a sibling directory
9
to the 'nmap' source code directory you wish to build. See the file
10
Python-upgrade.txt there for more information.
11
12
13
II. OTHER REQUIREMENTS
14
15
You'll need Microsoft Visual Studio for compilation.
16
Directions for obtaining that are at:
17
https://nmap.org/install/inst-windows.html#inst-win-source.
18
19
You'll also need Cygwin installed in order to build the Nmap installer
20
(not required for normal compiling). You'll find it at
21
http://www.cygwin.com/.
22
23
And last, you'll need the Nullsoft Scriptable Install System installed.
24
You can download if from http://nsis.sourceforge.io/Download (Version
25
3.08 tested).
26
27
28
III. BUILDING
29
30
With all of the requirements and dependencies installed, open up a
31
Cygwin shell and go to the mswin32 directory in the Nmap directory and
32
type "make". This may take several minutes, and will create an
33
executable installer and a zip archive (nmap-<version>-setup.exe and
34
nmap-<version>-win32.zip).
35
36
37
IV. INSTALLATION PATHS / PROBLEMS
38
39
If you have the dependencies of Zenmap installed in a directory other
40
than nmap-mswin32-aux, then you need to edit the copy_and_compile.bat
41
file under zenmap/install_scripts/windows and change the path variables.
42
43
44