aKaFrEE Posted December 12, 2003 Share Posted December 12, 2003 what switches do you use with the MSI? Link to comment Share on other sites More sharing options...
Aaron Posted December 12, 2003 Share Posted December 12, 2003 same should apply, without the starting /s /v switches. Link to comment Share on other sites More sharing options...
aKaFrEE Posted December 12, 2003 Share Posted December 12, 2003 so it would beREG ADD %KEY%\035 /VE /D "Sun JVM 1.4.2_03" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\SunJVM\j2re14203.exe"/qn ADDLOCAL=jrecore IEXPLORER=1"" /fREG ADD %KEY%\035 /V 1 /D "REGEDIT /S %systemdrive%\install\SunJVM\sun.reg" /f? Link to comment Share on other sites More sharing options...
Aaron Posted December 12, 2003 Share Posted December 12, 2003 REG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\SunJVM\j2re14203.exe \"/qn ADDLOCAL=jrecore IEXPLORER=1\"" extra quotations should be as: \"by the way, your reg entry should be numbered 2 (/V 2) otherwise it will overwrite your java installation entry. Link to comment Share on other sites More sharing options...
aKaFrEE Posted December 12, 2003 Share Posted December 12, 2003 thanks Link to comment Share on other sites More sharing options...
bucketbuster Posted December 14, 2003 Share Posted December 14, 2003 Sun Java 14203 didn't get installed...here's my entry in main_batch.cmd:ECHO.ECHO Installing Sun Java VM 1.4.2.03ECHO Please wait...start /wait %systemdrive%\install\Applications\SunJava\Java14203.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1" REBOOT=Suppressbtw. I renamed the downloaded javapackage to Java14203.exe and put it in C:\XPCD\$OEM$\$1\Install\Applications\SunJava\ Link to comment Share on other sites More sharing options...
beppemito Posted December 14, 2003 Share Posted December 14, 2003 this is mine:start /wait jre14203.exe /s /v"/qn ADDLOCAL=jrecore,extra IEXPLORER=1 REBOOT=Suppress" Link to comment Share on other sites More sharing options...
bucketbuster Posted December 14, 2003 Share Posted December 14, 2003 Where did you put jre14203.exe?? Link to comment Share on other sites More sharing options...
Aaron Posted December 14, 2003 Share Posted December 14, 2003 bucketbuster, your quotation has to go on the end of Suppress instead of IEXPLORE=1. Other than that, I've no idea!Since beppemito hasn't defined a path, its likely he put his java installation in the Windows\System32\ directory, in which case the installation can be executed from anywhere without needing a path. Link to comment Share on other sites More sharing options...
beppemito Posted December 14, 2003 Share Posted December 14, 2003 i've a batch file in same directory of jre14203.exe....the batch file is called from runonceex!!! Link to comment Share on other sites More sharing options...
RyanVM Posted December 15, 2003 Author Share Posted December 15, 2003 You downloaded the ~14MB full install? Link to comment Share on other sites More sharing options...
beppemito Posted December 15, 2003 Share Posted December 15, 2003 yes Link to comment Share on other sites More sharing options...
Lost Soul Posted December 15, 2003 Share Posted December 15, 2003 kool, ill have to update my java sun thanks ryan . Link to comment Share on other sites More sharing options...
fillalph Posted December 21, 2003 Share Posted December 21, 2003 Can someone show me how to install this plugin for Explorer and Mozilla? I have gone to http://java.sun.com/j2se/1.4.2/docs/guide/...ide/silent.html, yet I am finding it difficult to determine if my ADDLOCAL should be all or jrecore and then if it is ALL what about ,extra :S.Any examples would be great.Thanks]Bonkers[ Link to comment Share on other sites More sharing options...
gophtc Posted December 21, 2003 Share Posted December 21, 2003 I believe the correct syntax is:(you need to backslash out quotes within quotes)REG ADD %KEY%\002 /V 1 /D "\"%systemdrive%\install\Sun JVM\j2re142 03.exe\" /s /v \"/qn ADDLOCAL=jrecore,extra IEXPLORER=1 REBOOT=Suppress\"" /f(the quotes around the path are only needed for filenames or folders with spaces)REG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\SunJVM\j2re14203.exe /s /v \"/qn ADDLOCAL=jrecore,extra IEXPLORER=1 REBOOT=Suppress\"" /fI'm unsure about the /s /v "<parameters>"/v passes parameters to the MSI package, including:/qn which makes the MSI process silentIts an InstallShield package with an MSI package insideso i think /s or -s (same) could be used with a setup.issbut in this case will hide the extraction/initialization process of the MSI by InstallShieldI don't think it makes any sense to use "/qn ADDLOCA..." without the /vREG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\SunJVM\j2re14203.exe"/qn ADDLOCAL=jrecore IEXPLORER=1"" /fI wouldnt think spacing matters here, but i guess it doesstart /wait %systemdrive%\install\Applications\SunJava\Java14203.exe /s /v<space>"/qn ADDLOCAL=jrecore IEXPLORER=1"Here's a link to the InstallShield switches(includes a link to MSI switches as well)Oh and normally:REG ADD %KEY%\002 /V 2 /D "REGEDIT /S %systemdrive%\install\SunJVM\sun.reg" /fwould be a bad thing (running regedit with %systemdrive%) but it puts the path inside the registry entry immediately not the variable Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now