1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00
Commit Graph

75 Commits

Author SHA1 Message Date
fyodor
c901881496 Make the uninstaller properly delete nping.exe (also updates version number, but that was incidental as part of the build script) 2011-02-14 07:52:01 +00:00
robert
55c9407b17 Update Nmap version number to 5.36TEST4 in prep for the next release. 2011-01-21 18:40:46 +00:00
robert
33a6a0a49b Added the py2exe, share and licenses folders to be removed during an installation over the top of an existing Nmap installation. This clears out any bad DLLs that might have been installed in older versions of Nmap (e.g. 5.36TEST1). 2010-11-20 09:04:49 +00:00
robert
f91c93dfee Improved the Uninstaller section so it deletes the new license files and doesn't warn if Nmap isn't present (useful if the other tools, such as Ncat, were installed separately). 2010-11-18 15:55:01 +00:00
robert
29d67ee8c3 Updated the Visual C++ 2008 Redistributable to the latest SP1 version to avoid Windows Update prompting for the SP1 update after installing the RTM with ATL update.
Added new functions to create the Nmap uninstaller and install the VC++ 2008 and 2010 redistributables in the appropriate sections. Previously we only created the uninstaller if the Nmap Core Files were selected, and we didn't install the VC++ files if Nping, Ncat and Ndiff were installed on their own.
2010-11-18 13:22:49 +00:00
robert
62894a15f0 Added the VC++ 2008 (RTM with ATL fix) Redistributable to support Zenmap as Python 2.6 onwards is built using VC++ 2008. This is required now that Nmap uses VC++ 2010 instead of VC++ 2008 SP1, as we were previously relying upon the files installed by the VC++ 2008 SP1 Redistributable. The Nmap setup file only installs the 2008 redistributable if Zenmap has been selected. 2010-11-16 21:01:20 +00:00
david
7e8e4bf5b9 Update build instructions and build scripts for Python 2.7. 2010-11-10 03:00:01 +00:00
robert
f91a6868c7 Updated the Nmap installer's description for "Nmap Core Files" to say Visual C++ 2010 instead of Visual C++ 2008 to match the included redistributable file. 2010-11-06 16:31:12 +00:00
robert
79ab71577a Updated the Visual C++ Redistributable package from 2008 to 2010 and modified the Windows installer to check the new registry keys that are created. This is to support David's update of the Nmap solution file to VC++ 2010. 2010-11-05 18:05:05 +00:00
david
dba1d73570 Rearrange third-party license files. 2010-10-30 02:15:00 +00:00
david
ce075558de Include third-part license notices in Windows packages. 2010-10-14 05:22:42 +00:00
david
1ff33d9d50 Update version numbers in Windows build files. 2010-09-15 23:58:10 +00:00
robert
e8aab6daac Nmap's version of the WinPcap installer has been updated to 4.1.2. 2010-07-15 17:25:24 +00:00
david
cd29377b15 Use lzma whole-file compression in the Windows installer, instead of the
default zlib. The lzma-compressed installer is 15% smaller than the zlib one.
See http://seclists.org/nmap-dev/2010/q2/1011 for test results.
2010-06-30 14:55:12 +00:00
david
6df527a98c Update version number in nmap.rc and Nmap.nsi. 2010-06-30 14:50:00 +00:00
robert
3859e3dc64 Latest version number. 2010-06-07 07:05:48 +00:00
david
7b1a1d46f8 Add nmap-payloads to the Windows build. 2010-05-25 18:51:44 +00:00
david
5fdf2aed63 Document the /D option in Nmap.nsi. It is a built-in NSIS option to set the
installation directory, but it has some restrictions:

;;  It must be the last parameter used in the command line and must not
;;  contain any quotes, even if the path contains spaces. Only absolute
;;  paths are supported.
2010-04-30 13:55:08 +00:00
david
df2344e6d4 Add new options to the Windows setup.exe installer.
;;   /NMAP=NO          don't install Nmap
;;   /REGISTERPATH=NO  don't add the installation directory to PATH
;;   /WINPCAP=NO       don't install WinPcap
;;   /REGISTRYMODS=NO  don't install performance-related registry mods
;;   /ZENMAP=NO        don't install Zenmap
;;   /NCAT=NO          don't install Ncat
;;   /NDIFF=NO         don't install Ndiff
;;   /NPING=NO         don't install Nping
2010-04-27 18:02:41 +00:00
david
522fe57eac Document options in Nmap.nsi. 2010-04-26 19:21:39 +00:00
robert
f5e3cee4ac Simplified call to WinPcap installer during silent installs, now that the installation directory is no longer required (our WinPcap installer handles it all internally). 2010-04-24 20:48:57 +00:00
david
eb15f3ae27 Update vcredist_x86.exe to version 9.0.30729.4148. Axel Pettinger reported that
the previous version, 9.0.30729.17, causes a Windows Update when installed on
Windows 7 because the old version was the subject of security advisory
MS09-035. See http://seclists.org/nmap-dev/2010/q1/528 for lots of links and
details.

