• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Sign in to follow this  
Followers 0
saitoh183

Java switchless installation problem

26 posts in this topic

I found this on the ryanvm forum

first download the installer from the link posted above.

then go to start>run and type %systemdrive%:\jre-1_5_0_05-windows-i586-p.exe /a

after that u will get 2 folder one called common and the other called program files and a .msi file.

use this method to create the silent installer:

http://ryanvm.net/forum/viewtopic.php?t=67.

done

When i do that all i get is the msi and the mst files....no common or program files....

0

Share this post


Link to post
Share on other sites
I found this on the ryanvm forum
first download the installer from the link posted above.

then go to start>run and type %systemdrive%:\jre-1_5_0_05-windows-i586-p.exe /a

after that u will get 2 folder one called common and the other called program files and a .msi file.

use this method to create the silent installer:

http://ryanvm.net/forum/viewtopic.php?t=67.

done

When i do that all i get is the msi and the mst files....no common or program files....

this is the right url to understanding your post. http://ryanvm.net/forum/viewtopic.php?t=479

i have give a try and it works for me, look at the root of your hard disk where the jre-1_5_0_05-windows-i586-p.exe exist. for example, this is D:\XPPROF\INSTALL\SUNJAVA\jre-1_5_0_05-windows-i586-p.exe then the common and programfiles and msi files are in D:\

edit: i dont use the whole command, i use only the "jre-1_5_0_05-windows-i586-p.exe /a"

Edited by SolidasRock
0

Share this post


Link to post
Share on other sites

I found this on the ryanvm forum

first download the installer from the link posted above.

then go to start>run and type %systemdrive%:\jre-1_5_0_05-windows-i586-p.exe /a

after that u will get 2 folder one called common and the other called program files and a .msi file.

use this method to create the silent installer:

http://ryanvm.net/forum/viewtopic.php?t=67.

done

When i do that all i get is the msi and the mst files....no common or program files....

this is the right url to understanding your post. http://ryanvm.net/forum/viewtopic.php?t=479

i have give a try and it works for me, look at the root of your hard disk where the jre-1_5_0_05-windows-i586-p.exe exist. for example, this is D:\XPPROF\INSTALL\SUNJAVA\jre-1_5_0_05-windows-i586-p.exe then the common and programfiles and msi files are in D:\

edit: i dont use the whole command, i use only the "jre-1_5_0_05-windows-i586-p.exe /a"

Wait, i think i have discover your problem, do you have downloaded the OFFLINE installer? the ONLINE installer is not completed... ;)

0

Share this post


Link to post
Share on other sites

I just did it again but i dont see the folders...my exe is in c:\music\jre5.exe so the folders should be in c:\...? should i be looking for c:\Common and c:\Program Files or Programfiles?

0

Share this post


Link to post
Share on other sites
I just did it again but i dont see the folders...my exe is in c:\music\jre5.exe so the folders should be in c:\...? should i be looking for c:\Common and c:\Program Files or Programfiles?

have you read my last post?

0

Share this post


Link to post
Share on other sites

I found this on the ryanvm forum

first download the installer from the link posted above.

then go to start>run and type %systemdrive%:\jre-1_5_0_05-windows-i586-p.exe /a

after that u will get 2 folder one called common and the other called program files and a .msi file.

use this method to create the silent installer:

http://ryanvm.net/forum/viewtopic.php?t=67.

done

When i do that all i get is the msi and the mst files....no common or program files....

this is the right url to understanding your post. http://ryanvm.net/forum/viewtopic.php?t=479

i have give a try and it works for me, look at the root of your hard disk where the jre-1_5_0_05-windows-i586-p.exe exist. for example, this is D:\XPPROF\INSTALL\SUNJAVA\jre-1_5_0_05-windows-i586-p.exe then the common and programfiles and msi files are in D:\

edit: i dont use the whole command, i use only the "jre-1_5_0_05-windows-i586-p.exe /a"

Wait, i think i have discover your problem, do you have downloaded the OFFLINE installer? the ONLINE installer is not completed... ;)

It was the Offline Installer 15.6MB

0

Share this post


Link to post
Share on other sites
It was the Offline Installer 15.6MB

Ok, you do something wrong, i dont know what.

if you have a other station than C (as if D or higher) please place the file there in the root. go to dos and type jre-1_5_0_05-windows-i586-p.exe /a

you will notice 3 things in the root of that station: a map called "program files", a map called "common" and a file called "J2SE Runtime Environment 5.0 Update 5.msi"

Edited by SolidasRock
0

Share this post


Link to post
Share on other sites

Well this time i ran it from a network drive then i did cmd typed the command...the installation started then i check in X:\ but there is no common nor program files. I tried on 2 PCs...if i do it from x:\rh_install , do the folders appear in X: or in C:? when i had did it in C:\music, i looked in C:\Documents and Settings\z63748\Local Settings\Application Data\{3248F0A6-6813-11D6-A77B-00B0D0150050}...to find the msi and mst files...but no Common or program files...i used this command: x:\rh_install\jre505.exe /a (renamed the file)

0

Share this post


Link to post
Share on other sites
Well this time i ran it from a network drive then i did cmd typed the command...the installation started then i check in X:\ but there is no common nor program files. I tried on 2 PCs...if i do it from x:\rh_install , do the folders appear in X: or in C:? when i had did it in C:\music, i looked in C:\Documents and Settings\z63748\Local Settings\Application Data\{3248F0A6-6813-11D6-A77B-00B0D0150050}...to find the msi and mst files...but no Common or program files...i used this command: x:\rh_install\jre505.exe /a (renamed the file)

