Prev Previous Post   Next Post Next
Old 17th January 2020, 03:55   #1
chimeplus
Junior Member
 
Join Date: Jan 2020
Posts: 1
Nsis jre download fail

IS recent Java have updated make all the JRE runtime enviroment download fail ?
how to resolve this?

!define JRE_VERSION "1.6"
!define JRE_URL "http://javadl.sun.com/webapps/download/AutoDL?BundleId=58134"
Function GetJRE
MessageBox MB_YESNO|MB_ICONQUESTION $(JavaInstall) IDNO done
StrCpy $2 "$TEMP\Java Runtime Environment.exe"
nsisdl::download /TIMEOUT=30000 ${JRE_URL} $2
Pop $R0
StrCmp $R0 "success" +3
MessageBox MB_OK "Error: $R0"
Quit
ExecWait "$2"
Delete "$2"
done:
FunctionEnd

was no long success and timeout even the URL was ok~

anyone have solution for this ?
chimeplus is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
download

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump