This project has moved. For the latest updates, please go here.

[Closed] Java problems still

Topics: Publishing Issue
Aug 12, 2014 at 11:07 AM
Get error code FFFC when trying to install java. Below is my file.

Any help would be great.

<CustomUpdate>
<Action>
<ElementType>CustomUpdateElements.VariableElement</ElementType>
<Name>Return Code</Name>
<Type>Int</Type>
<ID>0a820e9f-c344-490d-b066-f52aabe3cfdf</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>jre-7u67-windows-x64</PathToExecutable>
<Parameters>/s IExplorer=1</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable>0a820e9f-c344-490d-b066-f52aabe3cfdf</Variable>
</Action>
<Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
<Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>%windir%\SysWOW64\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>0a820e9f-c344-490d-b066-f52aabe3cfdf</Variable>
</Action>
</CustomUpdate>
Coordinator
Aug 12, 2014 at 9:05 PM
Hi, Error code FFFC, mean "File not found"
I suspect that %windir%\SysWOW64\msiexec.exe doesn't exists on client
Please try : C:\Windows\System32\msiexec.exe instead
Aug 13, 2014 at 8:24 AM
Hi DCourtel,

Thanks for getting back to me. I have updated the custom patch with C:\Windows\System32\msiexec.exe but still get the same error. See below log.

What is the next step to get this working.

Thanks

Matthew.

<CustomUpdate>
<Action>
<ElementType>CustomUpdateElements.VariableElement</ElementType>
<Name>Return Code</Name>
<Type>Int</Type>
<ID>34072db8-8436-45bd-9a2f-7d4ae526e506</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>jre-7u67-windows-x64</PathToExecutable>
<Parameters>/s IExplorer-1</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable>34072db8-8436-45bd-9a2f-7d4ae526e506</Variable>
</Action>
<Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
<Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>C:\Windows\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>34072db8-8436-45bd-9a2f-7d4ae526e506</Variable>
</Action>
</CustomUpdate>
Coordinator
Aug 13, 2014 at 10:30 AM
Hi,
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>jre-7u67-windows-x64</PathToExecutable>
Please, ensure this file have been included in the update (additionnal files)
Aug 13, 2014 at 12:04 PM
Hi,

The file was already loaded into additional files
Coordinator
Aug 13, 2014 at 2:43 PM
Please, go to C:\Windows\Temp or C:\Users_UserName_\AppData\Local\Temp and look for CustomUpdateEngine.log
Copy/paste it here
Aug 13, 2014 at 2:46 PM
Is this on the Wsus Server or on the client machine that failed to install the update.
Aug 13, 2014 at 2:57 PM
13/08/2014 14:49:57 Starting CustomUpdateEngine with ActionFile : dab9031b-030e-4f51-a3e3-dd92f9b11bdc.xml
13/08/2014 14:49:57 Starting parsing ActionFile.
13/08/2014 14:49:57 Get Element from : <Action>
<ElementType>CustomUpdateElements.VariableElement</ElementType>
<Name>Return Code</Name>
<Type>Int</Type>
<ID>34072db8-8436-45bd-9a2f-7d4ae526e506</ID>
</Action>
13/08/2014 14:49:57 Get VariableElement from : <Action>
<ElementType>CustomUpdateElements.VariableElement</ElementType>
<Name>Return Code</Name>
<Type>Int</Type>
<ID>34072db8-8436-45bd-9a2f-7d4ae526e506</ID>
</Action>
13/08/2014 14:49:57 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>
13/08/2014 14:49:57 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>
13/08/2014 14:49:57 End of Initializing of ServiceElement.
13/08/2014 14:49:57 Get Element from : <Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>jre-7u67-windows-x64</PathToExecutable>
<Parameters>/s IExplorer-1</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable>34072db8-8436-45bd-9a2f-7d4ae526e506</Variable>
</Action>
13/08/2014 14:49:57 Get ExecutableElement from : <Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>jre-7u67-windows-x64</PathToExecutable>
<Parameters>/s IExplorer-1</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable>34072db8-8436-45bd-9a2f-7d4ae526e506</Variable>
</Action>
13/08/2014 14:49:57 Instance ExecutableElement successful.
13/08/2014 14:49:57 Get Element from : <Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
13/08/2014 14:49:57 Initializing WaitElement with : <Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
13/08/2014 14:49:57 End of Initializing of WaitElement.
13/08/2014 14:49:57 Get Element from : <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>
13/08/2014 14:49:57 Get ExecutableElement from : <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>
13/08/2014 14:49:57 Instance ExecutableElement successful.
13/08/2014 14:49:57 Get Element from : <Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
13/08/2014 14:49:57 Initializing WaitElement with : <Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
13/08/2014 14:49:57 End of Initializing of WaitElement.
13/08/2014 14:49:57 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>
13/08/2014 14:49:57 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>
13/08/2014 14:49:57 End of Initializing of ServiceElement.
13/08/2014 14:49:57 Get Element from : <Action>
<ElementType>CustomUpdateElements.ServiceElement</ElementType>
<ServiceAction>ChangeStartingMode</ServiceAction>
<ServiceName>JavaQuickStarterService</ServiceName>
<PathToEXE></PathToEXE>
<StartupMode>Disabled</StartupMode>
<StartingAccount>Undefined</StartingAccount>
<Login></Login>
<Password></Password>
</Action>
13/08/2014 14:49:57 Get ServiceElement from : <Action>
<ElementType>CustomUpdateElements.ServiceElement</ElementType>
<ServiceAction>ChangeStartingMode</ServiceAction>
<ServiceName>JavaQuickStarterService</ServiceName>
<PathToEXE></PathToEXE>
<StartupMode>Disabled</StartupMode>
<StartingAccount>Undefined</StartingAccount>
<Login></Login>
<Password></Password>
</Action>
13/08/2014 14:49:57 End of Initializing of ServiceElement.
13/08/2014 14:49:57 Get Element from : <Action>
<ElementType>CustomUpdateElements.ReturnCodeElement</ElementType>
<ReturnCodeMethod>Variable</ReturnCodeMethod>
<StaticReturnCode>0</StaticReturnCode>
<Variable>34072db8-8436-45bd-9a2f-7d4ae526e506</Variable>
</Action>
13/08/2014 14:49:57 Initializing ReturnCodeElement with : <Action>
<ElementType>CustomUpdateElements.ReturnCodeElement</ElementType>
<ReturnCodeMethod>Variable</ReturnCodeMethod>
<StaticReturnCode>0</StaticReturnCode>
<Variable>34072db8-8436-45bd-9a2f-7d4ae526e506</Variable>
</Action>
13/08/2014 14:49:57 Running 8 Elements.
13/08/2014 14:49:57 Running CustomUpdateEngine.ServiceElement
13/08/2014 14:49:57 Running ServiceElement for action : Stop
13/08/2014 14:49:57 Will try to stop : JavaQuickStarterService
13/08/2014 14:49:57 Failed to stop JavaQuickStarterService
Service JavaQuickStarterService was not found on computer '.'.
13/08/2014 14:49:57 End of ServiceElement.
13/08/2014 14:49:57 Running CustomUpdateEngine.ExecutableElement
13/08/2014 14:49:57 Running ExecutableElement.
13/08/2014 14:49:57 Path To expand is : jre-7u67-windows-x64
13/08/2014 14:49:57 Expanded Path is : jre-7u67-windows-x64
13/08/2014 14:49:57 jre-7u67-windows-x64 doesn't exists.
Coordinator
Aug 13, 2014 at 3:14 PM
13/08/2014 14:49:57 jre-7u67-windows-x64 doesn't exists.
May be, try jre-7u67-windows-x64 .exe
And ensure the filename here is the same than the one that you have imported.
Aug 14, 2014 at 1:02 PM
I have tried that. Still same result

<CustomUpdate>
<Action>
<ElementType>CustomUpdateElements.VariableElement</ElementType>
<Name>Return Code</Name>
<Type>Int</Type>
<ID>34072db8-8436-45bd-9a2f-7d4ae526e506</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>jre-7u67-windows-x64.exe</PathToExecutable>
<Parameters>/s IExplorer-1</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable>34072db8-8436-45bd-9a2f-7d4ae526e506</Variable>
</Action>
<Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
<Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>C:\Windows\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>34072db8-8436-45bd-9a2f-7d4ae526e506</Variable>
</Action>
</CustomUpdate>
Coordinator
Aug 14, 2014 at 2:26 PM
And what about the CustomUpdateEngine.log after this change ?
Aug 14, 2014 at 2:36 PM
14/08/2014 14:33:44 Starting CustomUpdateEngine with ActionFile : dab9031b-030e-4f51-a3e3-dd92f9b11bdc.xml
14/08/2014 14:33:44 Starting parsing ActionFile.
14/08/2014 14:33:44 Get Element from : <Action>
<ElementType>CustomUpdateElements.VariableElement</ElementType>
<Name>Return Code</Name>
<Type>Int</Type>
<ID>34072db8-8436-45bd-9a2f-7d4ae526e506</ID>
</Action>
14/08/2014 14:33:44 Get VariableElement from : <Action>
<ElementType>CustomUpdateElements.VariableElement</ElementType>
<Name>Return Code</Name>
<Type>Int</Type>
<ID>34072db8-8436-45bd-9a2f-7d4ae526e506</ID>
</Action>
14/08/2014 14:33:44 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>
14/08/2014 14:33:44 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>
14/08/2014 14:33:44 End of Initializing of ServiceElement.
14/08/2014 14:33:44 Get Element from : <Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>jre-7u67-windows-x64</PathToExecutable>
<Parameters>/s IExplorer-1</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable>34072db8-8436-45bd-9a2f-7d4ae526e506</Variable>
</Action>
14/08/2014 14:33:44 Get ExecutableElement from : <Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>jre-7u67-windows-x64</PathToExecutable>
<Parameters>/s IExplorer-1</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable>34072db8-8436-45bd-9a2f-7d4ae526e506</Variable>
</Action>
14/08/2014 14:33:44 Instance ExecutableElement successful.
14/08/2014 14:33:44 Get Element from : <Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
14/08/2014 14:33:44 Initializing WaitElement with : <Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
14/08/2014 14:33:44 End of Initializing of WaitElement.
14/08/2014 14:33:44 Get Element from : <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>
14/08/2014 14:33:44 Get ExecutableElement from : <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>
14/08/2014 14:33:44 Instance ExecutableElement successful.
14/08/2014 14:33:44 Get Element from : <Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
14/08/2014 14:33:44 Initializing WaitElement with : <Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
14/08/2014 14:33:44 End of Initializing of WaitElement.
14/08/2014 14:33:44 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>
14/08/2014 14:33:44 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>
14/08/2014 14:33:44 End of Initializing of ServiceElement.
14/08/2014 14:33:44 Get Element from : <Action>
<ElementType>CustomUpdateElements.ServiceElement</ElementType>
<ServiceAction>ChangeStartingMode</ServiceAction>
<ServiceName>JavaQuickStarterService</ServiceName>
<PathToEXE></PathToEXE>
<StartupMode>Disabled</StartupMode>
<StartingAccount>Undefined</StartingAccount>
<Login></Login>
<Password></Password>
</Action>
14/08/2014 14:33:44 Get ServiceElement from : <Action>
<ElementType>CustomUpdateElements.ServiceElement</ElementType>
<ServiceAction>ChangeStartingMode</ServiceAction>
<ServiceName>JavaQuickStarterService</ServiceName>
<PathToEXE></PathToEXE>
<StartupMode>Disabled</StartupMode>
<StartingAccount>Undefined</StartingAccount>
<Login></Login>
<Password></Password>
</Action>
14/08/2014 14:33:44 End of Initializing of ServiceElement.
14/08/2014 14:33:44 Get Element from : <Action>
<ElementType>CustomUpdateElements.ReturnCodeElement</ElementType>
<ReturnCodeMethod>Variable</ReturnCodeMethod>
<StaticReturnCode>0</StaticReturnCode>
<Variable>34072db8-8436-45bd-9a2f-7d4ae526e506</Variable>
</Action>
14/08/2014 14:33:44 Initializing ReturnCodeElement with : <Action>
<ElementType>CustomUpdateElements.ReturnCodeElement</ElementType>
<ReturnCodeMethod>Variable</ReturnCodeMethod>
<StaticReturnCode>0</StaticReturnCode>
<Variable>34072db8-8436-45bd-9a2f-7d4ae526e506</Variable>
</Action>
14/08/2014 14:33:44 Running 8 Elements.
14/08/2014 14:33:44 Running CustomUpdateEngine.ServiceElement
14/08/2014 14:33:44 Running ServiceElement for action : Stop
14/08/2014 14:33:44 Will try to stop : JavaQuickStarterService
14/08/2014 14:33:44 Failed to stop JavaQuickStarterService
Service JavaQuickStarterService was not found on computer '.'.
14/08/2014 14:33:44 End of ServiceElement.
14/08/2014 14:33:44 Running CustomUpdateEngine.ExecutableElement
14/08/2014 14:33:44 Running ExecutableElement.
14/08/2014 14:33:44 Path To expand is : jre-7u67-windows-x64
14/08/2014 14:33:44 Expanded Path is : jre-7u67-windows-x64
14/08/2014 14:33:44 jre-7u67-windows-x64 doesn't exists.
Coordinator
Aug 14, 2014 at 3:20 PM
14/08/2014 14:33:44 jre-7u67-windows-x64 doesn't exists.
The modification has not been done ?!?!
Aug 14, 2014 at 3:33 PM
That was also my first though but as you can see from the below the modification has been done.

