bench2010 Posted November 30, 2011 Share Posted November 30, 2011 (edited) Hello,I received the attached message when trying to silently install Java 6 Update 29. The message pops up on machines with internet explorer opened, or java is being used by another applications. Can someone please tell me where I went wrong, and what I can change in order to make my install more silent. Is IEXPLORER=1 needed?The machines I am updating are all running Windows XP 32 bit.I ran the following:echo offstart C:\support\jre-6u29-windows-i586-s.exe /s IEXPLORER=1 REBOOT=SUPRESS JAVAUPDATE=0 SYSTRAY=0 >c:\support\it\install_java.log Edited November 30, 2011 by bench2010 Link to comment Share on other sites More sharing options...
EDEN2010 Posted December 1, 2011 Share Posted December 1, 2011 HelloTry thatRename your file jre-6u29-windows-i586-s.exe to target.exenow open Notepad then copy that code and name it XXX.battarget.exe /s IEXPLORER=1 MOZILLA=1 REBOOT=Suppress ADDLOCAL=ALL %args%set err=%errorlevel%if %err% NEQ 1603 GOTO skip_uninstall rem uninstall 6.23 msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216022FF} msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216022F0} rem now re-install the product target.exe /s IEXPLORER=1 MOZILLA=1 REBOOT=Suppress ADDLOCAL=ALL %args% set err=%errorlevel%:skip_uninstallif %err% NEQ 1619 GOTO skip_retryif %running_as_system% NEQ 1 GOTO skip_retry "%installdir%\sleep.exe" 5 rem md "%SystemRoot%\SysWOW64\config\systemprofile\AppData\LocalLow\Sun" "xcopy.exe" /E /C /I /G /H /R /Y "%SystemRoot%\SysWOW64\config\systemprofile\AppData\LocalLow\Sun\Java" "%SystemRoot%\Sysnative\config\systemprofile\AppData\LocalLow\Sun\Java" target.exe /s IEXPLORER=1 MOZILLA=1 REBOOT=Suppress ADDLOCAL=ALL %args% set err=%errorlevel%:skip_retryIF "%xparam_disableautoupdate%" NEQ "1" exit %err%msiexec /qn /x {4A03706F-666A-4037-7777-5F2748764D10}regedit.exe /s disable_autoupdate.regexit %err%now open Notepad then copy that code and name it disable_autoupdate.regWindows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]"EnableAutoUpdateCheck"=dword:00000000"EnableJavaUpdate"=dword:00000000[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]"SunJavaUpdateSched"=-then u have silent installgoodluck Link to comment Share on other sites More sharing options...
buzmarius Posted January 24, 2012 Share Posted January 24, 2012 (edited) Strictly related to popup: use taskkill /F /IM iexplore.exetaskkill /F /IM jqs.exe after echo.As you can see in config file I'm using these:ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 SYSTRAY=0 JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 REBOOT=suppressMake a habit of closing all programs before installing/updating.------------------------------------This is my version of JRE 7.02 with x86/x64 autodetection, using 7z SFX Tools.I got both versions, Java Runtime Environment 1.7.0.2, 32 and 64-bits. Their names should look like this: jre-7u2-windows-x64.exe, jre-7u2-windows-x86.exe.Packed them in an archive called 2in1.7z.From 7zip installation folder I copied 7zr.exe next to above mentioned archive then archived both files in JRE.7z.Used config file and created JRE.exe using classic method copy /b 7zsd.sfx + JRE.txt + JRE.7z JRE.exe or, better, with Button for TotalCommander by Gora.For silent install use JRE.exe -ai -gm2. If you want normal install, just double click on JRE.Here is the config file;!@Install@!UTF-8!SetEnvironment="Name=Java Runtime Environment %%P"SetEnvironment="Startx86=jre-%nVer%-windows-x86"SetEnvironment="Startx64=jre-%nVer%-windows-x64"Title="%Name% installation"BeginPrompt="Install now %Name%%Vers% ?"FinishMessage="%Name%%Vers% successfully installed !"GUIFlags="2+4+8+16+32+2048"GUIMode="1"MiscFlags="4"ExtractTitle="Extracting files ..."ExtractDialogText="Please wait ..."RunProgram="hidcon:cmd /c For /L %i In (10,1,27) Do start /w MsiExec /qn /X{26A24AE4-039D-4CA4-87B4-2F832160%iFF}" RunProgram="%%P:hidcon:fm10:7zr.exe x 2in1.7z %Start%%P%.exe"RunProgram="%%P:%Start%%P%.exe"RunProgram="hidcon:reg delete HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Run /v \"SunJavaUpdateSched\" /f"RunProgram="x86:hidcon:\"%programfiles%\\Java\\jre7\\bin\\jqs.exe\" -unregister"AutoInstall="hidcon:cmd /c For /L %i In (10,1,27) Do start /w MsiExec /qn /X{26A24AE4-039D-4CA4-87B4-2F832160%iFF}" AutoInstall="%%P:hidcon:fm0:7zr.exe x 2in1.7z %Start%%P%.exe"AutoInstall="%%P:%Start%%P%.exe /s ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 SYSTRAY=0 JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 REBOOT=suppress"AutoInstall="hidcon:reg delete HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Run /v \"SunJavaUpdateSched\" /f"AutoInstall="x86:hidcon:\"%programfiles%\\Java\\jre7\\bin\\jqs.exe\" -unregister" SetEnvironment="Vers= v7.0.2"SetEnvironment="nVer=7u2";!@InstallEnd@!It uninstalls ANY previous version, prevents jqs.exe from starting and deletes from registry autoupdate. Edited April 3, 2013 by buzmarius Link to comment Share on other sites More sharing options...
harshadhparulekar Posted February 13, 2012 Share Posted February 13, 2012 (edited) can you upload or give link for that installeras i tried it and it didnt work or atleast give link of how to do it using Total Commander Edited February 16, 2012 by harshadhparulekar Link to comment Share on other sites More sharing options...
ionut_y Posted February 17, 2012 Share Posted February 17, 2012 Take a look there,I use this for a while and it works fine : http://www.ryanvm.net/forum/viewtopic.php?p=106201#106201 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