From 79eaafabf8ebf5c186ea60ffbf9e1bf4f450dca2 Mon Sep 17 00:00:00 2001 From: "Vladimir.Orlov" Date: Tue, 16 Oct 2018 15:48:45 +0300 Subject: [PATCH] windows installer: added more error messages in log. --- build/conf/nsis/idea.nsi | 4 ++-- python/educational-python/build/customInstallActions.nsi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/conf/nsis/idea.nsi b/build/conf/nsis/idea.nsi index 360482f6955b..7a7adaa54927 100644 --- a/build/conf/nsis/idea.nsi +++ b/build/conf/nsis/idea.nsi @@ -453,7 +453,7 @@ Function downloadJre ${If} $0 == "OK" untgz::extract "-d" "$INSTDIR\jre32" "$TEMP\jre.tar.gz" StrCmp $R0 "success" remove_temp_jre - ${LogText} "jre32: Failed to extract" + ${LogText} "ERROR: jre32: Failed to extract" DetailPrint "Failed to extract jre.tar.gz" MessageBox MB_OK|MB_ICONEXCLAMATION|MB_DEFBUTTON1 "Failed to extract $TEMP\jre.tar.gz" Goto clean @@ -463,7 +463,7 @@ clean: IfFileExists "$TEMP\jre.tar.gz" 0 done Delete "$TEMP\jre.tar.gz" ${Else} - ${LogText} "jre32: download ${LINK_TO_JRE} is failed: $0" + ${LogText} "ERROR: jre32: download ${LINK_TO_JRE} is failed: $0" MessageBox MB_OK|MB_ICONEXCLAMATION "The ${LINK_TO_JRE} download is failed: $0" ${EndIf} ${EndIf} diff --git a/python/educational-python/build/customInstallActions.nsi b/python/educational-python/build/customInstallActions.nsi index e073bc8cf63a..f22aa345d8bb 100644 --- a/python/educational-python/build/customInstallActions.nsi +++ b/python/educational-python/build/customInstallActions.nsi @@ -194,13 +194,13 @@ get_python: ${LogText} "install python_$R8" ExecDos::exec /NOUNLOAD /ASYNC '$R7"$INSTDIR\python\python_$R8" $R9' ${Else} - ${LogText} "The python_$R8 download is failed: $0" + ${LogText} "ERROR: the python_$R8 download is failed: $0" MessageBox MB_OK|MB_ICONEXCLAMATION "The download is failed: $0" /SD IDOK ${EndIf} python_exists: Goto done skip_python_download: - ${LogText} "no internet connection" + ${LogText} "ERROR: no internet connection" done: FunctionEnd