The file I downloaded was from

"Microsoft Visual C++ 2008 Service Pack 1 Redistributable Package ATL Security Update"
http://www.microsoft.com/downloads/details.aspx?familyid=2051a0c1-c9b5-4b0a-a8f5-770a549fd78c&displaylang=en

Specifically,

http://download.microsoft.com/download/9/7/7/977B481A-7BA6-4E30-AC40-ED51EB2028F2/vcredist_x86.exe
2010-03-03 00:25:28 +00:00
david
a669c3a39f Merge r16779:16804 from /nmap-exp/david/nmap-nping. This adds Nping
into the standard distribution.
2010-02-17 01:46:34 +00:00
david
15c2f0368b Add the /NPFSTARTUP=NO option to the Nmap installer, to be passed to the
WinPcap installer if appropriate.
2010-01-15 06:24:11 +00:00
fyodor
9cd76905a1 Applied Winpcap installer patch from Rob Nicholls which:
o UPgrades to latest version of WinPcap (4.1.1)

o corrects a long-standing bug in our WinPcap installer (we surrounded
  the install path in the registry with double quotes, which meant we
  wouldn't uninstall our older versions during an install)

o removed the GUI option to select where the WinPcap files are
  installed (all of the important ones end up in the Windows directory
  anyway).  WinPcap folder is installed in the same Program Files
  location on x64 platforms as the official WinPcap installer uses
  (although we're not sure that is the best place)

o Rob notes that he's successfully tested the installer on XP SP3,
  2003 SP2 x86, Vista SP2 x86 and Windows 7 x64
2009-10-25 23:26:40 +00:00
jah
bfa1e3ef9b Added a note that the registry details for Redist package need updating
whenever the Redist package is upgraded.
2009-07-15 22:27:34 +00:00
jah
b1ca97694d Update the uninstall registry key for the upgraded vcredist_x86.exe package
(r13075).
(See http://seclists.org/nmap-dev/2009/q3/0164.html )
2009-07-15 22:04:53 +00:00
jah
4f1e6e743c Added uninstall entry for ca-bundle.crt (CAs for Ncat on Win32) to NSIS script. 2009-05-16 15:30:57 +00:00
david
79fa5e0e1d Add a default bundle of trusted CA certificates for Ncat, extracted from
Windows. Use this bundle if no other was specified with --ssl-trustfile.
Instructions for extracting the certificates are included. I have to go back
now and make this compile on Unix.
2009-04-29 03:36:26 +00:00
fyodor
5cdff73553 latest version number 2009-04-25 21:20:53 +00:00
jah
7a23fa793e Added nse_main.lua to NSIS installer and zip package. 2009-04-05 20:09:51 +00:00
fyodor
5924490adf Include the brief Ncat/Ndiff descriptions 2009-02-27 09:24:24 +00:00
fyodor
c23d98cae5 o Revert the temporary GTK DLL workaround (r11899) which added
duplicate DLL files to the distribution.  David found that using a
  different GTK download fixed the problem (see
  docs/win32-installer-zenmap-buildguide.txt) and Fyodor was able to
  reproduce and implement.
2009-02-03 02:03:48 +00:00
fyodor
f8ef303b3a as a temporary hack measure until we find a better solution, include extra copies of some GTK DLLs 2009-01-30 04:47:57 +00:00
fyodor
c3dd2ca0f9 Remove msvcr71.dll stuff since I'm not sure we need it and my new py2exe doesn't copy it over 2009-01-24 02:02:38 +00:00
fyodor
127e05713b change the python25.dll to python26.dll 2009-01-24 00:06:28 +00:00
david
66c775ad96 Remove some commented-out code from mswin32/nsis/Nmap.nsi that associated the
file extension .usr with Zenmap. We don't use .usr any more.
2008-10-08 22:51:05 +00:00
david
1073c8283a Merge from /nmap-exp/david/nmap-ndiff and /nmap-exp/david/zenmap-ndiff. 2008-09-18 15:51:40 +00:00
kris
58057e4b07 Copying over nsis changes for adding Ncat to the Windows installer.
Somehow I missed some Windows changes but not others...
2008-09-16 02:04:33 +00:00
david
3a6873fcbf Automatic update of version numbers in mswin32/nmap.rc and
mswin32/nsis/Nmap.nsi.
2008-09-15 19:18:58 +00:00
fyodor
bb9ea123e2 o Nmap's Windows self-installer now checks whether the MS Visual C++
runtime components have already been installed to avoid running it
  again (which doesn't hurt anything, but slows down
  installation). [Rob Nicholls]
2008-09-09 07:26:53 +00:00
david
6aa016fb64 In Nmap.nsi, remove the nselib-bin directory before installing but not when
uninstalling (it would have already been removed). I put in a comment
explaining that nselib-bin used to be used but isn't any longer. Thanks to jah
for the suggestion.
2008-09-05 16:47:54 +00:00
david
b3eddfe90a Remove the nselib-bin directory. Almost all references to it have been removed
too. The section in scripting.xml about creating C modules is gone. (But maybe
it should be replaced with a tutorial on making static modules?) The only
places where nselib-bin is still referenced are in mswin32/nsis/Nmap.nsi, where
it is still removed on uninstallation; and in mswin32/nmap.vcproj, from where I
don't have the resources now to remove it.
2008-09-05 05:32:06 +00:00
fyodor
2c4f8d1a67 o The Nmap Windows self-installer now automatically installs the MS
Visual C++ 2008 runtime components if they aren't already installed
  on a system.  These are some reasonably small DLLs that are
  generally necessary for applications compiled with Visual C++ (with
  dynamic linking).  Many or most systems already have these installed
  from other software packages.  The lack of these components led to
  the error message "The Application failed to intialize properly
  (0xc0150002)." with Nmap 4.65.  A related change is that Nmap on
  Windows is now compiled with /MD rather than /MT so that it
  consistently uses these runtime libraries.  The patch was created by
  Rob Nicholls.
2008-06-29 04:52:00 +00:00
kris
44f6087b94 Merging changes from my vc2008-testing branch. This moves Windows development
to VC++2008.
2008-06-13 05:58:11 +00:00
fyodor
cdcf26d420 Win32 installer improvements:
o Our WinPcap installer now starts the NPF driver running as a
  service immediately upon installation and after restarts. You can
  disable this with new checkboxes. This behavior is important for
  Vista and Windows Server 2008 machines when User Account
  Control (UAC) is enabled. [Rob Nicholls]

o Nmap and Nmap-Winpcap silent installation now works.  Nmap can
  be silently installed with the /S option to the installer.
  If you install Nmap from the zip file, you can install just
  Winpcap silently with the /S option to that
  installer. [Rob Nicholls]

o Our WinPcap installer is now included with the Nmap Win32 zip
  file. [Fyodor]

o Numerous miscellaneous improvements were made to our Win32
  installer, such as using the "Modern" NSIS UI for WinPcap,
  improving the option description labels, and showing a finish
  page in all cases. [Rob Nicholls]
2008-06-01 03:18:35 +00:00
kris
2b825faa17 Nmap now ships and links with OpenSSL (currently the newest 0.9.8g) on Windows.
The necessary libraries (lib and dll) and headers required for compilation and
linking are in mswin32/OpenSSL.  A detailed upgrade guide is available in
mswin32/OpenSSL/upgrade-guide.txt.

Thanks to Thomas Buchanan for doing the initial work and writing up the initial
build guide.

My openssl-testing branch has been posted on nmap-dev for 12 days and has been
tested by (at least) Thomas, Jah and I, with no reports of failure.

http://seclists.org/nmap-dev/2008/q2/0249.html
2008-05-20 20:22:50 +00:00
fyodor
70eac662f4 o Reformat Nmap COPYING file (e.g. remove C comment markers, reduce
line length) during Nmap windows build so that it looks much better
  when presented by the Windows executable (NSIS) installer.  Thanks
  to Jah for the patch (which was modified slightly by Fyodor).
2008-03-21 01:05:09 +00:00
fyodor
af99ccc304 o Impoved Windows executable installer by making uninstall work better
on systems which changed the default install path.  The shortcut is
  also now deleted properly on Vista. [Rob Nicholls]
2008-01-12 22:24:00 +00:00
fyodor
f1e76344fa fix NSIS installer so it doesn't include some excess files. Problem reported by Alan Jones 2007-11-29 21:51:41 +00:00