Jump to content

Recommended Posts

  • 2 weeks later...
Posted

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.

 

Posted

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.

Posted
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:!

Posted
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).

Posted

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.

Posted (edited)

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
Posted

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).

 

Posted
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.

Posted
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

 

Posted
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.

  • 2 months later...
Posted

@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!

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...