You can activate extended debug logging for custom
actions by setting the AI_DEBUGLOG property to “1” during install
time. The functionality is available for both EXE and MSI
packages.
msiexec.exe /i "D:\\Sample.msi" AI_DEBUGLOG=1 /L*V "D:\\example.log"
Copy
"D:\\Sample.exe" AI_DEBUGLOG=1 /L*V "D:\\example.log"
Copy