Silent JRE Installation (Win32)
Posted on 2000-04-18
Whenever I install a Java application for someone who doesnt have current version of the JRE, I explicitly call the JRE installation program from my installation program (InstallShield). This creates an installation inside of an installation. This confuses some customers (usually not the smart ones ;)). I would like to have an installation program that silently installs the JRE (along with XML and JMF) along with my own files.
Unfortunately, I can't just plop the files out there since I need the "Executable Jar" and Plugin capabilities.
I can't seem to find what all is done during the installation and I can't find anything on the web stating the registry entries that are made.
Im only concerned with the Windows side of things (UNIX people seem to know what they are doing... go figure :))
I found the following registry entries. However, I don't know which ones I need (and if there are more).
HKEY_CURRENT_USER\Software\JavaSoft\Java Plug-in *
I'd prefer not to blow up anything locally by playing around with it. (Ive done it before). I know enough about the Win32 registry to be dangerous.
An extra 200 points if you can give me info about the installation of JMF (I believe thats just a jar file installation, but not sure) and XML (Id prefer the IBM implementation (until xerces comes out)). This may also be a simple jar file implementation (although the Sun implementation does registry entries).
Thanks. Any comments are welcome.