Jump to content


Sign in to follow this  
Aurock

Application deployment issue - Java 8 (Update 31)

Recommended Posts

 

I'm trying to deploy Java 8 to our workstations for the first time, using v8u31. We currently have v7u71 installed.

 

I ran the EXE and grabbed the msi from it's location in appdata like I normally do. I understand that there's no longer a cab file to go with the msi, it's all included in the msi file itself. I created an application and deployment type in SCCM from the msi file as normal, but it's failing to install. I've searched online a bit and found several posts with varying syntax to use for the command line, but after trying each one I'm still getting the same failure with return code 1603.

 

I tried installing manually from a command prompt using one of the same command lines that was failing, and was able to install it successfully. Has anyone here been able to successfully deploy a recent version of Java as an application through SCCM? How did you do it?

 

Here's the section of AppEnforce.log showing the install attempt:

<![LOG[+++ Starting Install enforcement for App DT "Java 8 Update 31 - Windows Installer (*.msi file)" ApplicationDeliveryType - ScopeId_CADCA650-1EC0-4F91-96E4-EB2F3A11F57F/DeploymentType_7f67f2fc-8f14-4ccd-9c4f-759a278963a0, Revision - 12, ContentPath - C:\WINDOWS\ccmcache\7q, Execution Context - System]LOG]!><time="12:01:27.777+360" date="02-05-2015" component="AppEnforce" context="" type="1" thread="6996" file="appprovider.cpp:1702">
<![LOG[    A user is logged on to the system.]LOG]!><time="12:01:27.779+360" date="02-05-2015" component="AppEnforce" context="" type="1" thread="6996" file="appprovider.cpp:2083">
<![LOG[    Performing detection of app deployment type Java 8 Update 31 - Windows Installer (*.msi file)(ScopeId_CADCA650-1EC0-4F91-96E4-EB2F3A11F57F/DeploymentType_7f67f2fc-8f14-4ccd-9c4f-759a278963a0, revision 12) for system.]LOG]!><time="12:01:27.782+360" date="02-05-2015" component="AppEnforce" context="" type="1" thread="6996" file="appprovider.cpp:2148">
<![LOG[+++ Application not discovered. [AppDT Id: ScopeId_CADCA650-1EC0-4F91-96E4-EB2F3A11F57F/DeploymentType_7f67f2fc-8f14-4ccd-9c4f-759a278963a0, Revision: 12]]LOG]!><time="12:01:27.790+360" date="02-05-2015" component="AppEnforce" context="" type="1" thread="6996" file="localapphandler.cpp:291">
<![LOG[    App enforcement environment: 
Context: Machine
Command line: msiexec /i jre1.8.0_31.msi WEB_JAVA=1 WEB_JAVA_SECURITY_LEVEL=H NOSTARTMENU=1 WEB_ANALYTICS=0 AUTO_UPDATE=0 EULA=0 SPONSORS=0 REBOOT=0 INSTALL_SILENT=1
Allow user interaction: No
UI mode: 0
User token: null
Session Id: 1
Content path: C:\WINDOWS\ccmcache\7q
Working directory: ]LOG]!><time="12:01:27.790+360" date="02-05-2015" component="AppEnforce" context="" type="1" thread="6996" file="appcontext.cpp:85">
<![LOG[    Prepared working directory: C:\WINDOWS\ccmcache\7q]LOG]!><time="12:01:27.791+360" date="02-05-2015" component="AppEnforce" context="" type="1" thread="6996" file="appcontext.cpp:189">
<![LOG[Found executable file msiexec with complete path C:\WINDOWS\system32\msiexec.exe]LOG]!><time="12:01:27.794+360" date="02-05-2015" component="AppEnforce" context="" type="1" thread="6996" file="executility.cpp:188">
<![LOG[    Prepared command line: "C:\WINDOWS\system32\msiexec.exe" /i jre1.8.0_31.msi WEB_JAVA=1 WEB_JAVA_SECURITY_LEVEL=H NOSTARTMENU=1 WEB_ANALYTICS=0 AUTO_UPDATE=0 EULA=0 SPONSORS=0 REBOOT=0 INSTALL_SILENT=1 /qn]LOG]!><time="12:01:27.795+360" date="02-05-2015" component="AppEnforce" context="" type="1" thread="6996" file="appcontext.cpp:338">
<![LOG[Valid MSI Package path = C:\WINDOWS\ccmcache\7q\jre1.8.0_31.msi]LOG]!><time="12:01:27.797+360" date="02-05-2015" component="AppEnforce" context="" type="1" thread="6996" file="appcontext.cpp:765">
<![LOG[    Advertising MSI package [C:\WINDOWS\ccmcache\7q\jre1.8.0_31.msi] to the system.]LOG]!><time="12:01:27.798+360" date="02-05-2015" component="AppEnforce" context="" type="1" thread="6996" file="appcommon.cpp:125">
<![LOG[    Executing Command line: "C:\WINDOWS\system32\msiexec.exe" /i jre1.8.0_31.msi WEB_JAVA=1 WEB_JAVA_SECURITY_LEVEL=H NOSTARTMENU=1 WEB_ANALYTICS=0 AUTO_UPDATE=0 EULA=0 SPONSORS=0 REBOOT=0 INSTALL_SILENT=1 /qn with user context]LOG]!><time="12:01:29.123+360" date="02-05-2015" component="AppEnforce" context="" type="1" thread="6996" file="appexcnlib.cpp:205">
<![LOG[    Working directory C:\WINDOWS\ccmcache\7q]LOG]!><time="12:01:29.123+360" date="02-05-2015" component="AppEnforce" context="" type="1" thread="6996" file="appexcnlib.cpp:219">
<![LOG[    Post install behavior is BasedOnExitCode]LOG]!><time="12:01:29.129+360" date="02-05-2015" component="AppEnforce" context="" type="1" thread="6996" file="appcommon.cpp:1094">
<![LOG[    Waiting for process 3556 to finish.  Timeout = 120 minutes.]LOG]!><time="12:01:29.132+360" date="02-05-2015" component="AppEnforce" context="" type="1" thread="6996" file="appexcnlib.cpp:2015">
<![LOG[    Process 3556 terminated with exitcode: 1603]LOG]!><time="12:01:34.744+360" date="02-05-2015" component="AppEnforce" context="" type="1" thread="6996" file="appexcnlib.cpp:2024">
<![LOG[    Looking for exit code 1603 in exit codes table...]LOG]!><time="12:01:34.745+360" date="02-05-2015" component="AppEnforce" context="" type="1" thread="6996" file="appexcnlib.cpp:508">
<![LOG[    Unmatched exit code (1603) is considered an execution failure.]LOG]!><time="12:01:34.745+360" date="02-05-2015" component="AppEnforce" context="" type="2" thread="6996" file="appexcnlib.cpp:594">
<![LOG[++++++ App enforcement completed (6 seconds) for App DT "Java 8 Update 31 - Windows Installer (*.msi file)" [ScopeId_CADCA650-1EC0-4F91-96E4-EB2F3A11F57F/DeploymentType_7f67f2fc-8f14-4ccd-9c4f-759a278963a0], Revision: 12, User SID: ] ++++++]LOG]!><time="12:01:34.747+360" date="02-05-2015" component="AppEnforce" context="" type="1" thread="6996" file="appprovider.cpp:2448">

