Sun JRE 5.0

R

remove.com

Hi all,

Forgive me if I'm posting to the wrong newsgroup, but google groups has
not led me to a more appropriate newsgroup and this seems like an
appropriate place to post.

I'm trying to do an silent (no user interaction) install of JRE 1.5.0.
This succeeds using the modifiers /S /V/passive to the setup program. My
understanding of theese paramenter:

/S = suppress initialization,
/V = pass following arguments to msiexec,
/passive = suppress user dialogs.

Trouble is when java is installed in
this manner support for the <APPLET> tag isn't enabled in IE (it is when
you do a standard install - strange, dare I say unexpected, behaviour
:). You can enable this following instructions found at

http://www.java.com/en/download/help/5000020200.xml

As far as I could figure out this adds the following registry entries

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.5.0_02]
"JavaHome"="H:\\Program Files\\Java\\jre1.5.0_02"
"HideSystemTrayIcon"=dword:00000000
// The following line if applet support enabled
"UseJava2IExplorer"=dword:00000001
// else this
"UseJava2IExplorer"=dword:00000000

// All of the following only if applet support enabled
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed
Components\{08B0E5C0-4FCB-11CF-AAA5-00401C608500}]
@="Java (Sun)"
"ComponentID"="JAVAVM"
"IsInstalled"=dword:00000001
"KeyFileName"="H:\\Program Files\\Java\\jre1.5.0_02\\bin\\regutils.dll"
"Version"="5,0,5000,0"
"Locale"="EN"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet
Explorer\AdvancedOptions\JAVA_SUN]
"Text"="Java (Sun)"
"Type"="group"
"Bitmap"="H:\\Program Files\\Java\\jre1.5.0_02\\bin\\regutils.dll,1000"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet
Explorer\AdvancedOptions\JAVA_SUN\SELECT]
"RegPath"="Software\\JavaSoft\\Java Plug-in\\1.5.0_02"
"Text"="Use JRE 1.5.0_02 for <applet> (requires restart)"
"Type"="checkbox"
"ValueName"="UseJava2IExplorer"
"HKeyRoot"=dword:80000002
"CheckedValue"=dword:00000001
"DefaultValue"=dword:00000001
"UncheckedValue"=dword:00000000

Anyway it should be possible to add theese registry entries with a small
script, but it is really a hack, so I wanted to get some input on
another way to do it. Has anyone done the same, or have any ideas?

Thanks in advance

Mads
 
J

Jim Macklin

Try contacting the Java people at Sun or Java.


message | Hi all,
|
| Forgive me if I'm posting to the wrong newsgroup, but
google groups has
| not led me to a more appropriate newsgroup and this seems
like an
| appropriate place to post.
|
| I'm trying to do an silent (no user interaction) install
of JRE 1.5.0.
| This succeeds using the modifiers /S /V/passive to the
setup program. My
| understanding of theese paramenter:
|
| /S = suppress initialization,
| /V = pass following arguments to msiexec,
| /passive = suppress user dialogs.
|
| Trouble is when java is installed in
| this manner support for the <APPLET> tag isn't enabled in
IE (it is when
| you do a standard install - strange, dare I say
unexpected, behaviour
| :). You can enable this following instructions found at
|
| http://www.java.com/en/download/help/5000020200.xml
|
| As far as I could figure out this adds the following
registry entries
|
| [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java
Plug-in\1.5.0_02]
| "JavaHome"="H:\\Program Files\\Java\\jre1.5.0_02"
| "HideSystemTrayIcon"=dword:00000000
| // The following line if applet support enabled
| "UseJava2IExplorer"=dword:00000001
| // else this
| "UseJava2IExplorer"=dword:00000000
|
| // All of the following only if applet support enabled
| [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active
Setup\Installed
| Components\{08B0E5C0-4FCB-11CF-AAA5-00401C608500}]
| @="Java (Sun)"
| "ComponentID"="JAVAVM"
| "IsInstalled"=dword:00000001
| "KeyFileName"="H:\\Program
Files\\Java\\jre1.5.0_02\\bin\\regutils.dll"
| "Version"="5,0,5000,0"
| "Locale"="EN"
|
| [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet
| Explorer\AdvancedOptions\JAVA_SUN]
| "Text"="Java (Sun)"
| "Type"="group"
| "Bitmap"="H:\\Program
Files\\Java\\jre1.5.0_02\\bin\\regutils.dll,1000"
|
| [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet
| Explorer\AdvancedOptions\JAVA_SUN\SELECT]
| "RegPath"="Software\\JavaSoft\\Java Plug-in\\1.5.0_02"
| "Text"="Use JRE 1.5.0_02 for <applet> (requires restart)"
| "Type"="checkbox"
| "ValueName"="UseJava2IExplorer"
| "HKeyRoot"=dword:80000002
| "CheckedValue"=dword:00000001
| "DefaultValue"=dword:00000001
| "UncheckedValue"=dword:00000000
|
| Anyway it should be possible to add theese registry
entries with a small
| script, but it is really a hack, so I wanted to get some
input on
| another way to do it. Has anyone done the same, or have
any ideas?
|
| Thanks in advance
|
| Mads
 
A

Admiral Q

My suggestion - look on the SUN site for 'How to do a "silent" java
installation'?

--
Star Fleet Admiral Q @ your service!
"Google is your Friend!"
www.google.com

***********************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top