Jump to content

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.


  • Similar Content

    • By abbodi1406
      Description:
       
      The .NET Framework is a popular development platform for building apps for Windows, Windows Store, Windows Phone, Windows Server, and Windows Azure. The .NET Framework platform includes the C# and Visual Basic programming languages, the common language runtime, and an extensive class library. read more.
       
      Info: The .NET package will be slipstreamed as pre-installed
      OS: Windows 7 SP1
      Notes:
      - The addon will conflict with some Windows Updates (.NET 3.5 Family), so leave the addon's integration to the last.
      - Add main addon first before LangPack addon, to get ASP.NET service localization properly.
      - To function properly, .NET 4.7.x require D3DCompiler_47.dll component, which is found in either the current "Monthly Quality Rollup" or "update KB4019990". It is recommended to integrate it first, or you can install it later.
      Windows6.1-KB4019990-x64.msu
      Windows6.1-KB4019990-x86.msu
      .NET 4.8:
      .NET 4.7.2:
      Languages Codes Reference:
       
    • By mooms
      This is a script to repack JRE (Java Runtimes) setups into a silent 7zip SFX installer.


      Beta version for Java 9/10:
      JAVA-Multi_Maker_4.0b4.zip
      MD5: 203c7e514414c932ff847d3d8dac5fa4
      SHA-1: 93fc856e026fc42298ebc8e76bba338f21c1704a
      Size: 800KB

      How to use:
      You have to download the Java 9/10 setup(s) from here (x64)  | mirror x64 | mirror x64 | mirror x86 .
      - Extract the archive in a work folder with no space in the path.
      - Copy the setup(s) in the "JRE_setups" folder
      - Launch "_JAVA_Multi_Maker.cmd".

      Download function may return when Java 9 will be on the official download page.

      Available switches:
      No switch (dafault) - Silent install without Web plugins. Remove any previous Java version(s).
      -ai   - Silent install with Web plugins. Remove any previous Java version(s).
      -ai1  - Silent install without Web plugins. Remove only previous Java 9 version(s).
      -ai2   - Silent install with Web plugins. Remove only previous Java 9 version(s).

      Tested on Windows 7 & 10 x64, everything works as intended.
      Please test and report how it works for you.


       ------------------------------------
       
      Current version (for Java 8u73 and newer) (could work on XP if you use a custom build of aria2)
      JAVA-Multi_Maker_3.5.zip
      MD5: 7716dddd8c576f0d002e6ddeb43d1ac6
      SHA-1: 495cf642bf73571bca97179e63ab28c88ca2f5f1
      Size: 3.79 MB
       
       How to use:
      - Extract the archive in a work folder with no space in the path.
      - Run the batch file.
      - Choose the version you want to use
      The script will download the newest JRE automatically. If there is a problem with the download (or if you don't have access to Internet), you can also put the desired version(s) in the script's folder, it will always use the greater version found in the folder.

      Notes:
      - To avoid errors, the SFX will uninstall any previous Java version(s) newer than JRE 6.0 Update 22 before installing the new one(s).
      nLite/RVMi Addons are no longer created
      - It's highly recommended to NOT install Java web plugins, they are plagued with many vulnerabilities, but using Java locally is rather safe.
      - You can use the uninstall tool for Java to remove (very) old versions.
       

      Available switches:
      GUI version:
      -ai   - Silent install with Web plugins
      -ai1 - Silent install without Web plugins
       
      noGUI version:
      no switch - Silent install without Web plugins
      -ai            - Silent install with Web plugins
       
       
       ------------------------------------

      Old version (for Java 8u20 up to 8u72) (works on XP)
      JAVA-Multi_Maker_3.0.zip
      MD5: d89eec93311acedd842c6378ed630734
      Size: 1.29 MB
       
       ------------------------------------


      Old version (for Java 6, 7 and 8 before 8u20)
      JAVA-Multi_Maker_1.3a.zip
      MD5: 8d592f99c2b25e2c4404203af0b4d082
      Size: 373 KB
      How to use:
      - Extract the archive in a work folder with no space in the path.
      - Download the x86 and/or x64 Offline setup of Java 6/7/8 and put it in the same folder.
      - Run the batch file.
      The maker will perform an admin install of Java and repack them inside a 7zip SFX.
       
      Notes:
      - The install is passive by default, use a switch if you want silent install.
      - To avoid errors, the SFX will uninstall any previous Java version(s) newer than JRE 6.0 Update 22 before installing the new one(s).
      - Update check and Java quick starter are disabled (JQS doesn't exist in x64 anyway).
      - It's highly recommended to NOT install Java web plugins, they are plagued with many vulnerabilities, but using Java locally is rather safe.
      - You can use the uninstall tool for Java to remove (very) old versions.
       
      Available switches:
      -ai   - Silent install with Web plugins
      -ai1 - Silent install without Web plugins
    • By Qwertyuiop228
      I download windows 8.1 / 64 bit but when it comes to 3 GB it starts to throw off on the computer but as far as I know, 8.1 weighs 4.1 GB is a bug and it's ok that it sends 3 GB to the computer without downloading another 1 GB?
    • By Final Aeon
      Hello,
      everytime I start or close ISO Downloader v5-23 on Windows 8-1, I get DotNET v4-7-1 Exception.
      Also main program window is drawn incompletelly.
      v5-21 and older work fine. I didn't found v5-22.
      Images are attached below.
      Exception:
      Informace o vyvolání ladění JIT najdete na konci této zprávy, nikoli v tomto dialogovém okně. ************** Text výjimky ************** System.IO.FileNotFoundException: Nelze načíst soubor nebo sestavení PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 nebo jeden z jejich závislých prvků. Systém nemůže nalézt uvedený soubor. Název souboru: PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 ---> System.IO.FileNotFoundException: Nelze načíst soubor nebo sestavení PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 nebo jeden z jejich závislých prvků. Systém nemůže nalézt uvedený soubor. Název souboru: PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 WRN: Protokolování vazeb sestavení je VYPNUTO. Chcete-li povolit protokolování chyb vazeb sestavení, nastavte hodnotu registru [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) na hodnotu 1. Poznámka: Protokolování chyb vazeb sestavení ovlivňuje výkon systému. Chcete-li tuto funkci vypnout, odeberte z registru hodnotu [HKLM\Software\Microsoft\Fusion!EnableLog]. v lum_sdk_int.api.set_choice(Int32 value) v lum_sdk.api.clear_choice() v Windows_ISO_Downloader.Form1.Form1_Load(Object sender, EventArgs e) v System.EventHandler.Invoke(Object sender, EventArgs e) v System.Windows.Forms.Form.OnLoad(EventArgs e) v System.Windows.Forms.Form.OnCreateControl() v System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) v System.Windows.Forms.Control.CreateControl() v System.Windows.Forms.Control.WmShowWindow(Message& m) v System.Windows.Forms.Control.WndProc(Message& m) v System.Windows.Forms.ScrollableControl.WndProc(Message& m) v System.Windows.Forms.Form.WmShowWindow(Message& m) v System.Windows.Forms.Form.WndProc(Message& m) v System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) v System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) v System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Načtená sestavení ************** mscorlib Verze sestavení: 4.0.0.0 Verze Win32: 4.7.2558.0 built by: NET471REL1 Základ kódu (CodeBase): file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- Windows ISO Downloader Verze sestavení: 5.2.3.0 Verze Win32: 5.2.3.0 Základ kódu (CodeBase): file:///C:/Program%20Files/Windows%20ISO%20Downloader/WindowsISODownloader.exe ---------------------------------------- Microsoft.VisualBasic Verze sestavení: 10.0.0.0 Verze Win32: 14.7.2558.0 built by: NET471REL1 Základ kódu (CodeBase): file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System.Windows.Forms Verze sestavení: 4.0.0.0 Verze Win32: 4.7.2558.0 built by: NET471REL1 Základ kódu (CodeBase): file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Verze sestavení: 4.0.0.0 Verze Win32: 4.7.2558.0 built by: NET471REL1 Základ kódu (CodeBase): file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Verze sestavení: 4.0.0.0 Verze Win32: 4.7.2558.0 built by: NET471REL1 Základ kódu (CodeBase): file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Configuration Verze sestavení: 4.0.0.0 Verze Win32: 4.7.2558.0 built by: NET471REL1 Základ kódu (CodeBase): file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Core Verze sestavení: 4.0.0.0 Verze Win32: 4.7.2558.0 built by: NET471REL1 Základ kódu (CodeBase): file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Xml Verze sestavení: 4.0.0.0 Verze Win32: 4.7.2558.0 built by: NET471REL1 Základ kódu (CodeBase): file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Runtime.Remoting Verze sestavení: 4.0.0.0 Verze Win32: 4.7.2558.0 built by: NET471REL1 Základ kódu (CodeBase): file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- mscorlib.resources Verze sestavení: 4.0.0.0 Verze Win32: 4.7.2558.0 built by: NET471REL1 Základ kódu (CodeBase): file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_cs_b77a5c561934e089/mscorlib.resources.dll ---------------------------------------- lum_sdk Verze sestavení: 1.68.308.0 Verze Win32: 5.2.3.0 Základ kódu (CodeBase): file:///C:/Program%20Files/Windows%20ISO%20Downloader/WindowsISODownloader.exe ---------------------------------------- lum_sdk_int Verze sestavení: 1.68.308.0 Verze Win32: 5.2.3.0 Základ kódu (CodeBase): file:///C:/Program%20Files/Windows%20ISO%20Downloader/WindowsISODownloader.exe ---------------------------------------- util Verze sestavení: 1.68.308.0 Verze Win32: 5.2.3.0 Základ kódu (CodeBase): file:///C:/Program%20Files/Windows%20ISO%20Downloader/WindowsISODownloader.exe ---------------------------------------- System.Windows.Forms.resources Verze sestavení: 4.0.0.0 Verze Win32: 4.7.2558.0 built by: NET471REL1 Základ kódu (CodeBase): file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_cs_b77a5c561934e089/System.Windows.Forms.resources.dll ---------------------------------------- ************** Ladění JIT ************** Aby bylo povoleno ladění JIT, musí konfigurační soubor pro tuto aplikaci nebo počítač (machine.config) mít v oddílu system.windows.forms nastavenou hodnotu njitDebugging. Aplikace rovněž musí být kompilována s povoleným laděním. Příklad: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> Je-li ladění JIT povoleno, budou všechny neošetřené výjimky odeslány ladicímu programu JIT, který je registrován v počítači, a nebudou zpracovány tímto dialogovým oknem.  


×
×
  • Create New...