[wpkg-users] Java 9

Raphael Brocq raphael-jacky-r.brocq at ac-lyon.fr
Mon Mar 19 11:01:10 CET 2018


Hi,


Thank you. I will test in the week. And will keep you informed.
thanks again

Raphaël Brocq


Le 17/03/2018 à 19:07, Stefan Pendl a écrit :
> Am 17.03.2018 um 15:23 schrieb Raphael Brocq:
>> Hi,
>>
>> I'm trying to make the wpkg package for Java 9. I don't arrive it.
>> I have recovered the file msi.
>
>
> I am not extracting the MSI, since I don't add an additional step that 
> is not necessary.
>
> <!-- code start (watch for line wraps) -->
> <package id="JRE9" name="Java Runtime Environment 9" 
> revision="%PKG_VER%" reboot="false" priority="10"
>         precheck-upgrade="always" precheck-install="always" 
> precheck-remove="always">
>
>     <variable name="PKG_VER"            value="9.0.4" />
>     <variable name="PKG_SOURCE" 
> value="%SOFTWARE%\Java\jre-%PKG_VER%_windows-x64_bin.exe"/>
>     <variable name="PKG_INSTALL_SWITCH" value="STATIC=0 REBOOT=0"/>
>     <variable name="PKG_DEST" 
> value="INSTALLDIR="%ProgramFiles%\Java\jre9""/>
>
>     <check type="uninstall" condition="versiongreaterorequal" 
> path="Java 9.* \(64-bit\)" value="%PKG_VER%" />
>
>     <commands>
>         <command type="install" include="remove" />
>         <command type="install" cmd='"%PKG_SOURCE%" /s %PKG_DEST% 
> %PKG_INSTALL_SWITCH% /L %TMP%\JRE9_AMD64.log' />
>
>         <command type="upgrade" include="install" />
>
>         <!-- stop quick start service -->
>         <command type="remove" cmd="%ComSpec% /c net stop 
> JavaQuickStarterService">
>             <exit code="2" />
>         </command>
>         <command type="remove"
>             cmd="%ComSpec% /c wmic product where "Name like 'Java 
> 9%'" call Uninstall >%TMP%\JRE9_remove.log 
> 2>%TMP%\JRE9_remove.err" />
>     </commands>
> </package>
> <!-- code end -->
>

-- 
Signature Dane
<http://www.ac-lyon.fr/>
Raphaël Brocq
Responsable des Systèmes Installés

Rectorat
Délégation Académique au Numérique Éducatif
92 rue de Marseille - BP 7227 - 69007 Lyon cedex 07
Tél : 04 72 80 64 68
------------------------------------------------------------------------
Locaux : 47 rue Philippe de Lassalle - 69004 Lyon
http://dane.ac-lyon.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20180319/86a49ab6/attachment.html>


More information about the wpkg-users mailing list