eddyuk
eddyuk

Reputation: 4190

enabling log file regardless parameters

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?

Upvotes: 0

Views: 50

Answers (2)

Rob Mensching
Rob Mensching

Reputation: 35866

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.

Upvotes: 1

Yan Sklyarenko
Yan Sklyarenko

Reputation: 32240

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.

Upvotes: 1

Related Questions