Hot answers tagged nsis
1
I made my installer abort if it found that the ports 80 or 3306 were in use.
I used a TCP plugin for NSIS, http://nsis.sourceforge.net/TCP_plug-in
I used it in this fashion,
...
TCP::CheckPort "80"
Pop $0
StrCmp $0 "free" port_ok
StrCmp $0 "socket_error" socket_error
StrCmp $0 "inuse" socket_inuse
Goto port_ok
socket_inuse:
MessageBox MB_OK "Port 80 ...
Only top voted, non community-wiki answers of a minimum length are eligible