Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitce6205f

Browse files
committed
Remove postgres.exe from Windows Firewall exception list when uninstall
1 parentcc6a7ec commitce6205f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎nsis/postgresql.nsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,7 @@ Section $(componentServer) sec1
623623
${ConfigWrite}"$DATA_DIR\pg_hba.conf""host$\tall$\tall$\t""0.0.0.0/0$\tmd5"$R0
624624
; Add postgres to Windows Firewall exceptions
625625
nsisFirewall::AddAuthorizedApplication"$INSTDIR\bin\postgres.exe""PostgresPro server"
626+
626627
pop$0
627628
${else}
628629
!insertmacro _ReplaceInFile"$DATA_DIR\postgresql.conf""#listen_addresses = 'localhost'""listen_addresses = 'localhost'"
@@ -957,6 +958,8 @@ Section "Uninstall"
957958

958959
RMDir"$INSTDIR"
959960

961+
nsisFirewall::RemoveAuthorizedApplication"$INSTDIR\bin\postgres.exe"
962+
960963
Call un.DeleteInstallOptions
961964
SetShellVarContextall
962965

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp