Is there a way for the installer to add itself to the firewall exception list?
my program connects to an Ethernet device, and if the WinXP Firewall is on, the program won't work.
I assume Windows will allow the user to grant this? If possible that is.
Thanks!
Add program to Firewall Exception List
6 posts
Thanks,My problem is fixed
Hi,
I used the first plug-in to add an application to the firewall exclude list, but I always get error and the application is not added. First I checked if the service is running as it is suggested:
SimpleFC::IsFirewallServiceRunning
It returns information that the service is running. Then I try to add an application:
SimpleFC::AddApplication "My Application" "PathToApplication" 0 2 "" 1
Pop $0
But $0 returns always 1 and the application is not added.
Any ideas?
I used the first plug-in to add an application to the firewall exclude list, but I always get error and the application is not added. First I checked if the service is running as it is suggested:
SimpleFC::IsFirewallServiceRunning
It returns information that the service is running. Then I try to add an application:
SimpleFC::AddApplication "My Application" "PathToApplication" 0 2 "" 1
Pop $0
But $0 returns always 1 and the application is not added.
Any ideas?
Sorry, I forgot to tell that I make test of Windows XP.
I solved my problem. The parameter "PathToApplication" must contain not only the path to application, but also the name of the application.
Now all works fine!
Now all works fine!