This project has moved and is read-only. For the latest updates, please go here.

Java 1.8.51 error 0x80070643

Topics: Configuration Issue, Publishing Issue
Jul 23, 2015 at 4:02 PM
I've deployed the new Java 1.8.51 via WPP. All the client failed to intall it with error code 0x80070643. The configuration xml bellow.

<CustomUpdate>
<Action>
<ElementType>CustomUpdateElements.VariableElement</ElementType>
<Name>ReturnCode</Name>
<Type>Int</Type>
<ID>383d159a-65fe-4de0-a456-54871568adba</ID>
</Action>
<Action>
<ElementType>CustomUpdateElements.ServiceElement</ElementType>
<ServiceAction>Stop</ServiceAction>
<ServiceName>JavaQuickStarterService</ServiceName>
<PathToEXE></PathToEXE>
<StartupMode>Undefined</StartupMode>
<StartingAccount>Undefined</StartingAccount>
<Login></Login>
<Password></Password>
</Action>
<Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>jre1.8.0_51.msi</PathToExecutable>
<Parameters>/i jre1.8.0_51.msi /quiet /norestart AUTOUPDATECHECK=0 WEB_JAVA=1 JAVAUPDATE=0 JU=0 </Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable>383d159a-65fe-4de0-a456-54871568adba</Variable>
</Action>
<Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
<Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>%windir%\System32\msiexec.exe</PathToExecutable>
<Parameters>/x {4A03706F-666A-4037-7777-5F2748764D10} /qn /norestart</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable/>
</Action>
<Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
<Action>
<ElementType>CustomUpdateElements.ServiceElement</ElementType>
<ServiceAction>Stop</ServiceAction>
<ServiceName>JavaQuickStarterService</ServiceName>
<PathToEXE></PathToEXE>
<StartupMode>Undefined</StartupMode>
<StartingAccount>Undefined</StartingAccount>
<Login></Login>
<Password></Password>
</Action>
<Action>
<ElementType>CustomUpdateElements.ServiceElement</ElementType>
<ServiceAction>ChangeStartingMode</ServiceAction>
<ServiceName>JavaQuickStarterService</ServiceName>
<PathToEXE></PathToEXE>
<StartupMode>Disabled</StartupMode>
<StartingAccount>Undefined</StartingAccount>
<Login></Login>
<Password></Password>
</Action>
<Action>
<ElementType>CustomUpdateElements.ReturnCodeElement</ElementType>
<ReturnCodeMethod>Variable</ReturnCodeMethod>
<StaticReturnCode>0</StaticReturnCode>
<Variable>383d159a-65fe-4de0-a456-54871568adba</Variable>
</Action>
</CustomUpdate>

Any one has any idea about this issue?
Best,
Zoltan
Jul 23, 2015 at 5:48 PM
Hi, as you are using custom update, you should look at C:\Windows\Temp\CustomUpdate.log to see any error message.
Additionnaly, you can have a look into C:\Windows\WindowsUpdate.log
Jul 27, 2015 at 3:23 PM
Hi!

In the CustomUpdateEngine.log file I found the follwing error:

Running 8 Elements.
2015.07.23. 17:09:27 Running CustomUpdateEngine.ServiceElement
2015.07.23. 17:09:27 Running ServiceElement for action : Stop
2015.07.23. 17:09:27 Will try to stop : JavaQuickStarterService
2015.07.23. 17:09:27 Failed to stop JavaQuickStarterService
A szolgáltatás (JavaQuickStarterService) nem található a következő számítógépen: „.”.
In english: the service (JavaQuickStarterService) could not locate on the following computer: „.”.
2015.07.23. 17:09:27 End of ServiceElement.
2015.07.23. 17:09:27 Running CustomUpdateEngine.ExecutableElement
2015.07.23. 17:09:27 Running ExecutableElement.
2015.07.23. 17:09:27 Path To expand is : jre1.8.0_51.msi
2015.07.23. 17:09:27 Expanded Path is : jre1.8.0_51.msi
2015.07.23. 17:09:27 Running : jre1.8.0_51.msi With arguments : /i jre1.8.0_51.msi /quiet /norestart AUTOUPDATECHECK=0 WEB_JAVA=1 JAVAUPDATE=0 JU=0
2015.07.23. 17:09:29 Error running : jre1.8.0_51.msi. A megadott végrehajtható fájl nem érvényes Win32 alkalmazás.
In english: the given executable file not a valid Win32 application.

In the WindowsUpdate.log
Install failed, error = 0x80070643 / 0x0000FFFC

I've succesfuly installed the Java 8.45 with the same method.
Any idea, what I do wrong?
Jul 27, 2015 at 4:20 PM
HZoltan wrote:
2015.07.23. 17:09:27 Running : jre1.8.0_51.msi With arguments : /i jre1.8.0_51.msi /quiet /norestart AUTOUPDATECHECK=0 WEB_JAVA=1 JAVAUPDATE=0 JU=0
2015.07.23. 17:09:29 Error running : jre1.8.0_51.msi. A megadott végrehajtható fájl nem érvényes Win32 alkalmazás.
In english: the given executable file not a valid Win32 application.
I think your arguments are wrong.

Try this: /i /quiet /norestart AUTOUPDATECHECK=0 WEB_JAVA=1 JAVAUPDATE=0 JU=0
You have a path to a executable, you don't need to have give the MSI as an argument.
Jul 27, 2015 at 4:44 PM
Thanks for the quick reply. I'll try with the modified argument and let you know the result.
Jul 27, 2015 at 7:27 PM
Hi, thanks for the log file. It clearly confirm what I was thinking.
The given executable file not a valid Win32 application.
You set :
<ElementType>CustomUpdateElements.ExecutableElement</ElementType> 
<PathToExecutable>jre1.8.0_51.msi</PathToExecutable> 
<Parameters>/i jre1.8.0_51.msi /quiet /norestart AUTOUPDATECHECK=0 WEB_JAVA=1 JAVAUPDATE=0 JU=0 </Parameters> 
But you cannot RUN an .MSI file, you need to OPEN it with MsiExec.exe. As you cannot RUN an .XLS file, you need to OPEN it with Excel.exe.

So you should write :
<ElementType>CustomUpdateElements.ExecutableElement</ElementType> 
<PathToExecutable>%windir%\System32\msiexec.exe</PathToExecutable> 
<Parameters>/i jre1.8.0_51.msi /quiet /norestart AUTOUPDATECHECK=0 WEB_JAVA=1 JAVAUPDATE=0 JU=0 </Parameters>
Marked as answer by DCourtel on 8/4/2015 at 7:06 AM