<ElementType>CustomUpdateElements.ExecutableElement</ElementType>

<PathToExecutable>jre-7u67-windows-x64.exe</PathToExecutable><ElementType>CustomUpdateElements.ExecutableElement</ElementType>

<PathToExecutable>jre-7u67-windows-x64.exe</PathToExecutable>

Whould it be easier to delete the custom package and start it again? ? Maybe the client isn't picking up the changes that we have made??
Coordinator
Aug 14, 2014 at 9:22 PM
May, some client have keep the package locally on the hard drive. You can either :
  • Create another package
  • Delete the content of the C:\Windows\SoftwareDistribution\Download
Aug 15, 2014 at 7:52 AM
I have tried deleting the C:\Windows\SoftwareDisrribution\Download folder but when the client picks it back up again the .exe is still missing.

I have noticed in your post above:

May be, try jre-7u67-windows-x64 .exe
And ensure the filename here is the same than the one that you have imported.

You have put a space between jre-7u67-windows-x64 and the .exe

I dropped the space when I inputted it into the file. Is this important?
Aug 15, 2014 at 9:35 AM
I have created the package, and installed and removed update without any problems on my test PC.

After the update was installed I did another check for updates on this machine and it picked up the java update again. When it tried to install again it came back with an error 643.

Is there a way to get the custom package to check if the update is already installed. Below logs.

