Closed tresf closed 9 years ago
I took the netsh
approach as the NSIS approach added an additional DLL dependency and seemed to lack any recent maintenance. The syntax I used is Vista or higher:
netsh.exe advfirewall firewall add rule name="QZ Tray" dir=out action=allow profile=any \
localport=any localip=any protocol=tcp
If we decide to backport this to XP, the syntax will be slightly different as it does not use the advfirewall
switch.
It looks like a 3rd party plugin allows this via http://nsis.sourceforge.net/NSIS_Simple_Firewall_Plugin.
The idea is to prevent users from seeing this dialog on first load: