No I don't think so. The windows firewall is external to your program. So unless you have administrative rights to unblock the port that the program needs to update itself, the Windows firewall will block it. Sometimes antivirus programs also may block certain ports.
Ok , but this program runs evrytime a user logs in , so evry time a user logs in , he/she has to unblock it?[/quote]
Running a chat system every time a user logs in to the computer is bad practice unless the user explicitly wants it to do so. So you should provide an option for the user to check/uncheck this feature. However if the administrator has unblocked it, the user won't have to unblock it every time he/she logs in.
Can't you unblock it once you install it, and WF will never bother you again for the rest of your life?
Windows Firewall does not block a program when you install it. It blocks a program the first time the program tries to accept an unsolicited incoming connection. But if the administrator unblocks it, it won't trouble you again. However this cannot be done at installation time. It should be done at the initial execution. In any case this is a manual process and not a programable process. All depends on whether the administrator permits the program.