How to get extended loging from Microsoft installer to debug installation issue

Product Feature: Installation / Upgrade
Operating System: Windows 2008/2012
Following registry settings can be applied to get extended MSI logs:


Registry screenshot

The log will be created under user temp - %temp%. To know the path of user temp, run echo %temp% on command prompt.
Name of log file created is as MSI*.LOG
UPDATED:  May 12, 2017