Can you check if a firewall disallows access to a port?

Got a problem you cannot solve? Try here.
bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Can you check if a firewall disallows access to a port?

Postby bokkie » Wed Feb 01, 2012 7:47 am

I need to add a dialog to an installation which prompts the user for a port number. The port number is then passed as a parameter to a Windows service. Let's say the user enters port number 30445 for example. Is it possible in IA to determine if access to that port number is available? Perhaps there's some way of determining what might be blocked by any firewall? Maybe there's something I can search in the registry or a plugin that might help?

All I want to do if possible, is warn the user there might be an access problem to the port number at install time.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP

giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Can you check if a firewall disallows access to a port?

Postby giaviv » Wed Feb 01, 2012 10:56 am

Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: Can you check if a firewall disallows access to a port?

Postby bokkie » Thu Feb 02, 2012 4:12 am

Thanks Aviv. It's a useful link and offers some possibilities. I'll investigate it further. If I have a wham-bam moment and find a succinct solution you can do in MSIcode I'll post a snippet here.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 75 guests