Help - Search - Members - Calendar
Full Version: Java switchless installation problem
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
saitoh183
I found this on the ryanvm forum

QUOTE
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....
Solid as a rock
QUOTE (saitoh183 @ Nov 4 2005, 01:47 PM) *
I found this on the ryanvm forum

QUOTE
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"
Solid as a rock
QUOTE (SolidasRock @ Nov 4 2005, 03:53 PM) *
QUOTE (saitoh183 @ Nov 4 2005, 01:47 PM) *

I found this on the ryanvm forum

QUOTE
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... newwink.gif
saitoh183
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?
Solid as a rock
QUOTE (saitoh183 @ Nov 4 2005, 04:34 PM) *
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?
saitoh183
QUOTE (SolidasRock @ Nov 4 2005, 10:23 AM) *
QUOTE (SolidasRock @ Nov 4 2005, 03:53 PM) *

QUOTE (saitoh183 @ Nov 4 2005, 01:47 PM) *

I found this on the ryanvm forum

QUOTE
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... newwink.gif



It was the Offline Installer 15.6MB
Solid as a rock
QUOTE (saitoh183 @ Nov 4 2005, 04:36 PM) *
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"
saitoh183
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)
Solid as a rock
QUOTE (saitoh183 @ Nov 4 2005, 05:05 PM) *
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...
keytotime
Ryanvm already has a switchless installer on his main page

http://ryanvm.msfn.org/
Solid as a rock
QUOTE (keytotime @ Nov 4 2005, 10:00 PM) *
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...
keytotime
So do java.msi /qb-! Custom=1 AddLocal=ALL IExplorer=1 Javaupdate=1 Reboot=Suppress
Solid as a rock
QUOTE (keytotime @ Nov 5 2005, 01:53 PM) *
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?
keytotime
because most people don't use it and it eat's a huge hunk of memory and some bandwith and dosn't do much.
Solid as a rock
QUOTE (keytotime @ Nov 6 2005, 12:35 AM) *
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.... confused.gif

and it do something, it checks for new version. (maybe they found bugs in the old version?)
keytotime
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.
Solid as a rock
QUOTE (keytotime @ Nov 6 2005, 01:11 AM) *
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 laugh.gif

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

greetz
keytotime
greetz, nice to help somebody thumbup.gif:
RogueSpear
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.
Solid as a rock
QUOTE (keytotime @ Nov 6 2005, 12:35 AM) *
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?

CODE
java.msi /qb-! Custom=1 AddLocal=ALL IExplorer=1 Mozilla=1 Javaupdate=1 Reboot=Suppress
oioldman
@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
Solid as a rock
QUOTE (oioldman @ Nov 18 2005, 11:49 AM) *
@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?
oioldman
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]
Asmo98
Easist way i found was to make a batch file with

msiexec /i Java.msi /quiet
Solid as a rock
QUOTE (oioldman @ Nov 18 2005, 12:57 PM) *
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:
CODE
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:
CODE
cmd1[pn]=['%CDROM%\\Install\\SunJava\\JRE5.0.5.msi /qb-! Custom=1 AddLocal=ALL IExplorer=1 Javaupdate=1 Reboot=Suppress']
Sonic
New Sun Java release ... Update 6

Download
http://www.java.com/en/download/manual.jsp

Begin the install and get the MSI file in C:\Windows\Installer (it's generated file about 11mb ...) or use /a switch (see past post by SolidasRock)

After same way for other .msi use /qb switch and/or custom switchs to tune the installation (see again past post)
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.