NSentinel
Posts: 32
Joined: Mon Oct 27, 2008 10:09 am

IP & Port check during installation

Hi,

I want my setup program during installation phase check if user have opened some ports for outgoing connection and warn him if not. Usually, I do it with additional library executed during setup, but maybe Advanced Installer has better way to do this?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: IP & Port check during installation

Hi,

I'm afraid that this is not supported by Advanced Installer or by Windows Installer. Therefore, a good solution is to use custom actions (like you already do).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NSentinel
Posts: 32
Joined: Mon Oct 27, 2008 10:09 am

Re: IP & Port check during installation

Thank you. Maybe some day it will be nice new feature :)
narsingani
Posts: 23
Joined: Thu Sep 12, 2013 4:59 am

Re: IP & Port check during installation

Hi NSentinel,

Just wanted to check if you found any solution on this. I have similar issue where the application checks the IP and Port during the installation and if the IP is incorrect or the Port is occupied by another application then it produces error message.

Please let me know if you have worked this out.

Thanks!
Upendra
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: IP & Port check during installation

Hello Upendra,

In order to check a TCP port you can use our predefined "Check TCP port" custom action. However, please keep in mind that our predefined custom action can be used to check TCP ports only for the local machine where the setup package runs. So, if you want to check TCP ports from other machines (than your current machine where the setup is launched), then I'm afraid you should create your own custom action.

You can take a look on the "How to determine if a Tcp/IP Port is in use" thread which could be useful for you.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”