Nmap Development mailing list archives

Re: Windows setup.exe checkbox control options


From: "Luis MartinGarcia." <luis.mgarc () gmail com>
Date: Tue, 27 Apr 2010 17:40:18 +0200

It looks good to me. However, /S may be a bit cryptic. Would it possible
to also let users specify "/SILENT" ?

Luis MartinGarcia.




On 04/27/2010 05:21 PM, David Fifield wrote:
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
  


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

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


Current thread: