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

[Solved] Error 0x80070643 when Installing Java 7 U45

Topics: Publishing Issue
Nov 19, 2013 at 4:31 PM
Hi everyone,

I'm having some trouble getting Java Updates to install correctly. My test machines are running Windows 7 x64, with Java 7 u 25 (32bit) installed. I'm trying to deploy the update to Java 7 Update 45 (32bit). I followed this guide to do so, https://wsuspackagepublisher.codeplex.com/discussions/462519 . UAC is enable, and I've tried installing the updates with an admin, and non admin user logged in (although I don't think that should matter). The update downloads fine on the client machines, but fails almost immediately when the install starts. I've attempted this numerous times, with no success. I've verified that the MSIs are not corrupted, and followed the steps to a tee. Any help will be appreciated! I really want to make this work. Here's a snippet from the update log on one of the test clients:

:07:602 828 b6c Agent *********
2013-11-19 10:21:07:602 828 b6c Agent * Updates to install = 1
2013-11-19 10:21:07:602 828 b6c Agent * Title = Java 7 Update 45
2013-11-19 10:21:07:602 828 b6c Agent * UpdateId = {C99D2075-04EE-4A51-A7FC-7C3E4C0B90F3}.1
2013-11-19 10:21:07:618 828 b6c Agent WARNING: failed to calculate prior restore point time with error 0x80070002; setting restore point
2013-11-19 10:21:12:368 828 b7c Report REPORT EVENT: {09696748-8EA2-4A35-A945-2400F69B7669} 2013-11-19 10:21:07:367-0500 1 162 101 {C99D2075-04EE-4A51-A7FC-7C3E4C0B90F3} 1 0 AutomaticUpdatesWuApp Success Content Download Download succeeded.
2013-11-19 10:21:12:368 828 b7c Report REPORT EVENT: {CFC0C1B4-27BB-4682-978E-1D17A0379ABD} 2013-11-19 10:21:07:367-0500 1 188 102 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Content Install Installation Ready: The following updates are downloaded and ready for installation. This computer is currently scheduled to install these updates on ‎Wednesday, ‎November ‎20, ‎2013 at 3:00 AM: - Java 7 Update 45
2013-11-19 10:21:12:368 828 b7c Report CWERReporter finishing event handling. (00000000)
2013-11-19 10:21:25:462 828 b6c DnldMgr Preparing update for install, updateId = {C99D2075-04EE-4A51-A7FC-7C3E4C0B90F3}.1.
2013-11-19 10:21:26:025 2920 a84 Misc =========== Logging initialized (build: 7.6.7600.256, tz: -0500) ===========
2013-11-19 10:21:26:025 2920 a84 Misc = Process: C:\Windows\system32\wuauclt.exe
2013-11-19 10:21:26:025 2920 a84 Misc = Module: C:\Windows\system32\wuaueng.dll
2013-11-19 10:21:26:025 2920 a84 Handler :::::::::::::
2013-11-19 10:21:26:025 2920 a84 Handler :: START :: Handler: Command Line Install
2013-11-19 10:21:26:025 2920 a84 Handler :::::::::
2013-11-19 10:21:26:025 2920 a84 Handler : Updates to install = 1
2013-11-19 10:21:30:275 2920 a84 Handler : WARNING: Command line install completed. Return code = 0x0000fffc, Result = Failed, Reboot required = false
2013-11-19 10:21:30:275 828 480 AU >>## RESUMED ## AU: Installing update [UpdateId = {C99D2075-04EE-4A51-A7FC-7C3E4C0B90F3}]
2013-11-19 10:21:30:275 828 480 AU # WARNING: Install failed, error = 0x80070643 / 0x0000FFFC
2013-11-19 10:21:30:275 2920 a84 Handler : WARNING: Exit code = 0x8024200B
2013-11-19 10:21:30:275 2920 a84 Handler :::::::::
2013-11-19 10:21:30:275 2920 a84 Handler :: END :: Handler: Command Line Install
2013-11-19 10:21:30:275 2920 a84 Handler :::::::::::::
2013-11-19 10:21:30:447 828 b6c Agent *********
2013-11-19 10:21:30:447 828 b6c Agent ** END ** Agent: Installing updates [CallerId = AutomaticUpdates]
2013-11-19 10:21:30:447 828 b6c Agent *************
Nov 19, 2013 at 6:57 PM
Please select the update in WPP, and click on the link beside the 'Id' label. This will open a window, open the folder and open the .xml file. Copy the content of the file and paste it here.
Nov 19, 2013 at 7:07 PM
Here is the contents of the .xml file. Thanks!

