To write to log file, I understand that parameter /l*v with destination path must be appended to msi file. If I want log writing to happen even if parameter is not provided?
2 Answers
The Windows Installer v4.5+ supports the MsiLogging property. Older versions of MSI would require setting the command-line option or using logging policy registry key.
1 Comment
Christopher Painter
I actually avoid using this property. Windows 7 has a known defect where heap corruption causes the Shell to forget where the temp directory is. If you try to do an uninstall from ARP it'll fail until you kill explorer and restart it.
You can specify the logging policy in system registry, and all packages will follow it in case the command line switch is not specified. See this article for more details.