[wpkg-users] More java8 weakness...
Marco Gaiarin
gaio at sv.lnf.it
Wed Mar 18 15:34:17 CET 2015
I'm still fighting against java8, finding every time new troubles.
Looking at the list, i'm not alone. ;(
1) firstly, i've tried to uninstall old java version with the for hack,
with the @:
<remove cmd="%ComSpec% /c for /L %N in (10,1,99) do @msiexec /passive /x {26A24AE4-039D-4CA4-87B4-2F832180%~NF0}">
the command stall. With >NUL:
<remove cmd="%ComSpec% /c for /L %N in (10,1,99) do msiexec /passive /x {26A24AE4-039D-4CA4-87B4-2F832180%~NF0} >NUL">
if i put two command, the first for java6 and the second for java7 (in
different 'remove' stanzas), the second stall.
Seems instead the the wmic approach work:
<install cmd='wmic product where "Name like 'Java 6%'" call uninstall /nointeractive' >
<install cmd='wmic product where "Name like 'Java 7%'" call uninstall /nointeractive' >
2) seems that the installer completely ignore STATIC=0 and do everytime
a ''nonstatic'' installation (this explain why the UUID have now a F0
and not FF as the last byte); this is a little trouble for me, because
i've some apps that rely on a constant java path.
I've tried commandline and 'INSTALLCFG=', it is the same.
'INSTALLDIR=' works, but i'm a bit scared on doing ''nonstatic''
installation on the same directory, probably a 'remove before
upgrade' is needed.
A better approach could be to leave the 'static' path and use link
(mklink /J) to recreate the ''default'' path?
3) activating some cmdline options (eg, STATIC=0) need that the file
c:\programdata\oracle\java\java.settings.cfg exist; can be empty, but
have to exist.
Hoping in some feedback... Thanks...
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/25/index.php/component/k2/item/123
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
More information about the wpkg-users
mailing list