<CustomUpdate>
<Action>
<ElementType>CustomUpdateElements.VariableElement</ElementType>
<Name>Return Code</Name>
<Type>Int</Type>
<ID>7d13d8be-ca2c-4642-ab82-5f2e7290e05a</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>%windir%\System32\msiexec.exe</PathToExecutable>
<Parameters>/i jre1.7.0_45.msi /quiet /norestart AUTOUPDATECHECK=0 IEXPLORER=1 JAVAUPDATE=0 JU=0 MOZILLA=1</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable>7d13d8be-ca2c-4642-ab82-5f2e7290e05a</Variable>
</Action>
</CustomUpdate>
Nov 19, 2013 at 7:10 PM
Look in the same folder where you have found the xml file, do you see the file "jre1.7.0_45.msi", wrote exactly like this ?
Nov 19, 2013 at 7:14 PM
DCourtel wrote:
Look in the same folder where you have found the xml file, do you see the file "jre1.7.0_45.msi", wrote exactly like this ?
Yes, I see the following in that folder:

longstringofnumbers.xml
CustomUpdateEngine.exe
Data1.cab
jre1.7.0_45.msi
Nov 19, 2013 at 7:25 PM
On a client computer, go to C:\Windows\Temp and look in the CustomUpdateEngine.log. Copy the content here.
Nov 19, 2013 at 7:30 PM
Here it is:

11/19/2013 10:21:29 AM ========================================================================================================================
11/19/2013 10:21:29 AM Starting CustomUpdateEngine with ActionFile : 98545cd4-904c-4190-8ddf-9180891793b6.xml
11/19/2013 10:21:29 AM Starting parsing ActionFile.
11/19/2013 10:21:29 AM Get Element from : <Action>
<ElementType>CustomUpdateElements.VariableElement</ElementType>
<Name>Return Code</Name>
<Type>Int</Type>
<ID>7d13d8be-ca2c-4642-ab82-5f2e7290e05a</ID>
</Action>
11/19/2013 10:21:29 AM Get VariableElement from : <Action>
<ElementType>CustomUpdateElements.VariableElement</ElementType>
<Name>Return Code</Name>
<Type>Int</Type>
<ID>7d13d8be-ca2c-4642-ab82-5f2e7290e05a</ID>
</Action>
11/19/2013 10:21:29 AM Get Element from : <Action>
<ElementType>CustomUpdateElements.ServiceElement</ElementType>
<ServiceAction>Stop</ServiceAction>
<ServiceName>JavaQuickStarterService</ServiceName>
<PathToEXE></PathToEXE>
<StartupMode>Undefined</StartupMode>
<StartingAccount>Undefined</StartingAccount>
<Login></Login>
<Password></Password>
</Action>
11/19/2013 10:21:29 AM Get ServiceElement from : <Action>
<ElementType>CustomUpdateElements.ServiceElement</ElementType>
<ServiceAction>Stop</ServiceAction>
<ServiceName>JavaQuickStarterService</ServiceName>
<PathToEXE></PathToEXE>
<StartupMode>Undefined</StartupMode>
<StartingAccount>Undefined</StartingAccount>
<Login></Login>
<Password></Password>
</Action>
11/19/2013 10:21:29 AM End of Initializing of ServiceElement.
11/19/2013 10:21:29 AM Get Element from : <Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>%windir%\System32\msiexec.exe</PathToExecutable>
<Parameters>/i jre1.7.0_45.msi /quiet /norestart AUTOUPDATECHECK=0 IEXPLORER=1 JAVAUPDATE=0 JU=0 MOZILLA=1</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable>7d13d8be-ca2c-4642-ab82-5f2e7290e05a</Variable>
</Action>
11/19/2013 10:21:29 AM Get ExecutableElement from : <Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>%windir%\System32\msiexec.exe</PathToExecutable>
<Parameters>/i jre1.7.0_45.msi /quiet /norestart AUTOUPDATECHECK=0 IEXPLORER=1 JAVAUPDATE=0 JU=0 MOZILLA=1</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable>7d13d8be-ca2c-4642-ab82-5f2e7290e05a</Variable>
</Action>
11/19/2013 10:21:29 AM Instance ExecutableElement successful.
11/19/2013 10:21:29 AM Running 2 Elements.
11/19/2013 10:21:29 AM Running CustomUpdateEngine.ServiceElement
11/19/2013 10:21:29 AM Running ServiceElement for action : Stop
11/19/2013 10:21:29 AM Will try to stop : JavaQuickStarterService
11/19/2013 10:21:30 AM Failed to stop JavaQuickStarterService
Service JavaQuickStarterService was not found on computer '.'.
11/19/2013 10:21:30 AM End of ServiceElement.
11/19/2013 10:21:30 AM Running CustomUpdateEngine.ExecutableElement
11/19/2013 10:21:30 AM Running ExecutableElement.
11/19/2013 10:21:30 AM Path To Executable starting with : %windir%\System32\msiexec.exe
11/19/2013 10:21:30 AM Path To Executable ending with : C:\Windows\System32\msiexec.exe
11/19/2013 10:21:30 AM %windir%\System32\msiexec.exe doesn't exists.



