added firewall exception to installer

This commit is contained in:
Nick Bolton 2012-07-14 01:29:39 +00:00
parent 4378e520f0
commit 60125e8499
1 changed files with 4 additions and 0 deletions

View File

@ -169,6 +169,10 @@ Section "Server and Client" core
File "${binDir}\Release\synrgyhk.dll" File "${binDir}\Release\synrgyhk.dll"
${EndIf} ${EndIf}
; windows firewall exception
DetailPrint "Adding firewall exception"
nsExec::ExecToStack "netsh firewall add allowedprogram $\"$INSTDIR\synergys.exe$\" Synergy ENABLE"
; install and run the service ; install and run the service
ExecWait "$INSTDIR\synergyd.exe /install" ExecWait "$INSTDIR\synergyd.exe /install"