
set INSTDIR=%1%
set CERTPATH=%INSTDIR%\phonalisa-data\certs

netsh firewall add allowedprogram name="Phonalisa VoIP Service" program="%INSTDIR%\phonalisa-voipd.exe" MODE=enable profile=ALL
netsh firewall add allowedprogram name="Phonalisa CTI Service" program="%INSTDIR%\phonalisa-ctid.exe" MODE=enable profile=ALL
netsh firewall add allowedprogram name="Phonalisa Database Service" program="%INSTDIR%\phonalisa-dbsrv.exe" MODE=enable profile=ALL
netsh firewall add allowedprogram name="Phonalisa Control Service" program="%INSTDIR%\phonalisa-ctrld.exe" MODE=enable profile=ALL
netsh firewall add allowedprogram name="Phonalisa Log Service" program="%INSTDIR%\phonalisa-logd.exe" MODE=enable profile=ALL
netsh firewall add allowedprogram name="Phonalisa Message Service" program="%INSTDIR%\phonalisa-msgd.exe" MODE=enable profile=ALL
netsh firewall add allowedprogram name="Phonalisa Web Service" program="%INSTDIR%\webserver\nginx.exe" MODE=enable profile=ALL