Nov 19, 2013 at 7:45 PM
Ok, effectively there is a bug in the ExecutableElement. It try to launch the file using the path with System Variables instead of using the translated path.

Send me an email to package.publisher@free.fr, I will sent you a fixed version. You will have to decline the update then delete it and re-publish a new one with this new version.
Marked as answer by DCourtel on 11/24/2013 at 2:19 PM
Nov 19, 2013 at 7:49 PM
Thanks!! I just sent you an email. I really appreciate you looking into this so quickly.




Feb 10, 2014 at 2:39 PM
Same problem here! :( Is there a way to solve the issue by myself? I have a lot of updates to be done, and I would preffer to make them work quickly.

Also, on some computers I get an error that "can't update the requested files while they are in use". Any ideea?
Feb 10, 2014 at 2:59 PM
@hutiucip, My problem was resolved with the latest release. What version of package publisher are you running?
Feb 10, 2014 at 4:50 PM
The last, I have installed WSUSPP this last friday, for the first time
Feb 10, 2014 at 5:15 PM
Just to clarify, are you trying to install Java 7 update 45? If so, are you using the MSI, or the EXE? You may have issues installing the EXE if you users are not administrators and/or UAC is a factor.


Feb 11, 2014 at 1:00 PM
Edited Feb 11, 2014 at 1:01 PM
@9993009fmmmdkk22, I have recreated the update, and now it is deplyed and installed, but even if the install status is ”Successful” the Update still appears and is being offered to be installed again (and again, and again...).

I am talking about Java 7 Update 51 (x86), .exe, tryed to make it as an ”Update” (simple) or a ”Custom Update”, using the tutorial found in the ”Documentation” section, as PDF.
Feb 11, 2014 at 4:36 PM
I am using the msi because it allows you to create a rule using the product ID to see if the update is already installed. Perhaps you could try that option. For what it's worth, I've had a similar problem with other updates that do not have detection rules.

Feb 11, 2014 at 5:50 PM
9993009fmmmdkk22 wrote:
I am using the msi because it allows you to create a rule using the product ID to see if the update is already installed. Perhaps you could try that option. For what it's worth, I've had a similar problem with other updates that do not have detection rules.
Is it only the update created on the .msi file that allows for software installation detection? In the downloaded .pdf documentation "Installing Java 7u21 Without Java Auto Updater.pdf" it is not mentioned, and I suppose that is not necessary to grab the .msi from the .exe, since the signature string is inserted in the published update... Or?

Thank you very much

PS I just republished (yes, again :D ) the update, still the same problem, It is repeatedly offered for installation even after the update is installed on the test machine, returning the "Success" code. :((
Feb 11, 2014 at 6:38 PM
You should be able to do a fresh install with the MSI. Here are the directions I've been using: http://wsuspackagepublisher.codeplex.com/discussions/462519

Don't use the product ID in these instructions; make sure to grab the new one for the u51 update. If you aren't sure how, let me know.


Feb 11, 2014 at 7:28 PM
OK, it looks like the last 4 digits (before ”FF”) is the version/ subversion/ sub-subversion. So, I have to Revise, changing the code from ”26A24AE4-039D-4CA4-87B4-2F8321__7021__FF” to ”26A24AE4-039D-4CA4-87B4-2F8321__7051__FF”.

And now I confirm that everything is fine! :)

So, for everyone, the MSI product code changes from version to version, if you create the custom update as I did, meaning following the "Installing Java 7u21 Without Java Auto Updater.pdf" from documentation, do not just ”Copy-Paste” the MSI Product Code found in the .pdf, adjust it as described above.

Good luck everyone!

PS I guess it is better for this matters (ie finding, using the WSUSPP, the MSI Product Code of every app needed to be deployed etc.) to be included in the documentation... I realize that I have lost 4 full working days and some more extra-time (not payed, unfortunately) to figure all this out. Though, I don't forget this is a free product, and I really and fully thank a lot to the developers for it.
GREAT WORK, GUYS!!! (!)
Feb 11, 2014 at 8:02 PM

You can also find the product code using ORCA or with the MSI viewer built into wsuspp.