From 5fdf2aed6357b6c323b0140225e05bfe3024af39 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 30 Apr 2010 13:55:08 +0000 Subject: [PATCH] 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. --- mswin32/nsis/Nmap.nsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mswin32/nsis/Nmap.nsi b/mswin32/nsis/Nmap.nsi index 3f220af87..0686d7326 100644 --- a/mswin32/nsis/Nmap.nsi +++ b/mswin32/nsis/Nmap.nsi @@ -12,6 +12,13 @@ ;; /NCAT=NO don't install Ncat ;; /NDIFF=NO don't install Ndiff ;; /NPING=NO don't install Nping +;; /D=C:\dir\... install to C:\dir\... (overrides InstallDir) +;; +;;/D is a built-in NSIS option and has these restrictions: +;;(http://nsis.sourceforge.net/Docs/Chapter3.html) +;; 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. ;-------------------------------- ;Include Modern UI