mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
windows installer: added more error messages in log.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user