15/08/2014 09:16:55 Starting CustomUpdateEngine with ActionFile : b2302b74-ec49-40f7-a92a-d94f3e7b4be4.xml
15/08/2014 09:16:55 Starting parsing ActionFile.
15/08/2014 09:16:55 Get Element from : <Action>
<ElementType>CustomUpdateElements.VariableElement</ElementType>
<Name>Return Code</Name>
<Type>Int</Type>
<ID>72ead026-4500-4403-b087-3c44a4a58ff8</ID>
</Action>
15/08/2014 09:16:55 Get VariableElement from : <Action>
<ElementType>CustomUpdateElements.VariableElement</ElementType>
<Name>Return Code</Name>
<Type>Int</Type>
<ID>72ead026-4500-4403-b087-3c44a4a58ff8</ID>
</Action>
15/08/2014 09:16:55 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>
15/08/2014 09:16:55 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>
15/08/2014 09:16:55 End of Initializing of ServiceElement.
15/08/2014 09:16:55 Get Element from : <Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>jre-7u67-windows-x64.exe</PathToExecutable>
<Parameters>/s IExplorer=1</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable>72ead026-4500-4403-b087-3c44a4a58ff8</Variable>
</Action>
15/08/2014 09:16:55 Get ExecutableElement from : <Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>jre-7u67-windows-x64.exe</PathToExecutable>
<Parameters>/s IExplorer=1</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable>72ead026-4500-4403-b087-3c44a4a58ff8</Variable>
</Action>
15/08/2014 09:16:55 Instance ExecutableElement successful.
15/08/2014 09:16:55 Get Element from : <Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
15/08/2014 09:16:55 Initializing WaitElement with : <Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
15/08/2014 09:16:55 End of Initializing of WaitElement.
15/08/2014 09:16:55 Get Element from : <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>
15/08/2014 09:16:55 Get ExecutableElement from : <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>
15/08/2014 09:16:55 Instance ExecutableElement successful.
15/08/2014 09:16:55 Get Element from : <Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
15/08/2014 09:16:55 Initializing WaitElement with : <Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>30</Wait>
</Action>
15/08/2014 09:16:55 End of Initializing of WaitElement.
15/08/2014 09:16:55 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>
15/08/2014 09:16:55 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>
15/08/2014 09:16:55 End of Initializing of ServiceElement.
15/08/2014 09:16:55 Get Element from : <Action>
<ElementType>CustomUpdateElements.ServiceElement</ElementType>
<ServiceAction>ChangeStartingMode</ServiceAction>
<ServiceName>JavaQuickStarterService</ServiceName>
<PathToEXE></PathToEXE>
<StartupMode>Disabled</StartupMode>
<StartingAccount>Undefined</StartingAccount>
<Login></Login>
<Password></Password>
</Action>
15/08/2014 09:16:55 Get ServiceElement from : <Action>
<ElementType>CustomUpdateElements.ServiceElement</ElementType>
<ServiceAction>ChangeStartingMode</ServiceAction>
<ServiceName>JavaQuickStarterService</ServiceName>
<PathToEXE></PathToEXE>
<StartupMode>Disabled</StartupMode>
<StartingAccount>Undefined</StartingAccount>
<Login></Login>
<Password></Password>
</Action>
15/08/2014 09:16:55 End of Initializing of ServiceElement.
15/08/2014 09:16:55 Get Element from : <Action>
<ElementType>CustomUpdateElements.ReturnCodeElement</ElementType>
<ReturnCodeMethod>Variable</ReturnCodeMethod>
<StaticReturnCode>0</StaticReturnCode>
<Variable>72ead026-4500-4403-b087-3c44a4a58ff8</Variable>
</Action>
15/08/2014 09:16:55 Initializing ReturnCodeElement with : <Action>
<ElementType>CustomUpdateElements.ReturnCodeElement</ElementType>
<ReturnCodeMethod>Variable</ReturnCodeMethod>
<StaticReturnCode>0</StaticReturnCode>
<Variable>72ead026-4500-4403-b087-3c44a4a58ff8</Variable>
</Action>
15/08/2014 09:16:55 Running 8 Elements.
15/08/2014 09:16:55 Running CustomUpdateEngine.ServiceElement
15/08/2014 09:16:55 Running ServiceElement for action : Stop
15/08/2014 09:16:55 Will try to stop : JavaQuickStarterService
15/08/2014 09:16:55 Failed to stop JavaQuickStarterService
Service JavaQuickStarterService was not found on computer '.'.
15/08/2014 09:16:55 End of ServiceElement.
15/08/2014 09:16:55 Running CustomUpdateEngine.ExecutableElement
15/08/2014 09:16:55 Running ExecutableElement.
15/08/2014 09:16:55 Path To expand is : jre-7u67-windows-x64.exe
15/08/2014 09:16:55 Expanded Path is : jre-7u67-windows-x64.exe
15/08/2014 09:16:55 Running : jre-7u67-windows-x64.exe With arguments : /s IExplorer=1
15/08/2014 09:17:11 Exiting process.
15/08/2014 09:17:11 End of running ExecutableElement.
15/08/2014 09:17:11 Running CustomUpdateEngine.WaitElement
15/08/2014 09:17:11 Running WaitElement.
15/08/2014 09:17:41 End waiting.
15/08/2014 09:17:41 Running CustomUpdateEngine.ExecutableElement
15/08/2014 09:17:41 Running ExecutableElement.
15/08/2014 09:17:41 Path To expand is : %windir%\System32\msiexec.exe
15/08/2014 09:17:41 Expanded Path is : C:\Windows\System32\msiexec.exe
15/08/2014 09:17:41 Running : C:\Windows\System32\msiexec.exe With arguments : /x {4A03706F-666A-4037-7777-5F2748764D10 /qn /norestart
15/08/2014 09:17:41 Exiting process.
15/08/2014 09:17:41 End of running ExecutableElement.
15/08/2014 09:17:41 Running CustomUpdateEngine.WaitElement
15/08/2014 09:17:41 Running WaitElement.
15/08/2014 09:18:11 End waiting.
15/08/2014 09:18:11 Running CustomUpdateEngine.ServiceElement
15/08/2014 09:18:11 Running ServiceElement for action : Stop
15/08/2014 09:18:11 Will try to stop : JavaQuickStarterService
15/08/2014 09:18:11 Failed to stop JavaQuickStarterService
Service JavaQuickStarterService was not found on computer '.'.
15/08/2014 09:18:11 End of ServiceElement.
15/08/2014 09:18:11 Running CustomUpdateEngine.ServiceElement
15/08/2014 09:18:11 Running ServiceElement for action : ChangeStartingMode
15/08/2014 09:18:11 Will try to change the startup mode of JavaQuickStarterService
15/08/2014 09:18:11 End of ServiceElement.
15/08/2014 09:18:11 Running CustomUpdateEngine.ReturnCodeElement
15/08/2014 09:18:11 Return Code Method is : Variable
15/08/2014 09:18:11 Returning : 1603
Aug 15, 2014 at 9:35 AM
double post because text had reached the limit

<CustomUpdate>
<Action>
<ElementType>CustomUpdateElements.VariableElement</ElementType>
<Name>Return Code</Name>
<Type>Int</Type>
<ID>72ead026-4500-4403-b087-3c44a4a58ff8</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>jre-7u67-windows-x64.exe</PathToExecutable>
<Parameters>/s IExplorer=1</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable>72ead026-4500-4403-b087-3c44a4a58ff8</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>72ead026-4500-4403-b087-3c44a4a58ff8</Variable>
</Action>
</CustomUpdate>
Coordinator
Aug 15, 2014 at 10:46 AM
Is there a way to get the custom package to check if the update is already installed
What do you have set as 'IsInstalled' Rule and 'IsInstallable' Rule ?
Aug 15, 2014 at 11:34 AM
'IsInstalled'

<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f86417021ff}"/>


