Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc6a7ec commit ce6205fCopy full SHA for ce6205f
nsis/postgresql.nsi
@@ -623,6 +623,7 @@ Section $(componentServer) sec1
623
${ConfigWrite} "$DATA_DIR\pg_hba.conf" "host$\tall$\tall$\t" "0.0.0.0/0$\tmd5" $R0
624
; Add postgres to Windows Firewall exceptions
625
nsisFirewall::AddAuthorizedApplication "$INSTDIR\bin\postgres.exe" "PostgresPro server"
626
+
627
pop $0
628
${else}
629
!insertmacro _ReplaceInFile "$DATA_DIR\postgresql.conf" "#listen_addresses = 'localhost'" "listen_addresses = 'localhost'"
@@ -957,6 +958,8 @@ Section "Uninstall"
957
958
959
RMDir "$INSTDIR"
960
961
+ nsisFirewall::RemoveAuthorizedApplication "$INSTDIR\bin\postgres.exe"
962
963
Call un.DeleteInstallOptions
964
SetShellVarContext all
965
0 commit comments