Unable to install Java 8.77 trough K1000 - MSI problem
Unable to install Java 8.77 trough K1000 - MSI problem
I am trying to deploy Java 8.77 32bit to all the Windows machines (Windows 7 Ent 64bit) in my organization trough Kace K1000.
There is a lot of information here that i already checked but at this point I can't get it to work on my test machine.
I see a lot of scripts to delete older versions, close open browsers and to disable auto updates, sponsor offers, ... but this is for the next steps.
So I wanted to start easy with just a basic install and build further on the script when this works but the first step is already my problem.
I downloaded the offline installer of the JAVA website "jre-8u77-windows-i586.exe", started the setup and copied the install MSI file from "C:\Users\username\AppData\LocalLow\Oracle\Java\jre1.8.0_77\jre1.8.0_77.msi" to my Java folder on the desktop.
From their i made a intall.bat file with the parameters "msiexec /i jre1.8.0_77.msi" and trough a cmd promt I selected the path "C:\Users\username\Desktop\Java" and ran the install.bat.
I get the JAVA screen with the start of the installer and then halfway trough it trows out that the there is something wrong with the MSI file.
"There is a problem with this Windows installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor.
So the question is if somebody knows an answer for my problem.
On the internet I find several of these topics but none seems to have an answer to solve this problem.
As with any MSI issue, you need to verbosely log the installation. Without that, you're reaching in the dark. Once you have a log, search for the text "Return value 3." The dozen or so lines around that entry will tell you what's gone wrong.
Now luckily, I've just dealt with U77 and I'll guarantee that you haven't changed the 'Type' entry for the CustomAction which runs the installer - remember that Oracle is still brain-dead as far as MSI is concerned and just uses it as a mechanism to deploy then run their own installer!
So, find this row in the CustomAction table:
installexe 0x0412 installerexe [CMDLINE]
You need to change the value in the 'Type' value to read '0x0C12'. What that does is tell the installer to run the CA without impersonation. Do this in the same transform that you'll be using to copy in the 'java.settings.cfg', 'deployment.config' and 'deployment.properties' files. You are doing that, too, right?
I can't help you with the KBox stuff - I don't use one - but isn't this line in the log obvious?
MSI (s) (AC:08) [10:45:18:710]: Product: Java 8 Update 77 -- Error: Need Administrative privileges to proceed
>Did i forget some basics to install Java? If you want the default installation, then no, you have it done. However, if you want to avoid your users calling the Helpdesk as soon as JRE tries to update itself (which of course it can't because your users don't have admin privileges - they don't, right?) and/or goes out-of-date, then you need to turn that junk off.
The use of the files I mentioned are documented here at IT Ninja and elsewhere as nauseum so Google away and use the information you find to create a transform to use with the MSI.
Do this in the same transform that you'll be using to copy in the 'java.settings.cfg', 'deployment.config' and 'deployment.properties' files. You are doing that, too, right?
I didn't do any of these things, all the information I found was to take the MSI, made a script, upload, run and Java is installed. Did I forget some basics to install Java?
I did read your post but it was not direct enough for me to make something out of it. It makes sense now when I saw that the java.settings.cgf need to exist. Also, I mentioned it above the above my screenshots.
You mention 2 other files 'deployment.config' and 'deployment.properties' but I can't find info of these files. Do they also need to exist or are these optional? If required where do they need to be and what do they do or what info do they need to contain?
Just *once*, I'm not going to post a LMGTFY link because I'm feeling generous but, as I mentioned, these files and their use is documented here at IT Ninja and elsewhere ad nauseum so do avail yourself of the tools available to you.
Oracle's documentation is here. I recommend using the system-level usage, as copying to each user's profile will introduce to a whole new world of Windows Installer pain which, it seems to me, you really don't need to get into now.
Sorry if you think I should need to know this stuff but we just had the Kick Start training where they deploy 7zip. This doesn't count as a deployment because it is just a simple copy of the .exe and TADA it works!
I found a lot of post here in the forum but a lot of them don't mention the config file and or deployment file.
I am just training to get this work but it just doesn't work for me. Now I tried with the .exe instead of the .msi installer but my results are the same. I can get a manual install working when I press the script but when KACE deploys it, it goes wrong and JAVA isn't installed.
I'll send some more info of the new script that I am using and maybe i have more luck tomorrow.
I came back here to answer my own question. The problem that I had with the deployment was due to the configuration of Java itself. There was some information about it on the Dell Kace website itself but is seems the link doesn't exist anymore. It said that from Java version 8U40 it isn't possible to deploy like before and you need another approach.
Also is the locol system user not good enough to install Java, you need another user from the local admin group (domain user).
So for the people who are still struggling with the Java deployment here is my full script but with the newer release Java 8U91.
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
efforts, please visit