Skip to content

Commit 0eff325

Browse files
committed
Write pgpro_upgrage.log
1 parent 2ff6d64 commit 0eff325

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

nsis/postgresql.nsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,11 @@ Section $(PostgreSQLString) sec1
517517
DetailPrint "pgpro_upgrade return $0"
518518
Pop $1 # printed text, up to ${NSIS_MAX_STRLEN}
519519
DetailPrint "$1"
520+
521+
; write log
522+
FileOpen $R0 "$INSTDIR\scripts\pgpro_upgrade.log" w
523+
FileWrite $R0 $1
524+
FileClose $R0
520525

521526
; Don't work with empty password:
522527
; StrCpy $1 $ServiceAccount_text

0 commit comments

Comments
 (0)