Install log file is missing

user1762109 picture user1762109 · Jan 23, 2014 · Viewed 9.7k times · Source

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?

Answer

TLama picture TLama · Jan 23, 2014

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