hier mal mein Script mit welchem ich alte Java´s deinstalliere um danach die aktuellste Java-Version Silent zu installieren:
Code: Select all
@echo off
pushd %~dp0
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217021FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217025FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217040FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217045FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217051FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217055FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217060FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217065FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217067FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217071FF}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83218025F0}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83218031F0}
msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83218040F0}
jre1.8.0_45.msi /qn
und an der viert und fünftletzten Stelle die Java-Version geändert werden muss z.B. 31 auf 40.
Guss
HCT