Jump to content
mooms

Java Multi Maker 3.5 & 4.0b4

Recommended Posts

Here is a new beta version for Java 9:
JAVA-Multi_Maker_4.0b1.zip

You have to download the Java 9 setup(s) from here (x64)  | mirror x64 | mirror x64 | mirror x86 (serving x64 ATM) | mirror x86 .
Copy it/them in the "JRE_setups" folder then launch "_JAVA_Multi_Maker.cmd".

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

Tested on Windows 7 & 10 x64, everything works as intended.

The script have been modified a lot, hence the bump in version number:

  • Removed the GUI option.
  • Added a new question (to make install passive or silent).
  • Removed any language other than English and French.
  • Because Java GUIDs are constantly changing, uninstallation is now done with WMIC.
  • More switches (see ReadMe), you can now keep previous Java 8 versions (previous Java 9 will always be removed).


Please test and report how it works for you.

 

Share this post


Link to post
Share on other sites

Hi Thiersee,

3 hours ago, Thiersee said:

different colors for different masks

I'm not sure to understand what you mean.

I haven't changed anything in the colors since some versions, they cycle with each questions to show it's a different one.

Share this post


Link to post
Share on other sites
1 hour ago, mooms said:

Hi Thiersee,

I'm not sure to understand what you mean.

I haven't changed anything in the colors since some versions, they cycle with each questions to show it's a different one.

Sorry mooms, you're right!

I don't know, where I had my brain...:blush:!

Share this post


Link to post
Share on other sites
6 minutes ago, Boskorp said:

Works good. What is the difference between passive and silent installation?

In "silent" you do not have any output; in "passive" you see only the installer's GUI (not the unpacking's one).

Share this post


Link to post
Share on other sites

With passive you see a small window with the progress of the installation.

Because it can take some time to install on slower machines it's a good thing, but not needed on an unattended installation.

Share this post


Link to post
Share on other sites

Hi mooms,

starting the dual installer on a x86-system gives an error after a while (see picture); the old dual-installer (8u144) works without issues.

On x64-systems no problems.

JAVA_Mooms.JPG.6bc570bb3adf39976ceb4663204aa7e0.JPG

 

Edited by Thiersee

Share this post


Link to post
Share on other sites

You're right, the config file for dual installer missed the ":x64" argument.

Here is 4.0b3:

JAVA-Multi_Maker_4.0b3.zip

What's new:

  • Bugfix: config file for dual installer missed the ":x64" argument in x64 installers
  • Compress the SFX module with UPX if needed (because of Mediafire I can't ship it already compressed).

 

Share this post


Link to post
Share on other sites
On 18/10/2017 at 9:58 PM, Thiersee said:

Which differences to 4.0b3?

4.0b3 (or earlier) fails with 9.0.1 installers.

Oracle have changed something (again) in the logic of the installer, I had to adjust the script to work wit 9.0.1, hopefully it should work with future versions now, as the method is more "universal" (but more complex).

In detail, the name of the file extracted by ResourcesExtract that was useful was "%filename_without_extension%_100_10.bin"

Same logic for the second extraction with ResourcesExtract (yes, install files are packed 3 times, they are in a msi inside an exe inside an exe...)

Now, it's different, so, because I know the files needed are big (several MB) I have added a function that will delete all files smaller than 1000000 bytes (~ 10MB) in the extraction folder:

:Clean_temp_files
for %%F IN (.\JRE_TMP_EX\*.*) do  (if %%~zF lss 1000000 del %%F)

Then rename the only file left.

That should works with any names, and as long as they don't change the install logic too much.

 

 

On 18/10/2017 at 9:58 PM, Thiersee said:

BTW: did find JRE 9.0.1 x86?

Nope, but it should work fine.

 

BTW, because they have changed the naming scheme (9.0.1 and no more 9u01), the logic used in the script to find the more recent setup in the folder is not working (it process Java 9 instead of 9.0.1 if they are both in the JRE_setups folder), so you should remove older setups from this folder.

I will wait for the next version to see how things goes.

Share this post


Link to post
Share on other sites
On 19.10.2017 at 1:58 AM, mooms said:

Now, it's different, so, because I know the files needed are big (several MB) I have added a function that will delete all files smaller than 1000000 bytes (~ 10MB) in the extraction folder:


:Clean_temp_files
for %%F IN (.\JRE_TMP_EX\*.*) do  (if %%~zF lss 1000000 del %%F)

Hi mooms,

this is 1MB, not 10 ^_^.

I tried this with the script:

1) In "bin" missing files copied from maker 3.5

2) Uncommented all lines with "::"

3) "Hard-coded" the Bundled-Id from the links in Boskorp's post

:Get_Java_x86
get the latest BundleId
for /f "usebackq delims=>= tokens=4" %%i in (`.\bin\curl %JAVA_URL%^|findstr /c:"Download Java software for Windows Offline"`) do (
   set BundleID=227984
)
%ARIA%  %JAVA_DL_URL%=%BundleId%
goto :eof

