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 cb65206 commit abee506Copy full SHA for abee506
1 file changed
nsis/postgresql.nsi
@@ -403,13 +403,12 @@ Section $(PostgreSQLString) sec1
403
${endif}
404
pop $0
405
Pop $1 # printed text, up to ${NSIS_MAX_STRLEN}
406
-
407
- FileOpen $R1 "$DATA_DIR\..\initdb.log" w
408
- FileWrite $R1 $1
409
- FileClose $R1
410
411
${if} $0 != 0
+ FileOpen $R1 "$DATA_DIR\..\initdb.log" w
412
${Utf8ToAnsi} $1 $2
+ FileWrite $R1 $2
+ FileClose $R1
413
DetailPrint "initdb.exe return $0"
414
DetailPrint "Output: $2"
415
Sleep 5000
0 commit comments