'IsInstallable'

<lar:Not>
<msiar:MsiProductInstalled ProductCode+"{26a24ae4-039d-4ca-87b4-2f86417021ff}2/>
</lar:Not>

<bar:Proicessor Architecture="92/>

im assuming the Product is wrong for my MSI??? What is the correct msi Product code for Java 7 Update 67

Thanks very much.
Coordinator
Aug 15, 2014 at 11:42 AM
Edited Aug 15, 2014 at 11:42 AM
26a24ae4-039d-4ca4-87b4-2f8641 7 0 21 ff

This is the MSI product code for Java 7 Update 21 (64bit)
For Java 7 update 67, it should be : 26a24ae4-039d-4ca4-87b4-2f8641 7 0 67 ff
Aug 15, 2014 at 9:27 PM
Edited Aug 15, 2014 at 9:43 PM
dcourtel, I see he's using iexplorer=1 argument instead of WEB_JAVA=1 as was documented as being the new command line argument here: http://docs.oracle.com/javase/7/docs/webnotes/install/windows/jre-installer-options.html

Also, Oracle changed the MSI code for java 7 u65 and u67 to be slightly different than previous versions, now it's as follows:

26a24ae4-039d-4ca4-87b4-2f 0 3217065ff
for u65 (x86),

26a24ae4-039d-4ca4-87b4-2f 0 3217067ff
for u67 (x86)

Also, as a warning, the installable rules included in the documentation (that you followed) will install java on all systems you mark the update as approved for, not just the ones that already have it installed.

Here're my installable rules for Java 7 U 67 (x86) that only mark machines that actually have Java installed already as applicable: (note: not all of the product codes are actually used by Oracle, it's just easier for me to update the file this way)

<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217000ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217001ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217002ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217003ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217004ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217005ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217006ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217007ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217008ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217009ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217010ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217011ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217012ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217013ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217014ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217015ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217016ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217017ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217018ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217019ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217020ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217021ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217022ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217023ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217024ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217025ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217026ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217027ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217028ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217029ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217030ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217031ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217032ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217033ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217034ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217035ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217036ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217037ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217038ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217039ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217040ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217041ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217042ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217043ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217044ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217045ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217046ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217047ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217048ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217049ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217050ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217051ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217052ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217053ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217054ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217055ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217056ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217057ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217058ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217059ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217060ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217061ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217062ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217063ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f83217064ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f03217065ff}"/>
<msiar:MsiProductInstalled ProductCode="{26a24ae4-039d-4ca4-87b4-2f03217066ff}"/>
Aug 18, 2014 at 12:47 PM
So I have now got the update working and installed successfully on two machines. The second machine I installed the update on already had a version of Java installed. Version 7 update 51.

The update removed the auto updater and installed version 67 of Java. After the update has installed successfully the older version of Java is still installed.

Is there a way to get the update to check and remove the older version during the update?

Thanks


Matthew.
Editor
Aug 18, 2014 at 1:41 PM
Edited Aug 18, 2014 at 1:42 PM
MatthewTandy wrote:
Is there a way to get the update to check and remove the older version during the update?
I never used the custom update for installing JAVA on a machine. I allways used and will use in the future the MSI, you can extract the MSI from the EXE: http://www.klaus-hartnegg.de/gpo/msi_java.html or http://www.java.com/en/download/faq/msi.xml or http://www.74k.org/extracting-java-msi-from-java-exe
After this i create a new update and ENTER the Wizard complete. At each cleint a new Java-Version is installed, the old one is automatically uninstalled from the new version. You can try it manually.

Settings i changed with Group Policy Preferences.
Aug 19, 2014 at 9:46 AM
but the custom update is needed to remove the auto updater?
Editor
Aug 19, 2014 at 10:31 AM
MatthewTandy wrote:
but the custom update is needed to remove the auto updater?
No, it is not needed. You can create an ADM-Template with the Java Settings from Registry. In this ADM-Template you can deactivate Java Update. Also you can edit/change the Settings via Group Policy Preferences. Have a look in your registry: HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update. Change settings in Control Panel > Java and check new values in Registry.

Also with Group Policy Preferences you can delete in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ the Java Link.

Java Update > (Ausblenden) > Visible = False
EnableAutoUpdateCheck (Deaktiviert) > Deactivate
EnableJavaUpdate (Deaktiviert) > Deactivate
NotifyDownload (Deaktiviert) > Deactivate
NotifyInstall (Deaktiviert) > Deactivate
PromptAutoUpdateCheck (Deaktiviert) > Deactivate

