We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

CheckFreeTCPPort

Hi,

I have read the guide you have up on your site... but still cannot get the CheckFreeTcpPort to function as described.

Please check out the attached project and let me know why the call to CheckFreeTcpPort is not working

Thanks
Mike
Attachments
CustomAction.zip
(31.96 KiB) Downloaded 302 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: CheckFreeTCPPort

Hi Mike,

In order to be able to get a free TCP Port, you do not need to write any property in the "Host name or IP" and "TCP port" fields of your custom action, you just need to assign the "AI_SEARCH_TCP_PORT" property to the "Edit box" control where the user will introduce the port (as shown in the third image of the "How to check if a TCP port is free by using a custom action" tutorial).

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: CheckFreeTCPPort

I am not looking for a free tcp port... I am checking if an IP / Port is in use.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: CheckFreeTCPPort

Hi Mike,

In this case you can use the "Check TCP Port" predefined custom action as described in the article I mentioned in my previous post.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”