简体   繁体   English

Install4j:无人参与模式下的错误消息

[英]Install4j: Error Message in unattended mode

I have an installer which supports unattended mode of installation. 我有一个支持无人参与安装模式的安装程序。 When there is an error like (no sufficient space, no access,..), the error messages are shown properly in GUI mode. 当出现类似(没有足够的空间,没有访问权限..)的错误时,错误消息将在GUI模式下正确显示。 however, its not showing any error message during unattended mode. 但是,在无人参与模式下,它不会显示任何错误消息。

Is there a option to show the error messages during the unattended mode as well? 是否可以在无人参与模式下显示错误消息?

Note: I have windows and Linux installers 注意:我有Windows和Linux安装程序

Thanks a lot for the help 非常感谢您的帮助

Cheers, 干杯,

Prabhu Senthamarai Prabhu Senthamarai

No, you would have to look at the log file for analyzing errors. 不,您必须查看日志文件以分析错误。 The log file is written to [installation directory]/.install4j/installation.log. 日志文件将写入[installation directory]/.install4j/installation.log.

If the installer exits with a fatal error before the "Install files" action has run, you can find the log file in the %TEMP% directory (Mac OS X: $TMPDIR, Linux/Unix: $TMP). 如果在运行“安装文件”操作之前安装程序退出并出现致命错误,则可以在%TEMP%目录中找到日志文件(Mac OS X:$ TMPDIR,Linux / Unix:$ TMP)。 The name of the log file starts with "i4jlog..." in that case. 在这种情况下,日志文件的名称以“ i4jlog ...”开头。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM