Installation.log 未复制到安装目录
我使用 install4J 5.0.9 windows-only 作为我的产品的安装程序。根据手册,安装完成后应将安装日志文件复制到安装目录中。
然而,这在我的安装中不会发生。我有一个“安装文件”操作,作为“安装位置”屏幕的一部分执行。
在安装过程中,我可以在 %TEMP%\I4J_log* 下找到日志,但它在安装结束时被删除(如预期)。
日志复制还有其他要求吗?
I use install4J 5.0.9 windows-only as my product's installer. According to the manual, the installation log file should be copied upon installation completion to the installation directory.
However this doesn't happen in my installation. I have an "Install Files" action, executed as part of the "Installation Location" screen.
During the installation I can find the log under %TEMP%\I4J_log*, but it's deleted at the end of the installation (as expected).
Is there another requirement for the log to be copied?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
日志文件在安装程序退出时移动,而不是在“安装文件”操作之后移动。仅当目录
${installer:sys.installationDir}/.install4j
存在时才会执行此操作。如果直接从脚本调用 System.exit() 则安装程序进程被终止,这也不会完成。The log file is moved when the installer exits and not after the "Install files" action. This is only done if the directory
${installer:sys.installationDir}/.install4j
exists. If the installer process is killed of if you call System.exit() from a script directly, this is not done either.