Starten eines install4j-Installationsprogramms aus einem anderen install4j-Installationsprogramm im Konsolenmodus
Ich habe ein Installationsprogramm A. Wenn es ausgeführt wird, wird Installationsprogramm B mit der Aktion "Ausführbare Datei oder Batchdatei ausführen" gestartet.
Im GUI-Modus läuft dies gut.
Unter Ubuntu ohne Kopf (oder beim Übergeben des Flags -c) bleibt die Installation jedoch hängen. Wenn Sie die Protokolldatei von Installationsprogramm B betrachten, scheint es, als würde versucht, den "Willkommensbildschirm" auszuführen, obwohl er im Konsolenmodus ausgeführt werden sollte:
[INFO] com.....install4j.extensions.WelcomeFormPanelScreen [ID WelcomeScreen]: Show screen
Das Protokoll für Installer A zeigt deutlich, dass das Flag -c übergeben wurde:
[INFO] com.install4j.runtime.beans.actions.misc.RunExecutableAction [ID 21125]: Execute action
Property environmentVariables: {}
Property returnCodeVariable:
Property rollbackArguments: null
Property rollbackExecutable: null
Property rollbackWorkingDirectory: null
Property stderrFile: null
Property stderrRedirectionMode: No redirection
Property waitForStreams: false
Property stderrVariableName:
Property stdinFile: null
Property stdinString:
Property stdoutFile: null
Property stdoutRedirectionMode: No redirection
Property stdoutVariableName:
Property workingDirectory: /opt/folder
Property failOnStderrFileError: false
Property failOnStdinFileError: false
Property failOnStdoutFileError: false
Property includeParentEnvironmentVariables: true
Property keepConsoleWindow: true
Property logArguments: true
Property showWindowsConsole: true
Property useRollbackExecutable: false
Property wait: true
Property stdinRedirectionMode: No redirection
Property timeout: 0
Property arguments: [-c]
Wenn ich Installer B über die Befehlszeile mit der Option -c selbst ausführe, wird er ohne Probleme im Konsolenmodus ausgeführt.
Ist noch jemand auf dieses Problem gestoßen oder kennt er eine Problemumgehung?
Danke, Bella