ich benutze das angepasste Java-Script aus dem OPSI-Wiki zur Verteilung von Java 32bit und 64bit. Da weder der IE noch Firefox standardmäßig 64bit benutzen, habe ich das Script so umgestellt, dass nur noch Java 32bit verteilt wird. Das läuft soweit auch problemlos, jedoch nur für WinXP. Auf Win7 64bit kommt es zum Errorcode 1619.
Code: Alles auswählen
[5] [21.08.2012 13:54:30] If
[5] [21.08.2012 13:54:30] $SystemType$ = "64 Bit System" <<< result true
[5] [21.08.2012 13:54:30] Then
[5] [21.08.2012 13:54:30] message Installiere Oracle Java 7 Update 6 (32bit)
[5] [21.08.2012 13:54:30]
[5] [21.08.2012 13:54:30] Execution of Winbatch_Install_32-Bit
[6] [21.08.2012 13:54:30] Call ""P:\java-runtime-environment\jre-7u6-windows-i586.exe""
[6] [21.08.2012 13:54:30] Waiting until the called process is finished
[6] [21.08.2012 13:57:52] ExitCode 1619 Executed process ""P:\java-runtime-environment\jre-7u6-windows-i586.exe""
[6] [21.08.2012 13:57:52]
[6] [21.08.2012 13:57:52] ~~~~~~~ Start Sub ~~~~~~~ sub "P:\check_exitcode\check_msi-exitcode.ins"
[5] [21.08.2012 13:57:52]
[5] [21.08.2012 13:57:52] Set $ExitCode$ = getLastExitCode
[6] [21.08.2012 13:57:52] The value of the variable "$ExitCode$" is now: "1619"
[1] [21.08.2012 13:57:52] LogLevel was 6
[1] [21.08.2012 13:57:52] LogLevel set to 4
[1] [21.08.2012 13:57:52] LogLevel was 4
[1] [21.08.2012 13:57:52] LogLevel set to 5
[3] [21.08.2012 13:57:52] Error: ExitCode = 1619 ERROR_INSTALL_PACKAGE_OPEN_FAILED This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package.
[5] [21.08.2012 13:57:52] Error level set to fatal
[5] [21.08.2012 13:57:52] Process aborted
[5] [21.08.2012 13:57:52] Process aborted
[1] [21.08.2012 13:57:52] ___________________
[1] [21.08.2012 13:57:52] script finished
[1] [21.08.2012 13:57:52] 1 error
[1] [21.08.2012 13:57:52] 0 warnings
[1] [21.08.2012 13:57:52]
[1] [21.08.2012 13:57:52] installed Produkt: java-runtime-environment Version: 7u6-1
[1] [21.08.2012 13:57:52]
[1] [21.08.2012 13:57:53] product "java-runtime-environment set to update
[1] [21.08.2012 13:57:53] Update script name:
[5] [21.08.2012 13:57:53] no script file name given
[1] [21.08.2012 13:57:53] we have no update script
Code: Alles auswählen
[Winbatch_Install_32-Bit]
%SCRIPTPATH%\$Executable32$ /s/v"/qb-! reboot=reallysuppress ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 SYSTRAY=0 JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0"
Code: Alles auswählen
"Dieses Installationspaket konnte nicht geöffnet werden. Stellen sie sicher, dass das Paket existiert und dass Sie darauf Zugreifen können. Oder lassen Sie den Hersteller der Anwendung überprüfen, ob es sich um ein gültiges Windows Installer-Paket handelt."
Hat einer eine Idee was es sein könnte?
Viele Grüße
Pepe