/build/static/layout/Breadcrumb_cap_w.png
09/14/2016 11442 views
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.
Answer Summary:
0 Comments   [ + ] Show comments

Comments


Answer Chosen by the Author

0
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
Answered 09/15/2016 by: dsgoody
White Belt

  • Hah, nice one!
    I used a transform for all my gubbins, we do reg stamping and other guff. So that should do the trick [:

Community Chosen Answer

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

Answered 09/22/2016 by: VBScab
Red Belt

  • VBScab FTW!
    • 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...
      • 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?

All Answers

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.

Answered 09/22/2016 by: VBScab
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.
Answered 09/14/2016 by: rileyz
Red Belt

  • 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?
    • 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).
      • 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?
This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.

This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.

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
Answered 10/11/2016 by: 786_ak
Third Degree Green Belt

  • From experience the MSI will only run silently or in basic mode (/qn or /qb).
    • Switches are not the issue here.
      • This has been resolved.

        https://community.spiceworks.com/topic/1144634-java-8-update-60-no-more-msi
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.
Answered 09/15/2016 by: dsgoody
White 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.

Answered 09/15/2016 by: VBScab
Red Belt

  • I am not familiar with deployment.[x] files and transform.
    • 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. ;-)
      • 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!

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