[wpkg-users] Issues with publishing Java 8u102 over wpkg
Mendim Uka
Mendim.Uka at esag.ch
Mon Sep 12 11:34:28 CEST 2016
Dear WPKG Team :)
Ive actually got a problem with publishing the java versuib 8u102.
Actually installed version is: 8u65 which worked perfectly publishing over wpkg.
Now I want to update to 8u102 but it doesn't work using the same script (adjusted to the version 102)
Used Installer Application: jre-8u102-x64.exe (Java Platform SE binary), and jre-8u102-i586.exe (Java Platform SE binary),
Package Script:
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="java10"
name="Java Runtime Environment 8"
revision="%version%"
reboot="false">
<variable name="updatever" value="08" />
<variable name="shortupdatever" value="102" />
<variable name="prevshortupdatever" value="65" /> <!--Previous Version-->
<variable name="version" value="8.0.%shortupdatever%" />
<check type="logical" condition="or">
<check type="uninstall" condition="exists" path="Java 8" />
<check type="uninstall" condition="exists" path="Java 8 Update %shortupdatever%" />
<check type="uninstall" condition="exists" path="{26A24AE4-039D-4CA4-87B4-2F832180%shortupdatever%F0}" />
</check>
<install cmd='taskkill /f /im jqs.exe /im iexplore.exe /im firefox.exe'>
<exit code='any' />
</install>
<install cmd='msiexec /i %SOFTWARE%\Java\jre1.8.0_%shortupdatever%.msi JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 RebootYesNo=No WEB_JAVA=1 /q' >
<exit code='any' />
</install>
<upgrade cmd='msiexec.exe /qn /x {26A24AE4-039D-4CA4-87B4-2F832180%prevshortupdatever%F0}' /> <!--Remove previous Version-->
<remove cmd='msiexec.exe /qn /x {26A24AE4-039D-4CA4-87B4-2F832180%shortupdatever%F0}' />
<!-- Remove Java Quick Starter -->
<install cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Java\jre1.8.0_%shortupdatever%\bin\jqs.exe" "%PROGRAMFILES%\Java\jre1.8.0_%shortupdatever\bin\jqs.exe" -unregister'>
<exit code='any' />
</install>
<install cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Java\jre1.8.0_%shortupdatever%\bin\jqs.exe" "%PROGRAMFILES(x86)%\Java\jre1.8.0_%shortupdatever\bin\jqs.exe" -unregister'>
<exit code='any' />
</install>
<!-- Remove Java Auto Update -->
<install cmd='REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v SunJavaUpdateSched /f'>
<exit code='any' />
</install>
<downgrade include="install" />
<upgrade architecture="x64" cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F864180%prevshortupdatever%F0}' /> <!--Remove previous Version-->
<upgrade include="install" />
<remove architecture="x64" cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F864180%shortupdatever%F0}' />
</package>
</packages>
If you have any ideas please send me an email.
Thanks a lot :)
Best Regards
Mendim
[cid:image002.png at 01D20CE6.CF5D1100]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20160912/cec3f176/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 3585 bytes
Desc: image002.png
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20160912/cec3f176/attachment-0001.png>
More information about the wpkg-users
mailing list