Jump to content

Recommended Posts

Posted

Create Java Silent_Installers Svcpack AddOn
tabdownload.png Update (16 October 2013)
tabdownload.png Update (16 October 2013)
tabdownload.png Update (16 October 2013)
tabdownload.png Update (16 October 2013)
tabdownload.png Update (16 October 2013)
tabdownload.png Update (16 October 2013)
Hash MD5 EDB7CAA558669A72E8FF65DC8E1F133E
Filesize: 753 KB (771655 bytes)


With this script you can create java 6/7 x86 and x64 Svcpack Addons and it doesn't need to be updated (supports also Java 8 beta).

After extracted Create_Java_SVCPACK_AddOn.cab file, copy in same directory jre-*-windows-*.exe files (you can place there any installer version you want, even all at once if you want ot build an AIO addon, then cilck on Create_Java_SVCPACK_AddOn.cmd file and you'll get Kels_Java_SvcPack_AddOn.cab or Kels_Java_Silent_Installers.exe as shown by Kelsenellenelvian (many thanks!) http://www.wincert.net/forum/index.php?/topic/8932-release-java6u30-7u2-dual-arc-silent-installers/

They can be integrated in Windows XP/Windows Server 2003 (using Nite from v1.4.9.1 or RVM Integrator from v1.6.1 b2.1) and in Windows Vista/7/8/8.1 32/64 bit (using latest version of DX WinNT6.x True Integrator)

You can verify if you have latest Java version here: http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html#javasejdk
  • 10 months later...
Posted (edited)

Create_Java_Silent_Installers_Svcpack_AddOn.zipthat is a detail, now in resource java puts directly the full msi, I mean just need a small modification in the file.cmd, but that is not the problem, the problem is that is no longer recommended to do so, for the moment, it seems that java change their setup, it seems that java does not want his msi setup is modified by third-party, it seems that now need to force to run the jre-*-windows-*.exe to be 100% sure that everything will be OK, said this because in the end being a setup msi there is always a solution, but as I said for the moment to be 100% secure better run directly jre-*-windows-*.exe, is easy to do an SvcPack AddOn, here is just put in the same diretory Java Setup ("*jre-*-windows-*.exe") and run the file cmd

@ECHO offSET WORKDIR=%~dp0CD /D "%WORKDIR%"MD "OnePiece_Java_SvcPack_AddOn\SvcPack"::MOVE /Y "*jre-*-windows-*.exe" "OnePiece_Java_SvcPack_AddOn\SvcPack"COPY "*jre-*-windows-*.exe" "OnePiece_Java_SvcPack_AddOn\SvcPack" /Y ECHO ;####################################################################################################################### > "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO ;This section contains version information to nLite and RyanVM Integrator and WinNT6.x True Integrator Entries_Java.ini >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO ;# a huge thanks to all guys of WinCert Forum >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO ;# This file contains a list of all necessary entries to add in the various installation >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO ;# files of Windows for the integration of OnePiece Java SvcPack AddOn. >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO ;####################################################################################################################### >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO.  >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO ;This section contains version info for RyanVM nLite and RyanVM Integrator and WinNT6.x True Integrator  >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO [general] >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO builddate=2014/08/25 >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO description=%%JAVATip%% >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO language=%%LANGNAME%% >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"::ECHO ServicePack=SP3 >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO title=Java(TM) Platform SE binary>> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO version=2014 >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO website=http://www.java.com >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO Windows=ALL >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO. >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO ;WinNT6.x True Intgrator Optional info >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO ;;processorArchitecture=x86 >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO ReleaseType=SvcPack AddOn >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO Customizedby=OnePiece >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO Copyright=Sun Microsystems, Inc. >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO Company=Sun Microsystems, Inc. >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO InstallPackageName=Java.exe >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO LastUpdateTime=2014-08-25T11:22:33Z >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO. >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO. >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO [EditFile] >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram>> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO. >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO. >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO [AddProgram] >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"IF EXIST "OnePiece_Java_SvcPack_AddOn\SvcPack\*.exe" FOR /F "USEBACKQ DELIMS==" %%I IN (`DIR /A-D /OGN /B "OnePiece_Java_SvcPack_AddOn\SvcPack\*.exe"`) DO ECHO %%~nxI /s >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO. >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO. >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO [Strings] >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO LANGNAME = "INTL" >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO LANGUAGE = "INTL" >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO JAVATip = "Java is a programming language originally developed by James Gosling at Sun Microsystems" >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini"ECHO. >> "OnePiece_Java_SvcPack_AddOn\Entries_Java.ini">"OnePiece_Java_SvcPack_AddOn\JavaAddOn.dif" ECHO .option explicit>>"OnePiece_Java_SvcPack_AddOn\JavaAddOn.dif" ECHO .set DiskDirectoryTemplate=.>>"OnePiece_Java_SvcPack_AddOn\JavaAddOn.dif" ECHO .set CabinetNameTemplate="..\OnePiece_Java_SvcPack_AddOn.cab">>"OnePiece_Java_SvcPack_AddOn\JavaAddOn.dif" ECHO .set SourceDir=.\>>"OnePiece_Java_SvcPack_AddOn\JavaAddOn.dif" ECHO .set RptFileName=nul>>"OnePiece_Java_SvcPack_AddOn\JavaAddOn.dif" ECHO .set InfFileName=nul>>"OnePiece_Java_SvcPack_AddOn\JavaAddOn.dif" ECHO .set MaxDiskSize=999948288>>"OnePiece_Java_SvcPack_AddOn\JavaAddOn.dif" ECHO .set Compress=on>>"OnePiece_Java_SvcPack_AddOn\JavaAddOn.dif" ECHO .set Cabinet=on>>"OnePiece_Java_SvcPack_AddOn\JavaAddOn.dif" ECHO .set CompressionType=LZX>>"OnePiece_Java_SvcPack_AddOn\JavaAddOn.dif" ECHO .set CompressionMemory=21>>"OnePiece_Java_SvcPack_AddOn\JavaAddOn.dif" ECHO.>>"OnePiece_Java_SvcPack_AddOn\JavaAddOn.dif" ECHO "Entries_Java.ini">>"OnePiece_Java_SvcPack_AddOn\JavaAddOn.dif" ECHO .Set DestinationDir="SvcPack"IF EXIST "OnePiece_Java_SvcPack_AddOn\SvcPack\*jre-*-windows-*.exe" FOR /F "USEBACKQ DELIMS==" %%I IN (`DIR /A-D /OGN /B "OnePiece_Java_SvcPack_AddOn\SvcPack\*jre-*-windows-*.exe"`) DO ECHO "SvcPack\%%~nxI" >> "OnePiece_Java_SvcPack_AddOn\JavaAddOn.dif"CD /D "%WORKDIR%\OnePiece_Java_SvcPack_AddOn""%SystemRoot%\System32\MAKECAB.exe" /f "%WORKDIR%\OnePiece_Java_SvcPack_AddOn\JavaAddOn.dif"CD /D "%~p0"RD /S /Q "OnePiece_Java_SvcPack_AddOn"Exit

using jre-8u20-windows-i586.exe (79.9 MB) & jre-8u20-windows-x64.exe (91.6 MB), OnePiece_Java_SvcPack_AddOn.cab 71 MB, I think the same size as always

 

By default is used the "/s", but as we all know can be changed again http://www.java.com/en/download/help/silent_install.xml example
/s JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 etc etc etc

Ciao.

 

Create_Java_Silent_Installers_Svcpack_AddOn.zip

Edited by OnePiece

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...