jweinraub
3rd May 2007 19:08 UTC
Add program to Firewall Exception List
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!
dhiraj3301
3rd May 2010 14:09 UTC
Thanks,My problem is fixed
TrifonovS
1st August 2013 12:09 UTC
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?
TrifonovS
1st August 2013 12:13 UTC
Sorry, I forgot to tell that I make test of Windows XP.
TrifonovS
1st August 2013 13:08 UTC
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!