Install log file is missing

前端 未结 2 869
再見小時候
再見小時候 2021-02-07 11:46

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?

2条回答
  •  情深已故
    2021-02-07 12:39

    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
    

    Where:

    YYYY - current system time year
    MM - current system time month
    DD - current system time day
    NNN - number unique for each day starting from 1
    

提交回复
热议问题