Installation and Configuration of software products generates some events that are seen by the Microsoft Windows Operating System itself. This type of logging is always available – you do not need to enable it. You can find it by launching the Event Viewer and can save the events out for someone else to analyze.
As noted above, 'logging from the registry key is highly preferred. In the case where logging from the command line is necessary, try one of these examples:
Setup.exe /s {SoftwareProductName} /ni ACCEPT_EULA=1 /L* MyLogFileName.log
Setup.exe /s {SoftwareProductName} /ni ACCEPT_EULA=1 /V”/L* MyLogFileName.log”
where {SoftwareProductName} is one of the Installable Applications under SoftwareProductName identified in Installable Application Names Table in Installing ProductName in Silent Mode document.