Skip to content
⌘ NSIS Forum Archive

JRE 1.7 Fails using NSIS

1 posts

madhuthetom#

JRE 1.7 Fails using NSIS

Hi

I was using this NSIS script code piece to download JRE 1.6 , and today it works fine, but the application has started to use 1.7, the same code , fails, I did find the new bundileID for JRE 1.7 , Can some one help me with this issue. I am uploading the entire NSIS script also for people reference . I get different windows codes not use what to do. One time i got 3010 , then i took out the reboot, then i got 1603 . Can some one please help me ?

The URL i am using is

!define JRE_URL http://javadl.sun.com/webapps/downlo...BundleId=83385


IfSilent doSilent
ExecWait '"$TEMP\jre_setup.exe" /passive REBOOT=Suppress JAVAUPDATE=0 WEBSTARTICON=0 /L \"$TEMP\jre_setup.log\"' $0
goto jreSetupfinished
doSilent:
ExecWait '"$TEMP\jre_setup.exe" /S REBOOT=Suppress JAVAUPDATE=0 WEBSTARTICON=0 /L \"$TEMP\jre_setup.log\"' $0