David
David

Reputation: 1058

Programmatically add rule to AVG Firewall

I use AVG and have noticed when installing programs requiring internet access they frequently appear to add a 'Trusted Rule' to AVG's firewall giving them appropriate internet access rights. Does anyone have any idea how this is achieved?

Upvotes: 3

Views: 864

Answers (2)

David
David

Reputation: 1058

Having waited a couple of weeks, AVG Support did finally get back to me. You need to send them your program (or at least a link) for them to 'test' it. If OK, they will then add it to their Trusted Programs database.

Upvotes: 0

pjvds
pjvds

Reputation: 956

You could use the FirewallInstallHelper.dll in a installation process (MSI, Wise, or other) to change firewall rules. Just notice that most firewall software still ask permission from the user.

This is what we used: http://msdn.microsoft.com/en-us/library/windows/desktop/ee417690(v=vs.85).aspx#Integrating_into_Windows_Installer

Upvotes: 1

Related Questions