i believe it is not able to do this on a networkdrive. and on C: there exist program files, maybe is that the problem too. i dont know how to tell java to unzip everything to a map called "whatever". i have do a /? but it dont help me further...

maybe someone other can help you...

0

Share this post


Link to post
Share on other sites
Ryanvm already has a switchless installer on his main page

http://ryanvm.msfn.org/

True, but RyanVM have disabled the update function, i dont understand why? some people shall never check if there is newer java aviable. So i was curious how to make self one with update enabled...

0

Share this post


Link to post
Share on other sites

So do java.msi /qb-! Custom=1 AddLocal=ALL IExplorer=1 Javaupdate=1 Reboot=Suppress

0

Share this post


Link to post
Share on other sites
So do java.msi /qb-! Custom=1 AddLocal=ALL IExplorer=1 Javaupdate=1 Reboot=Suppress

Thanks again, but do you know why RyanVM disable the update function?

0

Share this post


Link to post
Share on other sites

because most people don't use it and it eat's a huge hunk of memory and some bandwith and dosn't do much.

0

Share this post


Link to post
Share on other sites
because most people don't use it and it eat's a huge hunk of memory and some bandwith and dosn't do much.

Really? damned... why dont they write the program so that it check once a week or something like that.... :}

and it do something, it checks for new version. (maybe they found bugs in the old version?)

Edited by SolidasRock
0

Share this post


Link to post
Share on other sites

Don't ask me. Many software developer's do not think thing's through. Take Nero 7, it install's nero scout with every program, when only one program can use it.

0

Share this post


Link to post
Share on other sites
Don't ask me. Many software developer's do not think thing's through. Take Nero 7, it install's nero scout with every program, when only one program can use it.

Ok i dont ask it you :lol:

but thanks for all your help :thumbup i see you somewhere at the forum

greetz

Edited by SolidasRock
0

Share this post


Link to post
Share on other sites

Could imagine the system that had all of these threads running in the background like the java updater? Each of them taking upwards of 2MB a piece. I swear my desktop with 2GB of RAM would get swamped before long if I let all that crap run.

0

Share this post


Link to post
Share on other sites
because most people don't use it and it eat's a huge hunk of memory and some bandwith and dosn't do much.

i have give the orginal non-silented java.exe a try.

i dont see any "javaupdate.exe" (dont know the exactly name of it) eaten up my memory, also when entering configscreen>java>update> you will see it is set at "monthly check at updates".

i have a question: if i add mozilla to the commandline you give me and dont install mozilla (i usually dont), give it me trouble?

java.msi /qb-! Custom=1 AddLocal=ALL IExplorer=1 Mozilla=1 Javaupdate=1 Reboot=Suppress

Edited by SolidasRock
0

Share this post


Link to post
Share on other sites

@solidas, if you run taskmanager, you'll notice a process called jusched, that is the update function, and it runs all the time regardless of the time update set.

Also if you go to this site:

http://java.com/en/download/help/silent_install.xml

It gives an explanation of what switches to use.

They only seem to work with the .exe not with the extracted .msi file though - at least i can't get them to work with the msi

0

Share this post


Link to post
Share on other sites
@solidas, if you run taskmanager, you'll notice a process called jusched, that is the update function, and it runs all the time regardless of the time update set.

Also if you go to this site:

http://java.com/en/download/help/silent_install.xml

It gives an explanation of what switches to use.

They only seem to work with the .exe not with the extracted .msi file though - at least i can't get them to work with the msi

ah i see; the jusched eat 2 MB, that is huge and i am sure it can be lower.

but i dont care, my total used MB is 217 MB, i am not happy when used 215 MB, however... the information at that link is probally only for the 1.4.2. which is very old.

if you use 1.5.0.5 the switches given by keytotime works fine.... (have already tested it)

but again: would the switch mozilla=1 give me problems if i dont install mozilla?

Edited by SolidasRock
0

Share this post


Link to post
Share on other sites

no it shouldn't give any issues if use the mozilla=1 switch as well

[edit]

you say the iexplorer=1 works.

Can you just check for me please and clcik control panel | java | Advanced | open <APPLETT> support and o you have a tick against IE?

If no then the switch i don't think worked, if yes then i've no idea what i'm doing wrong as use teh same switches

[/edit]

Edited by oioldman
0

Share this post


Link to post
Share on other sites

Easist way i found was to make a batch file with

msiexec /i Java.msi /quiet

0

Share this post


Link to post
Share on other sites
no it shouldn't give any issues if use the mozilla=1 switch as well

[edit]

you say the iexplorer=1 works.

Can you just check for me please and clcik control panel | java | Advanced | open <APPLETT> support and o you have a tick against IE?

If no then the switch i don't think worked, if yes then i've no idea what i'm doing wrong as use teh same switches

[/edit]

see the pic

i downloaded the file from java themself and it is a offline installer (15,6 MB) called:

jre-1_5_0_05-windows-i586-p.exe

i exctracted it with the /a switch.... you will get a msi and 2 maps called "program files" and "common", place them in (for example) in "SunJava" map...

i install it with WPI by the next commandline:

cmd1[pn]=['%CDROM%\\Install\\SunJava\\JRE5.0.5.msi /qb-! Custom=1 AddLocal=ALL IExplorer=1 Javaupdate=1 Reboot=Suppress']

Edited by SolidasRock
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.