Skip to content
⌘ NSIS Forum Archive

NSIS icmp test?

8 posts

toqer#

NSIS icmp test?

Does anyone know if there's an ICMP/Ping plugin for nsis, just to see if a host is up and talking?
LoRd_MuldeR#
Of course you could just call the "ping.exe" program.

Also you could use the InternetCheckConnection function, e.g. via System plug-in.

[EDIT] Or maybe the IcmpSendEcho function [/EDIT]
toqer#
Ya I looked at that today, unfortunately most of these hosts aren't running a webserver (just a lot of jboss servers)

Maybe I could just comspec exec ping hostname
Then look for "Host Unknown" ?
toqer#
Mulder: Looks like the right way to go but my mind is boggled just looking at it. Any chance you could make an example?
LoRd_MuldeR#
Originally Posted by toqer View Post
Mulder: Looks like the right way to go but my mind is boggled just looking at it. Any chance you could make an example?
I've never been great in fiddling with the System plug-in's syntax 😕
jpderuiter#
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
LoRd_MuldeR#
Originally Posted by jpderuiter View Post
Déjà vu 😁