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

Commit1b336b0

Browse files
committed
If initdb return error <> 1, show error message with: Is Microsoft Visual C++ Redistributable
installed?
1 parent98aff3d commit1b336b0

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

‎nsis/postgresql.nsi

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,11 @@ Section $(componentServer) sec1
543543
FileWrite$LogFile"Output: $1$\r$\n"
544544
FileClose$LogFile;Closes the filled file
545545

546-
MessageBoxMB_OK|MB_ICONINFORMATION $(MESS_ERROR_INITDB)
546+
${if}$0!=1
547+
MessageBoxMB_OK|MB_ICONINFORMATION $(MESS_ERROR_INITDB2)
548+
${else}
549+
MessageBoxMB_OK|MB_ICONINFORMATION $(MESS_ERROR_INITDB)
550+
${endif}
547551

548552
Abort
549553
${else}

‎nsis/translates.nsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ The parameters are written to the file $DATA_DIR\postgresql.conf"
117117
LangString MESS_ERROR_INITDB${LANG_ENGLISH}"An error occurred while initializing the database!"
118118
LangString MESS_ERROR_INITDB${LANG_RUSSIAN}"Ïðè èíèöèàëèçàöèè áàçû äàííûõ ïðîèçîøëà îøèáêà!"
119119

120+
LangString MESS_ERROR_INITDB2${LANG_ENGLISH}"An error occurred while initializing the database! Is Microsoft Visual C++ Redistributable installed?"
121+
LangString MESS_ERROR_INITDB2${LANG_RUSSIAN}"Ïðè èíèöèàëèçàöèè áàçû äàííûõ ïðîèçîøëà îøèáêà! Óñòàíîâëåí ëè ïàêåò Microsoft Visual C ++ Redistributable?"
122+
120123

121124
LangString componentServer${LANG_ENGLISH}"Server components"
122125
LangString componentServer${LANG_RUSSIAN}"Êîìïîíåíòû ñåðâåðà"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp