Jump to content

Sun Java Runtime 6 update 24 x86


Kelsenellenelvian

Recommended Posts

  • 4 weeks later...

this works much better...

disabling the d@mn "quick starter" service is a MUST...

;!@Install@!UTF-8!
GUIMode="2"
RunProgram="Java.msi /qn ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 SYSTRAY=0 JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0"
RunProgram="\"C:\\Program Files\\Java\\jre6\\bin\\jqs.exe\" -unregister"
RunProgram="regedit /s java.reg"
;!@InstallEnd@!

and the update-check entry you have used doesn't seem to jive, try this instead -

[HKEY_CURRENT_USER\Software\JavaSoft\Java Update\Policy]
"EnableAutoUpdateCheck"=hex:01,00,00,00,d0,8c,9d,df,01,15,d1,11,8c,7a,00,c0,4f,\
c2,97,eb,01,00,00,00,95,1a,3a,6a,da,1d,56,49,9d,23,dc,0e,e8,f5,97,62,00,00,\
00,00,1c,00,00,00,50,00,61,00,73,00,73,00,77,00,6f,00,72,00,64,00,20,00,44,\
00,61,00,74,00,61,00,00,00,03,66,00,00,a8,00,00,00,10,00,00,00,bc,f0,2a,6f,\
bb,65,46,e7,e3,c5,06,5e,21,cc,8b,35,00,00,00,00,04,80,00,00,a0,00,00,00,10,\
00,00,00,67,0c,e5,4a,75,25,eb,4b,33,5a,4a,27,c9,5a,28,39,08,00,00,00,b3,b9,\
a2,ba,f1,81,be,10,14,00,00,00,bd,52,6a,9e,b3,e7,dd,06,89,b1,74,32,0b,e8,25,\
ac,4b,64,1b,99

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]
"EnableAutoUpdateCheck"=dword:00000000
"EnableJavaUpdate"=dword:00000000
"NotifyDownload"=dword:00000000
"NotifyInstall"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"SunJavaUpdateSched"=-

hope this info is found useful...

thanks for the jump-start...

Link to comment
Share on other sites

RunProgram="\"C:\\Program Files\\Java\\jre6\\bin\\jqs.exe\" -unregister"

Where in the hell did you find that?

that and the registry entry came from here --> http://wpkg.org/Java

the registry entry was also found on other sites, hence why i have two "notify" entries as well...

the above entry, inclusive of the java.msi install switches, totally and completely removes the "phone-home" autoupdate CRAP (right down to the update tab in the control panel console)...

but disabling autoupdate withOUT disabling the "quick starter" is kinda pointless - the "quick starter" phone's home with every computer restart, according to my firewall...

edit: ps, i take it one step further and DISABLE the storage of temp files, but i suspect that's "just me", lol...

but the only way i've been able to do that is for my silent install process to execute "javacpl.exe", wait five seconds, taskkill javaw.exe, then overwrite the "deployment.properties" file that Java (javaw.exe?) creates on "first run", which executing javacpl.exe will also create without actually going to a Java-embedded website...

edit 2 - i should mention that i'm on WinXP SP3...

Edited by WinCert-GuEsT
Link to comment
Share on other sites

  • 1 month later...

Hello Kelsenellenelvian :D , I was looking at the setup of Java, and or noticed that the command that runs the original setup to uninstall the service and this

%systemroot%\system32\rundll32.exe "%ProgramFiles%\Java\jre6\bin\regutils.dll",MSIUninstallJQS

almost the entire setup is based on this file regutils.dll

MSIInstallJRE

MSIUninstallJRE

MSIUninstallJUpdate

MSIunzipcore

MSIcharsets

MSIdeploy

MSIDuplicateUnzippedFiles

MSIjavaws

MSIjaws

MSIjsse

KillFirefox

KillIExplore

MSIlocaledata

MSIrt

(RunProgram="\"C:\\Program Files\\Java\\jre6\\bin\\jqs.exe\" -unregister") also works ok, however or perhaps thought better and run the original "regutils.dll,MSIUninstallJQS"

Ciao ;)

Edited by OnePiece
Link to comment
Share on other sites

(RunProgram="\"C:\\Program Files\\Java\\jre6\\bin\\jqs.exe\" -unregister") also works ok, however or perhaps thought better and run the original "regutils.dll,MSIUninstallJQS"

Ciao ;)

i DISAGREE...

that jqs.exe -unregister build did work for me...

this MSIUnistallJQS tidbit did *NOT*...

Link to comment
Share on other sites

OK remodified it...

Reverted to the old command plus a couple small mods.

UPDATED!

Awesome! Workin' like a charm...

in case you're interested in another "small mod", here's what i'm currently using

;!@Install@!UTF-8!
GUIMode="2"
RunProgram="Java.msi /qn ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 SYSTRAY=0 JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 MODIFYREMOVE=modify"
RunProgram="\"%PROGRAMFILES%\\Java\\jre6\\bin\\jqs.exe\" -unregister"
RunProgram="regedit /s java.reg"
RunProgram="\"%PROGRAMFILES%\\Java\\jre6\\bin\\javacpl.exe\""
RunProgram="nircmdc.exe wait 5000"
RunProgram="nircmdc.exe killprocess javaw.exe"
RunProgram="nircmdc.exe wait 2500"
RunProgram="cmd /c copy \"deployment.properties\" \"%APPDATA%\\Sun\\Java\\Deployment\\deployment.properties\""
;!@InstallEnd@!

basically, i don't like the "temp files" being stored, so the above is fixing that...

dep.prop is a file created the first time Java is "ran" OR when the control panel is opened (which is what i'm doing, i open it, then "kill it" five seconds later, giving it time to actually "open")...

then i give it 2.5 seconds to actually "cose" then i over-write that dep.prop with a saved one from a virtual environment install...

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...