From 60125e8499e6f5962fcc8825aae2fa8057a7c0ad Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Sat, 14 Jul 2012 01:29:39 +0000 Subject: [PATCH] added firewall exception to installer --- res/synergy.nsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/res/synergy.nsh b/res/synergy.nsh index 723b1005..ec079a69 100644 --- a/res/synergy.nsh +++ b/res/synergy.nsh @@ -169,6 +169,10 @@ Section "Server and Client" core File "${binDir}\Release\synrgyhk.dll" ${EndIf} + ; windows firewall exception + DetailPrint "Adding firewall exception" + nsExec::ExecToStack "netsh firewall add allowedprogram $\"$INSTDIR\synergys.exe$\" Synergy ENABLE" + ; install and run the service ExecWait "$INSTDIR\synergyd.exe /install"