diff --git a/mswin32/nsis/Nmap.nsi.in b/mswin32/nsis/Nmap.nsi.in index 6bb86c2b01..36472cf09d 100644 --- a/mswin32/nsis/Nmap.nsi.in +++ b/mswin32/nsis/Nmap.nsi.in @@ -21,6 +21,11 @@ ;; contain any quotes, even if the path contains spaces. Only absolute ;; paths are supported. +; Ensure large strings build is used +!if ${NSIS_MAX_STRLEN} < 8192 +!error "Need to use large strings build of NSIS." +!endif + ;-------------------------------- ;Include Modern UI