The application log on the client shows this error:

Log Name: Application
Source: MsiInstaller
Date: 2/5/2015 9:41:31 AM
Event ID: 11722
Task Category: None
Level: Error
Keywords: Classic
User: SYSTEM
Computer: HP4429.davchc.com
Description:
Product: Java 8 Update 31 -- 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:\WINDOWS\Installer\MSIF890.tmp, command: /s INSTALLDIR="C:\Program Files (x86)\Java\jre1.8.0_31\\" EULA=0 AUTO_UPDATE=0 SPONSORS=0 REPAIRMODE=0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MsiInstaller" />
<EventID Qualifiers="0">11722</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2015-02-05T15:41:31.000000000Z" />
<EventRecordID>4510</EventRecordID>
<Channel>Application</Channel>
<Computer>HP4429.davchc.com</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data>Product: Java 8 Update 31 -- 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:\WINDOWS\Installer\MSIF890.tmp, command: /s INSTALLDIR="C:\Program Files (x86)\Java\jre1.8.0_31\\" EULA=0 AUTO_UPDATE=0 SPONSORS=0 REPAIRMODE=0 </Data>
<Data>(NULL)</Data>
<Data>(NULL)</Data>
<Data>(NULL)</Data>
<Data>(NULL)</Data>
<Data>(NULL)</Data>
<Data>
</Data>
<Binary>7B32364132344145342D303339442D344341342D383742342D3246383332313830333146307D</Binary>
</EventData>
</Event>

Lastly, I'm attaching the jusched.log file from c:\windows\temp, which appears to be the java's own install log file. Unfortunately, I see in there that it failed, but don't see an indication of why. . .

jusched.log

Share this post


Link to post
Share on other sites


Hi,

 

I'm using the cmd line listed below. In SCCM, I've set the application to superseede java7upd71, and it only runs when no user is logged on.

 

msiexec /i jre1.8.0_31.msi /q JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 RebootYesNo=No WEB_JAVA=1

 

/kman

Share this post


Link to post
Share on other sites

I use a program named Orca to edit the MSI and re-package it. This is a program from Microsoft that you can get. For windows 8 though its called Super Orca (don't know why its super but it works great).

n4w3fp.jpg

 

Here is the MSI opened in Super Orca. I have highlighted the area's I change so that the program doesn't try and auto-update on the users machines or reboot them.

 

2q0ppva.jpg

 

Then I just go to File > SaveAs and save the file back down. I move it to my lab and do a few test runs on some boxes for scenerio testing. Once tested and verified the command line I want to use I then load it all up into SCCM and create the application.

 

Scenerios

- No Browsers open

- Browsers open

- Make sure /q switch works

 

Once that is done I use this command line to install

msiexec /i "Java.msi" /q

 

I've had about 50 machines show a failure but the rest install just fine. I'll have to work out the failure's and come up with a solution to those but this helps get the majority of my environment up and working.

35ks6tz.jpg

 

Share this post


Link to post
Share on other sites

Hello.

 

I use the MSI aslo for the deployment but I deploy it using a .bat file:

wmic product where "name like 'Java%'" call uninstall
jre1.8.0_25.msi /qn
copy JRENOUPD32.reg %Windir%
regedit /S %Windir%\JRENOUPD32.reg
copy JRENOUPD64.reg %Windir%
regedit /S %Windir%\JRENOUPD64.reg
I use the first line to make sure I remove previous Java installs. I've noticed that if you have Java 7vXX it creates issue with Java 8.
The reg files are used to stop the autoupdate depending on system architecure.
The 64 bit reg:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy]
"Method"="jau"
"EnableJavaUpdate"=dword:00000000
"NotifyDownload"=dword:00000001
"UpdateSchedule"=dword:0000000e
"Frequency"=dword:01140400
"UpdateMin"=dword:0000002e
"ScheduleId"="S-1-5"
"EnableAutoUpdateCheck"=dword:00000000

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.

Loading...
Sign in to follow this  

×
×
  • Create New...