2

I'm trying to install a jre-6u43-windows-i586 on my computer in static silent mode. This is a part of another installer. I run

jre-6u43-windows-i586.exe /s STATIC=1 INSTALLDIR=D:\\java1

And it installs great. Then, I'm trying to install it one more time, like

jre-6u43-windows-i586.exe /s STATIC=1 INSTALLDIR=D:\\java2

and it does not installs till I delete previous installation via Programs and Features.

How can I create a completely standalone JRE installation, so it does not lists in Programs and Features, does not registers itself in registry and so on. So, that I can create as many embedded installations as I want.

P.S. I know that I can just pack once installed JRE and then unpack it anywhere, but maybe there is more proper way of doing this?

madhead
  • 31,729
  • 16
  • 153
  • 201
  • Why closing this, moderators? – madhead Apr 19 '13 at 16:39
  • It is not closed. Someone voted to close but that doesn't necessarily mean that it will be closed. – maba Apr 19 '13 at 16:42
  • @maba I know. My previous related question about installers was closed as not constructive. It was a bit unconstructive, but... The problem exists for me. I'll even accept "No way to do this" answer if it is true, but I want to be sure. – madhead Apr 19 '13 at 16:46
  • [This question](http://stackoverflow.com/questions/1619662/where-can-i-get-the-latest-jre-jdk-as-a-zip-file-i-mean-no-exe-installer) is quite similar to yours even though it isn't pure new. See if it helps. – maba Apr 19 '13 at 17:14

1 Answers1

1

See if you can make use of the Portable Java that you can find here.

I think it does what you want and it won't clutter the registry.

maba
  • 47,113
  • 10
  • 108
  • 118
  • Can it be installed in silent mode as a part of another installer? Seems like it is NSIS installer, but `/S` and `/D` options does not work. – madhead Apr 19 '13 at 17:48