Jump to content
mooms

Java Multi Maker 3.5 & 4.0b4

Recommended Posts

Version 2.4 is out

What's new:

- Removed the function to delete Java Quick Start Service: it doesn't exist anymore in Java 8
- Avoid the warning with UPX if Java x86 is already uncompressed
- Optimized the script

 

 

 

@stashmajcherc:

Lol ! Glad it finally worked for you.

 

@Thiersee:

UPX warning is now avoided by checking the file size before calling it.

Share this post


Link to post
Share on other sites

Hello mooms, script runs fine. Can you suggest me what to modify, so when selected Dual install with NoGUI, the default behavior to be - install java with webplugins and -ai switch to force it without webplugins?

I looked into ":Config_Dual_2" section, but not sure what exactly to change in it. Is it only change values of WEB_JAVA=1 for enabled?

 

10x in advance

Edited by Boskorp

Share this post


Link to post
Share on other sites

Version 2.5 is out.
What's new:

 

- Added the arguments WEB=SPONSORS=0 WEB_ANALYTICS=0 to avoid the risk to install adwares with futures updates of Java and deactivate the sending of usage stats (thanks to Strych9)
- Optimized the script.

 
 

 

 

@Boskorp: Yes, it this that:
 
WEB_JAVA=1 Web Plugins enabled
WEB_JAVA=0 Web Plugins disabled
 
 
Starting with v2.5, I use variables to set the commands, so you can invert  the WEB_JAVA values in %WEB% and %NOWEB% variables to invert the behavior globally:

 

from this:

set WEB=SPONSORS=0 WEB_ANALYTICS=0 WEB_JAVA=1set NOWEB=SPONSORS=0 WEB_ANALYTICS=0 WEB_JAVA=0

To this:

set WEB=SPONSORS=0 WEB_ANALYTICS=0 WEB_JAVA=0set NOWEB=SPONSORS=0 WEB_ANALYTICS=0 WEB_JAVA=1

Or locally by inverting %WEB% & %NOWEB% in the desired SFX config file
From this:

ECHO RunProgram="jre_inst.msi /qn %NOWEB%">> "AIO.cfg"ECHO RunProgram="x64:jre64_inst.msi /qn %NOWEB%">> "AIO.cfg"

To this:

ECHO RunProgram="jre_inst.msi /qn %WEB%">> "AIO.cfg"ECHO RunProgram="x64:jre64_inst.msi /qn %WEB%">> "AIO.cfg"

Share this post


Link to post
Share on other sites

Just a note:

 

Java 8 is now compatible with XP (at least since 8u25).

The maker is also compatible, it can even create dual or x64 installers on XP, because since v2.3 it don't need to run the installers anymore.

Share this post


Link to post
Share on other sites

For the older Java7-Maker i suggest to add the Variables: "WEB=SPONSORS=0 WEB_JAVA=1" the same way as for the Java8-Maker ;-)

The only not existing variable is WEB_ANALYTICS as i figured out...

 

Share this post


Link to post
Share on other sites

Be careful, those switches have been implemented rather recently, so older Java 6/7 releases don't support them:
 

SPONSORS=0, if used, entirely bypasses sponsor offers such as browser add-ons. This field is available as of the 7u55 release. Note that sponsor offers, and therefore this functionality, is only applicable to online 32 bit JRE installers and Auto Update mechanisms.

Source
 
I will not update 1.4 anyway, it is less needed since Java 8 is now compatible with XP.

Share this post


Link to post
Share on other sites

@mooms - How can I edit your maker so that the Java Dual installer will not create Java folder in the start menu programs? Thanks for creating Java maker.

 

 

Edit:

I just add:  set WEB=SPONSORS=0 WEB_ANALYTICS=0 WEB_JAVA=1 NOSTARTMENU=1

                 set NOWEB=SPONSORS=0 WEB_ANALYTICS=0 WEB_JAVA=0 NOSTARTMENU=1

Edited by jgp

Share this post


Link to post
Share on other sites

8u60 - not packed with UPX error
 
 
Update: Solved
 
First I got this (screen is from second attempt, wheres the files were already downloaded from the first):

ADpRdNe.png



So after couple of tries I got it work as regular on another computer. Still figuring out the problem, suspecting the security suite bugs WGET.

Edited by Boskorp

Share this post


Link to post
Share on other sites

