Nmap Development mailing list archives

Windows setup.exe checkbox control options


From: David Fifield <david () bamsoftware com>
Date: Tue, 27 Apr 2010 09:21:30 -0600

The TODO says that the Windows setup.exe installer needs a way to
disable options from the command line. Here is a patch to do that.

It adds these options to the installer to go with the existing /S
(silent) and /NPFSTARTUP=NO.

;;   /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

If you wanted to install without Ndiff and Nping, for example, you would
run the installer with one of

nmap-VERSION-setup.exe /NDIFF=NO /NPING=NO
nmap-VERSION-setup.exe /S /NDIFF=NO /NPING=NO

In the first case, the checkboxes would be initially disabled in the
graphical interface. In the second with /S, there's no interface shown,
so Ndiff and Nping just don't get installed.

The patch is not controversial; I'm looking for feedback on the option
names and syntax.

David Fifield

Attachment: setup-checkboxes.diff
Description:

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

Current thread: