This article discusses how to log an InstallScript MSI project
To generate a log file that records the execution of an installation package generated with an InstallScript MSI project, execute the setup.exe at the command line using the /Verbose switch. The log file can be used to diagnose the cause of failure or unexpected behavior in an installation.
An installation package created with an InstallScript MSI project can be logged using the following command line:
Setup.exe /Verbose"C:\place for logs\package.log"
Note: the entire directory path of the log file name specified in the command line must preexist before the command is executed, as the directories will not be created automatically by the logging mechanism.