The UPX error is because it was already unpacked on the first run.

The second eror is from 7zip and is related with memory, it can't allocate enough.

You can change the 7zip parameters to use less memory, it is explained in the cmd file, open it with notepad.

Share this post


Link to post
Share on other sites

I never had any problems til now - getting UPX error as well. I tried to create silent/dual installer on my live system several times and a few times in VMware on freshly installed win7 pro. Same error every time.

Share this post


Link to post
Share on other sites

UPX error is harmless, it is because you've already uncompressed the setup on a previous run, delete all installers and you will not see the error.

Share this post


Link to post
Share on other sites

UPX error is harmless, it is because you've already uncompressed the setup on a previous run, delete all installers and you will not see the error.

 

 

But it creates dual installer which is about 98MB! shouldn't be more like 47MB? and yet, when I add this via setupcomplete, it doesn't install.

Share this post


Link to post
Share on other sites

98 MB seems the normal size.
I will also reply to you PM here, so it can benefit to others as well:
 

Hey, could you send me your dual/silent installer if possible?

I've tried remove/uninstall previous version of Java - nothing works.

Is your dual/silent installer about ~47MB? mine is 95MB

I am wondering what is going on? it's not your script.....the script always worked perfect tho.

Thanks


I meant remove previous versions of the installers in the script folder, not Java itself.
It was to avoid the UPX error, but it seems your error is different.

Anyway, you can try this silent dual SFX I've just made:

http://www.mediafire.com/download/94ak2d3h2wx7l3u/Java_8u60-Dual.exe

Share this post


Link to post
Share on other sites

98 MB seems the normal size.

I will also reply to you PM here, so it can benefit to others as well:

 

Hey, could you send me your dual/silent installer if possible?

I've tried remove/uninstall previous version of Java - nothing works.

Is your dual/silent installer about ~47MB? mine is 95MB

I am wondering what is going on? it's not your script.....the script always worked perfect tho.

Thanks

I meant remove previous versions of the installers in the script folder, not Java itself.

It was to avoid the UPX error, but it seems your error is different.

Anyway, you can try this silent dual SFX I've just made:

http://www.mediafire.com/download/94ak2d3h2wx7l3u/Java_8u60-Dual.exe

 

Of course everything was removed from that folder, but I'll try your installer now and report back. Thanks

 

 

 

 

Edit:

 

Same thing - it's not installed.....this is weird.

Edited by dareckibmw

Share this post


Link to post
Share on other sites

Yep, it  installs and works fine on live system, but it won't integrate into .wim, no error  either.

 

I extracted both; u45 and u60  and both looks different..... u45 works OK.

 

Ug6uKtn.png

Share this post


Link to post
Share on other sites

Oracle must have made some changes.

 

Please try this version, it's a test version I made some time ago, it create an admin install point.

The purpose was to reduce the size of the SFX, but maybe it will also allows install with setupcomplete.

You can also try to use wintoolkit runonce to see if it make a difference.
JAVA-Multi_Maker_2.6-test1.zip

Share this post


Link to post
Share on other sites

@mooms

 

That's what I was thinking too! I wonder if they did?

 

I'll run another test with the new script first thing in the morning (I'm off to bad now, it's after midnight) and let you know the results. Thanks.

Share this post


Link to post
Share on other sites

Hi Mooms & dareckibmw,

 

first of all: I never had problems with Java-Multi-Maker, but I experienced the issue, Mooms is giving an explanation for in post #90.

 

To the actual:

If I build the dual-installer with Java-Multi-Maker_2.5 the size is ~ 98MB it was so already with Java 8u51);

if I build it with your test-version 2.6 the size is ~ 44 MB!

Both version of the dual-installer works.

 

Regards, Thiersee

Edited by Thiersee

Share this post


Link to post
Share on other sites

I never had any problems with mooms's script either til last version of java up60 and I always use setupcomplete to add it to my custom win7.

 

Test1 didn't work. Still nothing in control panel nor programs and futures.

 

@Thiersee

 

If you have a time, try to integrate it and see if it works for you.....unless you have already done that.

Share this post


Link to post
Share on other sites

I install it in two ways:

 

1) With WPI for my italian Install-DVD

2) With WTK (SFX-Installers) for the german Install.

 

In both cases the Java-Dual-Installer is in an AIO for Sytem Files.

 

Thiersee

Edited by Thiersee

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