Iniciar un instalador install4j desde otro instalador install4j en modo consola
Tengo un instalador A. Cuando se ejecuta, inicia el instalador B utilizando la acción "Ejecutar archivo ejecutable o por lotes".
En el modo GUI esto funciona bien.
Sin embargo, en Ubuntu sin cabeza (o pasando la marca -c), la instalación se bloquea. Mirando el archivo de registro del instalador B, parece que está intentando ejecutar la "Pantalla de bienvenida" aunque debería ejecutarse en modo consola:
[INFO] com.....install4j.extensions.WelcomeFormPanelScreen [ID WelcomeScreen]: Show screen
El registro para el instalador A muestra claramente que se pasó el indicador -c:
[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]
Cuando ejecuto el instalador B por sí mismo desde la línea de comandos con la opción -c, se ejecuta en modo de consola sin problemas.
¿Alguien más se ha encontrado con este problema o sabe de una solución?
Gracias bella