Seite 1 von 2

Problem mit Java 1.7.60

Verfasst: 02 Jun 2014, 14:02
von BFEsns
Hallo zusammen,

ich wollte heute mein Java-Paket von Version 1.7.55 auf Version 1.7.60 updaten.

Ich musste bei den letzten Updates immer nur die MSI-Datei austauschen und die Paketversion erhöhen. Leider klappt das mit der neuen Version nicht mehr.

Error 1603

Ich finde leider bei Google zu diesem Problem nix.....

Hat jemand das gleiche Problem ?

Gruß

Sascha

Re: Problem mit Java 1.7.60

Verfasst: 02 Jun 2014, 18:23
von SisterOfMercy
No problems here.

What does your script look like? Perhaps you are using a property that does not exist in the MSI anymore.

(Bitte schreiben Sie Deutsch)

Re: Problem mit Java 1.7.60

Verfasst: 02 Jun 2014, 21:38
von mensch90
wtf! das java update ist ja vollkommen an mir vorbei gegangen - danke für die info ;)

1603 - typischer Hinweis darauf, dass der Installerservice nach dem Uninstall nicht zur Verfügung steht. Falls du den Uninstall via wmic machst, knall einfach danach ein Immediate Reboot rein und prüfe, ob der Ordner nicht mehr existiert, sonst hast du eine Loop ;)

Re: Problem mit Java 1.7.60

Verfasst: 03 Jun 2014, 00:02
von mensch90
habe nun 7u60 gepackt - keinerlei Problem.

Ich lasse via wmic erst die alte Version deinstallieren und installiere dann (allerdings) die jre.exe.

Re: Problem mit Java 1.7.60

Verfasst: 03 Jun 2014, 00:37
von SisterOfMercy
mensch90 hat geschrieben:Ich lasse via wmic erst die alte Version deinstallieren und installiere dann (allerdings) die jre.exe.
You do not need to uninstall first with java runtime 7. If you do uninstall, you will have to reboot, just as you have said.

Re: Problem mit Java 1.7.60

Verfasst: 03 Jun 2014, 00:58
von mensch90
even if i uninstall java, i don't need a reboot ;)
i'm using this method quiet a long time and all works finde - in earlier tests i didn't remove the old versions and got strange problems and phantom-problems in using webapps etc.

Re: Problem mit Java 1.7.60

Verfasst: 04 Jun 2014, 14:23
von Thomas_H
Moinsens...

falls noch nicht geschehen, wäre es famos, wenn das funktionierende Script auch in der Wiki landen würde... ;)

Gruß

Thomas_H

Re: Problem mit Java 1.7.60

Verfasst: 04 Jun 2014, 17:39
von SisterOfMercy
Thomas_H hat geschrieben:falls noch nicht geschehen, wäre es famos, wenn das funktionierende Script auch in der Wiki landen würde... ;)
I have put it there a few days ago:
wiki/userspace:java_runtime

This works with changing 55 to 60, no other changes were needed.

Re: Problem mit Java 1.7.60

Verfasst: 05 Jun 2014, 08:38
von BFEsns
Ok, Fehler gefunden. Ich hatte die 64-Bit-Version erwischt.......

Mit der richtigen Version funktioniert es ;-)

Re: Problem mit Java 1.7.60

Verfasst: 11 Jun 2014, 18:50
von SisterOfMercy
mensch90 hat geschrieben:even if i uninstall java, i don't need a reboot ;)
i'm using this method quiet a long time and all works finde - in earlier tests i didn't remove the old versions and got strange problems and phantom-problems in using webapps etc.
Even worse, without uninstalling the previous version it just copies the installation files, or something! :oops: :cry:

Oh wel, fixed it:

changed this:

Code: Alles auswählen

"%SystemRoot%\system32\msiexec.exe" /qb! /package "%ScriptPath%\files\x86\jre1.7.0_60.msi" IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 JQS=0 SYSTRAY=0 EULA=0 REBOOT=ReallySuppress
in this:

Code: Alles auswählen

"%SystemRoot%\system32\msiexec.exe" /qb! /package "%ScriptPath%\files\x86\jre1.7.0_60.msi" IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 JQS=0 SYSTRAY=0 EULA=0 RebootYesNo=No REBOOT=ReallySuppress
I did try the WMIC method, but XP x64 doesn't have the "WMI installer provider" installed by default, so "wmic product list" gives an error.