:Get_Java_x64
get the latest BundleId
for /f "usebackq delims=>= tokens=4" %%i in (`.\bin\curl %JAVA_URL%^|findstr /c:"Download Java software for Windows (64-bit)"`) do (
   set BundleID=227983
)

The script downloads both the x86 & x64-files and generates an installer, but at the beginning of the run (cmd window) it outputs an error (it seems without effects)

Quote

Der Befehl "get" ist falsch geschrieben oder konnte nicht gefunden werden

The command "get" is misspelled or could not be found

 

Share this post


Link to post
Share on other sites
7 hours ago, Boskorp said:

Used these links successfully

v9.0.1 x64

v9.0.1 x86

Thanks. How do you find these ?

The naming is yet again different...

 

41 minutes ago, Thiersee said:

Hi mooms,

this is 1MB, not 10 ^_^

You're right, I missed a zero :blush: It still works fine though.

Thanks for your input.

Share this post


Link to post
Share on other sites

@mooms

Java 9.0.4 released!

You get the x64-version directly here after accepting the license agreement; to get the  x86-version don't close the browser or leave the site; copy the x64-URL instead, put it into the address line and modify x64 in x86 in the URL.

BTW: Happy New Year!

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 ricktendo
      Microsoft DirectX end-user Redistributable (June 2010)
      Version: 9.29.1974
      Supported operating systems: Windows 8, Windows 7, Windows Vista, Windows Server 2012/2008+R2/2003 SP1+, Windows XP SP2+
      Website: http://www.microsoft.com/en-us/download/details.aspx?id=8109
       
       
      x86/x64: removed
      MD5: 2ef61d694dbcb3b3d0f47f1bbc0ca831
      Size: 90.7 MB
      x86: removed
      MD5: 0f51f57cff0bf51aa368f90da1c8b525
      Size: 42.8
    • By niTe_RiDeR_Pr0
      SumatraPDF v3.2.10638 (Pre-Release) PDF Reader - Dual x86/x64 2-in-1 RePack
      About RePack (info):
      RePacks made by extracting the individual x86 & x64 installers available here & repacking them into an Inno setup. Nothing extra is added. Added choice to associate SumatraPDF with various file formats. Optional Command-Line Switches:
      File Details:
      File Name: SumatraPDF_3.2.10638.Dual_RePack.exe
      File Name: 6.17 MB
      MD5 Hash: C629DD40ACC6613BAB5B6F7FACE99AC4
      Screenshots are the top of the thread
    • By niTe_RiDeR_Pr0
      VidCoder v2.51 - Dual x86/x64 - 2-in-1 Compressed RePack
      About RePack (info):
      Multilanguage Installer. Installs 32/64bit version according to system architecture automatically. VidCoder requires .NET Framework 4.0. This RePack checks if .NET Framework 4.0 is installed in the system, and if it is not found, then it prompts the user to download and install automatically (within the installer). Compressed installer size from 24MB (size of 32+64bit installer) to 17MB. Optional Command-Line Switches:
      File Details:
      File Name: VidCoder_2.51_x86-x64_RePack.exe
      File Name: 17.9 MB
      MD5 Hash: 50D3F051BC2B7CA1E1C53448F523E02C
      Screenshots are at the top of this thread
    • By niTe_RiDeR_Pr0
      IrfanView v4.4.4 - x86/x64 + Plugins + Toolbars + Languages - 5-in-1 RePack
      About RePack (info):
      Multilanguage installer.   Installer contains: IrfanView-x86 files, IrfanView-x64 files, all plugins, all languages & 21 toolbar skins. Added IrfanPaint 3rd party plugin and Shell Extensions Installer installs x86/x64 version according to your Windows architecture. Optional Command-Line Switches:
       
      File Details:
      File Name: IrfanView_4.4.4.Dual_RePack.exe
      File Name: 30.2 MB
      MD5 Hash: B6D1ACB40002CCB6ACF5D115A92D14EC
      Screenshots are at the top of this thread
    • By niTe_RiDeR_Pr0
      IrfanView v4.4.4 - x86/x64 + Plugins + Toolbars + Languages - 5-in-1 RePack
      About RePack (info):
      Multilanguage installer.   Installer contains: IrfanView-x86 files, IrfanView-x64 files, all plugins, all languages & 21 toolbar skins. Added IrfanPaint 3rd party plugin and Shell Extensions Installer installs x86/x64 version according to your Windows architecture. Optional Command-Line Switches:

      Download: https://drive.google.com/uc?export=download&id=0BxE7TpGda882SmNOaTRpMS0xbHM
      File Name: IrfanView_4.4.4.Dual_RePack.exe
      File Name: 30.2 MB
      MD5 Hash: B6D1ACB40002CCB6ACF5D115A92D14EC
      Alternative Download Link: https://www.wincert.net/forum/index.php?/files/file/50-irfanview-v444-repack-x86x64pluginstoolbarslanguages-5-in-1/
       





       
×
×
  • Create New...