windows installer: added more error messages in log.

This commit is contained in:
Vladimir.Orlov
2018-10-16 15:48:45 +03:00
parent 654add6d8b
commit 79eaafabf8
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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}
@@ -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