安装日志文件丢失 [英] Install log file is missing
本文介绍了安装日志文件丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我制作了一个包含以下内容的脚本:
I made a script including this:
[Setup]
SetupLogging=yes
但是我找不到日志文件.似乎它没有被创建. 可能在哪里?
But I can't find the log file. It seems like it was not created. Where could it be?
是否可以指定我要放置的位置?
Is that possible to specify where I want to place it?
推荐答案
您可以通过设置 命令行参数.所以要登录例如到C:\FileName.log
文件的方式运行设置:
You can specify a path to the log file by the setup /LOG="filename"
command line parameter. So to log e.g. to the C:\FileName.log
file run your setup this way:
Setup.exe /LOG="C:\FileName.log"
如果未指定上述命令行参数,则日志将以以下名称模式保存到临时目录中:
If you don't specify the above command line parameter, the log will be saved to the temporary directory into the file with the following name pattern:
Setup Log YYYY-MM-DD #NNN.txt
位置:
YYYY - current system time year
MM - current system time month
DD - current system time day
NNN - number unique for each day starting from 1
这篇关于安装日志文件丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文