The JavaQuickstarterService is disabled in Group Policys. With Group Policy Preferences you can also delete every entry in RUN-Trees from Registry.

For me it is easier to work with complete MSI-Files and change settings for the whole domain in Group Policy and Group Policy Preferences.
Aug 19, 2014 at 12:05 PM
Have you looked into version 67 of Java 7.

When I go into the folder I am missing a .cab file that I get on all previous versions.
Editor
Aug 19, 2014 at 12:36 PM
MatthewTandy wrote:
Have you looked into version 67 of Java 7.

When I go into the folder I am missing a .cab file that I get on all previous versions.
Alle Files we needed are here. Maybe you should download the EXE again. Maybe from another Gateway or another browser on another client.
Aug 19, 2014 at 12:59 PM
So is there an update I can run that removes older versions of Java on its own? Or can I add something into my custom update?
Editor
Aug 19, 2014 at 1:28 PM
MatthewTandy wrote:
So is there an update I can run that removes older versions of Java on its own? Or can I add something into my custom update?
No, i never need an update. We allways publish only the next version. This published next version will deinstall AND install itself automatically. Try it on a testclient.

You don't need a custom update. Did you read the articles i posted some postings before? In C:\Users\%USERNAME%\AppData\LocalLow\Sun\Java\jre1.7.0_67 you will find 3 files: Data1.cab + jre1.7.0_67.msi + jre1031.MST. You don't need more files for 'normal' update from Java.
Aug 19, 2014 at 9:07 PM
Edited Aug 19, 2014 at 9:08 PM
You can create a custom update to remove older versions of Java should the update leave any behind, for instance, if you ever installed Java using the STATIC=1 option or if you're trying to remove Java 6 or 7 after installing 8. To do this, gather up the MSI product codes that you want to remove from systems, make the custom installer use MSIEXEC to remove them using the /x flag, fill out the update details, don't include and "update is installed" rules, and set the applicable systems to systems that have the versions you want to remove installed, but only if the latest one is already installed. (Hint: use an OR filled with the ones you want to remove nested in an AND that contains the OR and the latest version you want to keep).
If you don't include the "make sure the latest one is already installed", then it will simply uninstall the targeted versions of Java from the targeted computer.
Marked as answer by DCourtel on 9/13/2014 at 12:49 PM
Sep 30, 2014 at 1:35 AM
I'll have to try this method. Many of our systems already had multiple Java versions when I started using WPP.

Most don't need Java so I created WPP updates for older versions and approved them for removal.

I have the latest approved for install for the ones that do, but didn't have the MST.

Thanks!
Oct 6, 2014 at 9:22 AM
This is how we do in our environment, please check if it suits to yours

Process:
  1. Kill all open browsers (IE, Firefox, Chrome)
  2. Uninstall all previous versions of JAVA JDK
  3. Wait for 60sec
  4. Start the JDK installation
  5. Disable Auto Update from Registry

XML file

<CustomUpdate>
<Action>
<ElementType>CustomUpdateElements.KillProcessElement</ElementType>
<ProcessName>iexplore</ProcessName>
</Action>
<Action>
<ElementType>CustomUpdateElements.KillProcessElement</ElementType>
<ProcessName>firefox</ProcessName>
</Action>
<Action>
<ElementType>CustomUpdateElements.KillProcessElement</ElementType>
<ProcessName>chrome</ProcessName>
</Action>
<Action>
<ElementType>CustomUpdateElements.ScriptElement</ElementType>
<ScriptType>Powershell</ScriptType>
<Filename>c:\windows\system32\WindowsPowerShell\v1.0\powershell.exe</Filename>
<Arguments>-ExecutionPolicy Unrestricted -file "C:\Windows\SoftwareDistribution\Download\Install\JavaJDK_Uninstall.ps1"</Arguments>
<KillProcess>False</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable/>
</Action>
<Action>
<ElementType>CustomUpdateElements.WaitElement</ElementType>
<Wait>60</Wait>
</Action>
<Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>jdk-7u67-windows-i586.exe</PathToExecutable>
<Parameters>/s</Parameters>
<KillProcess>False</KillProcess>
<TimeBeforeKilling>10</TimeBeforeKilling>
<Variable/>
</Action>

</CustomUpdate>

Powershell Script

Stop-Process -ProcessName iexplore -Force
Stop-Process -ProcessName firefox -Force

$app = Get-WmiObject -Class win32_product | where { $_.Name -like "Java"}

foreach ($a in $app) {$a.Uninstall()}

$app = Get-WmiObject -Class win32_product | where { $_.Name -like "Java"}

foreach ($a in $app) {$a.Uninstall()}

$app = Get-WmiObject -Class win32_product | where { $_.Name -like "Java"}

foreach ($a in $app) {$a.Uninstall()}

$app = Get-WmiObject -Class win32_product | where { $_.Name -like "Java"}

foreach ($a in $app) {$a.Uninstall()}

$app = Get-WmiObject -Class win32_product | where { $_.Name -like "Java"}

foreach ($a in $app) {$a.Uninstall()}

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy" /V "EnableJavaUpdate" /D 0 /T REG_DWORD /F
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy" /V "EnableJavaUpdate" /D 0 /T REG_DWORD /F

exit

exit

JDK Installed Rule

<lar:Or>
<lar:And>
<bar:Processor Architecture="0"/>
<bar:FileExists Path="C:\Program Files\Java\jdk1.7.0_67\bin\java.exe"/>
<bar:FileExists Path="C:\Program Files\Java\jre7\bin\java.exe"/>
<bar:FileVersion Path="C:\Program Files\Java\jdk1.7.0_67\bin\java.exe" Comparison="GreaterThanOrEqualTo" Version="7.0.670.1"/>
<bar:FileVersion Path="C:\Program Files\Java\jre7\bin\java.exe" Comparison="GreaterThanOrEqualTo" Version="7.0.670.1"/>
</lar:And>
<lar:And>
<bar:Processor Architecture="9"/>
<bar:FileExists Path="C:\Program Files (x86)\Java\jdk1.7.0_67\bin\java.exe"/>
<bar:FileExists Path="C:\Program Files (x86)\Java\jre7\bin\java.exe"/>
<bar:FileVersion Path="C:\Program Files (x86)\Java\jdk1.7.0_67\bin\java.exe" Comparison="GreaterThanOrEqualTo" Version="7.0.670.1"/>
<bar:FileVersion Path="C:\Program Files (x86)\Java\jre7\bin\java.exe" Comparison="GreaterThanOrEqualTo" Version="7.0.670.1"/>
</lar:And>

</lar:Or>

JDK Installable Rule

<lar:And>
<lar:Or>
<lar:And>
<bar:Processor Architecture="0"/><lar:Or>
<lar:Not>
<bar:FileExists Path="C:\Program Files\Java\jdk1.7.0_67\bin\java.exe"/>
</lar:Not><lar:Not>
<bar:FileExists Path="C:\Program Files\Java\jre7\bin\java.exe"/>
</lar:Not><bar:FileVersion Path="C:\Program Files\Java\jdk1.7.0_67\bin\java.exe" Comparison="LessThan" Version="7.0.670.1"/>
<bar:FileVersion Path="C:\Program Files\Java\jre7\bin\java.exe" Comparison="LessThan" Version="7.0.670.1"/>
</lar:Or>
</lar:And>
<lar:And>
<bar:Processor Architecture="9"/><lar:Or>
<lar:Not>
<bar:FileExists Path="C:\Program Files (x86)\Java\jdk1.7.0_67\bin\java.exe"/>
</lar:Not><lar:Not>
<bar:FileExists Path="C:\Program Files (x86)\Java\jre7\bin\java.exe"/>
</lar:Not><bar:FileVersion Path="C:\Program Files (x86)\Java\jdk1.7.0_67\bin\java.exe" Comparison="LessThan" Version="7.0.670.1"/>
<bar:FileVersion Path="C:\Program Files (x86)\Java\jre7\bin\java.exe" Comparison="LessThan" Version="7.0.670.1"/>
</lar:Or>
</lar:And>
</lar:Or>

</lar:And>

Oct 17, 2014 at 12:35 PM
Edited Oct 17, 2014 at 1:22 PM
Hi, may I enter this discussion, with a simular problem...

I followed winfried´s instructions for deploying JAVA in my case version 8u25. Other than he suggested my old java version wasn´t uninstalled in the process so i ended up with java 7u51 and 8u25 installed on the same machine.


Hope i´m not confusing or violating forum rules, by reactivating this thread.

greez
Editor
Oct 18, 2014 at 10:02 AM
FMHH wrote:
Hi, may I enter this discussion, with a simular problem...

I followed winfried´s instructions for deploying JAVA in my case version 8u25. Other than he suggested my old java version wasn´t uninstalled in the process so i >ended up with java 7u51 and 8u25 installed on the same machine.
I had the same last week, but no more time to investigate the problem. For this time i have create a update from Java 7 Update 72.
http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html
Accept License for Java 7 Update 72 and download it. You can publish Java 7 Update 72 how i set it up in this thread.