Hello everyone!
I'm attempting to deploy the latest version of JAVA (v.8 Update 73) using a new method. The latest version of Java allows you to use several command line options thus making the deployment, in my opinion, a bit easier. I no longer extract the MSIs, I'm using
the JRE executables and passing some parameters for a silent install. The issue I'm having is that no matter what I do the detection method fails with: The software change returned error code 0x87D00324(-2016410844)).
At this moment, I'm using File System detection and I'm looking for two folders %ProgramFiles%\Java\jre1.8.0_73 and %ProgramFiles(x86)%\Java\jre1.8.0_73 - this fails. If I use Windows Installer and pass the correct data (which is: {26A24AE4-039D-4CA4-87B4-2F86418073F0})
this fails as well. I've also used registry, and fails as well.
As for the installation program, I'm using an INSTALL.CMD script that basically does this:
@ECHO OFF
START /WAIT jre-8u73-windows-i586.exe EULA=Disable INSTALL_SILENT=Enable AUTO_UPDATE=Disable REBOOT=Disable REMOVEOUTOFDATEJRES=1
START jre-8u73-windows-x64.exe EULA=Disable INSTALL_SILENT=Enable AUTO_UPDATE=Disable REBOOT=Disable REMOVEOUTOFDATEJRES=1
Here's some info from AppEnforce.log file:
+++ Starting Install enforcement for App DT "Oracle Java 8 Update 73" ApplicationDeliveryType - ScopeId_F3FDFED5-D21B-42C9-8CC1-4A8D8EECDF67/DeploymentType_4a4c845d-60bc-49cc-b006-68b53f54f74e, Revision - 2, ContentPath - C:\Windows\ccmcache\7x,
Execution Context - System
AppEnforce
3/8/2016 1:33:44 PM
3888 (0x0F30)
A user is logged on to the system.
AppEnforce
3/8/2016 1:33:44 PM
3888 (0x0F30)
Performing detection of app deployment type Oracle Java 8 Update 73(ScopeId_F3FDFED5-D21B-42C9-8CC1-4A8D8EECDF67/DeploymentType_4a4c845d-60bc-49cc-b006-68b53f54f74e, revision 2) for system.
AppEnforce
3/8/2016 1:33:44 PM
3888 (0x0F30)
+++ Application not discovered. [AppDT Id: ScopeId_F3FDFED5-D21B-42C9-8CC1-4A8D8EECDF67/DeploymentType_4a4c845d-60bc-49cc-b006-68b53f54f74e, Revision: 2]
AppEnforce
3/8/2016 1:33:44 PM
3888 (0x0F30)
App enforcement environment:
Context: Machine
Command line: "INSTALL.CMD"
Allow user interaction: No
UI mode: 1
User token: null
Session Id: 4294967295
Content path: C:\Windows\ccmcache\7x
Working directory:
AppEnforce
3/8/2016 1:33:44 PM
3888 (0x0F30)
Prepared working directory: C:\Windows\ccmcache\7x
AppEnforce
3/8/2016 1:33:44 PM
3888 (0x0F30)
Prepared command line: "C:\Windows\ccmcache\7x\INSTALL.CMD"
AppEnforce
3/8/2016 1:33:44 PM
3888 (0x0F30)
Executing Command line: "C:\Windows\ccmcache\7x\INSTALL.CMD" with system context
AppEnforce
3/8/2016 1:33:44 PM
3888 (0x0F30)
Working directory C:\Windows\ccmcache\7x
AppEnforce
3/8/2016 1:33:44 PM
3888 (0x0F30)
Post install behavior is BasedOnExitCode
AppEnforce
3/8/2016 1:33:44 PM
3888 (0x0F30)
Waiting for process 3796 to finish. Timeout = 120 minutes.
AppEnforce
3/8/2016 1:33:44 PM
3888 (0x0F30)
Process 3796 terminated with exitcode: 0
AppEnforce
3/8/2016 1:34:04 PM
3888 (0x0F30)
Looking for exit code 0 in exit codes table...
AppEnforce
3/8/2016 1:34:04 PM
3888 (0x0F30)
Matched exit code 0 to a Success entry in exit codes table.
AppEnforce
3/8/2016 1:34:04 PM
3888 (0x0F30)
Performing detection of app deployment type Oracle Java 8 Update 73(ScopeId_F3FDFED5-D21B-42C9-8CC1-4A8D8EECDF67/DeploymentType_4a4c845d-60bc-49cc-b006-68b53f54f74e, revision 2) for system.
AppEnforce
3/8/2016 1:34:04 PM
3888 (0x0F30)
+++ Application not discovered. [AppDT Id: ScopeId_F3FDFED5-D21B-42C9-8CC1-4A8D8EECDF67/DeploymentType_4a4c845d-60bc-49cc-b006-68b53f54f74e, Revision: 2]
AppEnforce
3/8/2016 1:34:04 PM
3888 (0x0F30)
++++++ App enforcement completed (20 seconds) for App DT "Oracle Java 8 Update 73" [ScopeId_F3FDFED5-D21B-42C9-8CC1-4A8D8EECDF67/DeploymentType_4a4c845d-60bc-49cc-b006-68b53f54f74e], Revision: 2, User SID: ] ++++++
AppEnforce
3/8/2016 1:34:04 PM
3888 (0x0F30)
As a last resort, I deleted the deployment package and re-created it, and I get the same.
Any ideas or suggestions from anyone?
Thanks!