/build/static/layout/Breadcrumb_cap_w.png

Deploying Java 8 Update 101 with SCCM

We have been deploying Java updates for years with only a minor hassle with old versions; but update 101 refuses to install.

I have grabbed the MSI from the LocalLow folder and am using this command to deploy it:
msiexec /i "jre1.8.0_101.msi" /qn AUTO_UPDATE=Disable

This works from Command Prompt on a workstation but through SCCM throws the following error in the Event Logs:
Source:        MsiInstaller
Event ID:      11722
Description:
Product: Java 8 Update 101 -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action installexe, location: C:\Program Files (x86)\Java\jre1.8.0_101\installer.exe, command: /s INSTALLDIR="C:\Program Files (x86)\Java\jre1.8.0_101\\" AUTO_UPDATE=Disable 

Any ideas? We are on Windows 10 1511 x64 and SCCM 1606.

Dave.

0 Comments   [ + ] Show comments

Answers (7)

Answer Summary:
Posted by: anonymous_9363 7 years ago
Red Belt
2

@drknite:
>I am not familiar with deployment.[x] files


extensively documented here at ITNinja and elsewhere, including Oracle's site

>I am not familiar with <snip> transform
I'm getting soft in my old age. Here's a link to the 32-bit and 64-bit MSIs plus MSTs PLUS install and uninstall CMDs. For free!!


Comments:
  • VBScab FTW! - drknite 7 years ago
    • I know! Who'd believe that in 2016 there'd still be people who don't seem able to actually use a search engine! Unreal, eh? Oh well... - anonymous_9363 7 years ago
      • So...I can get the zip packages to deploy. I just am uncertain how to get it to install. I am unzipping, then I should be calling the _install script correct? - drknite 7 years ago
Posted by: anonymous_9363 7 years ago
Red Belt
1

Love the way this idiot forum software only allows 3 replies to any topic...

Anyway...

>  I am unzipping, then I should be calling the _install script correct?
If you like. That was provided merely because I couldn't be bothered to separate it out of the ZIP I created. Remember that my ZIP is just that - just an archive of what I've done with 8_101. It's nothing to do with Kace: I'm NOT a Kace box user. So, I'd suggest unzipping my ZIP, putting its content alongside your MSI and any other junk that Kace needs and then build a suitable command line which includes the TRANSFORMS property. If that's simplified for you by using my CMD, that's your call. It all works in my environment.

Posted by: rileyz 7 years ago
Red Belt
1
Bummer, is there an existing version of java on there?

Have you tried testing with the SYSTEM account? All the msi does is run the custom action command, as mentioned above.

Comments:
  • Nope, it's a completely fresh build of Windows 10. How would I test as SYSTEM?

    I don't suppose it makes any difference if it's an Application or a Package does it? - dsgoody 7 years ago
    • Try a previous update like u99 or u100, I have a feeling it could be this build causing issue. I know u91 64-bit is ok as I packaged that a few months back.

      Wont make a diff if its a package or a app in sccm, this is a CA issue with the msi (probably in conjunction with the os). - rileyz 7 years ago
      • Odd; I have tried the following builds:
        jre1.8.0_73.msi
        jre1.8.0_77.msi
        jre1.8.0_91.msi
        jre1.8.0_101.msi
        jre1.8.0_73_x64.msi
        jre1.8.0_77_x64.msi
        jre1.8.0_91_x64.msi
        jre1.8.0_101_x64.msi

        Plus the following PSU builds:
        jre1.8.0_92.msi
        jre1.8.0_92_x64.msi

        I can replicate this problem consistently across multiple Windows 10 1511 machines, and also on one of our few remaining Windows 7 machines that's never seen Java.

        When you packaged jre1.8.0_91_x64.msi was this to clean workstations or as an update to existing builds? - dsgoody 7 years ago
Posted by: 786_ak 7 years ago
Third Degree Green Belt
0
Hello All,

So what I am seeing after extracting the msi is that msi is not installing and keep throwing this message "There is a problem with this Windows Installer package. A program required for this install to complete could not be run..."

Looks like msi is looking for that "JAVA_INSTALL_FLAG" file but no way to copy it over.

Please advise on how is that being resovled?

Thanks,
AK

Comments:
  • From experience the MSI will only run silently or in basic mode (/qn or /qb). - dsgoody 7 years ago
    • Switches are not the issue here. - 786_ak 7 years ago
      • This has been resolved.

        https://community.spiceworks.com/topic/1144634-java-8-update-60-no-more-msi - 786_ak 7 years ago
Posted by: dsgoody 7 years ago
White Belt
0
Ok, so testing as SYSTEM has had the same effect - the same 11722 errors are appearing in the event log.

Oddly, it works if Java has been previously installed. Because of this I had to use another PC to replicate the error.
Posted by: dsgoody 7 years ago
White Belt
0

Top Answer

Found the problem!

Despite the command line working as Local Admin it doesn't work with the AUTO_UPDATE=Disable switch as SYSTEM.

Any other switch I can use that will do the same function? Already tried AUTO_UPDATE=0

Comments:
  • Hah, nice one!
    I used a transform for all my gubbins, we do reg stamping and other guff. So that should do the trick [: - rileyz 7 years ago
Posted by: anonymous_9363 7 years ago
Red Belt
0

Use the deployment.[x] files, as extensively documented here at ITNinja and elsewhere, including Oracle's site. There'll be a link to Oracle's doc in one of the JRE posts.

For that, you'll require a transform, into which you can put all the other properties you'll need.


Comments:
  • I am not familiar with deployment.[x] files and transform. - drknite 7 years ago
    • Then may we recommend you ask someone who is, at your place of work. It would seem you are too far out of your depth to be able to follow the simple instructions given by VBScab, who is, in my experience, being much more helpful than usual. ;-) - EdT 7 years ago
      • Now, see here, Mr Ed! Good job I know you! :-)

        For others who do not know me so well, let me clarify.

        If you ask a genuine question, then you'll find me more than willing to help. If, however, the answer to your question can be divined in less than a second by using a popular search engine, then I'm going to let you have it with both barrels! - anonymous_9363 7 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