简体   繁体   中英

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?

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM