From 8427a7cbf68bbc4783e4f13fc5fa1e7ba09b30d9 Mon Sep 17 00:00:00 2001 From: littleskunk Date: Sat, 23 Sep 2017 03:36:03 +0200 Subject: [PATCH] outbound firewall rule --- resources/windows/installer.nsi | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/windows/installer.nsi b/resources/windows/installer.nsi index 11c83d1..a4c3fce 100644 --- a/resources/windows/installer.nsi +++ b/resources/windows/installer.nsi @@ -191,6 +191,7 @@ Section "Install" ; Set Windows Firewall rule via PowerShell if user checked this option ${If} $AddFirewallRuleCheckbox_State == ${BST_CHECKED} nsExec::ExecToStack "powershell -Command $\"New-NetFirewallRule -DisplayName '${productName}' -Direction Inbound -Program '$INSTDIR\${exec}' -Action allow$\" " + nsExec::ExecToStack "powershell -Command $\"New-NetFirewallRule -DisplayName '${productName}' -Direction Outbound -Program '$INSTDIR\${exec}' -Action allow$\" " ${EndIf} ; Write EstimatedSize uninstaller registry key