|
|
#1 |
|
Member
Join Date: Jul 2015
Posts: 62
|
Check if Port is open
Hi All,
I am trying to use this in my installer to see if a port is open. I need to show a message box if the port cannot be used or proceed if its ok to use the port. http://nsis.sourceforge.net/Check_open_ports I am not able to figure out the example in this page. If I used the condition with {If}, how would this be: ${If} ${TCPPortOpen} $PortNumber MessageBox MB_OK|MB_ICONSTOP "$PortNumber is already using by another program..." Abort ${Else} MessageBox MB_OK"$PortNumber is open to use" Is this correct? |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|