Join us for SoftSummit 2023. The 20th anniversary of the industry leading software monetization conference. April 18 and 20. Register Now

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 8

Creating msi logs

Is there a way to create msi logs at some certain location even when the msi is NOT run with msiexec switches?

So when a user dbl clicks the installer, I always want the msi to create a log in the installdir location for example. the installer will run with windows installer 3.0 or later.

Thanks in advance.
Labels (1)
0 Kudos
4 Replies
Level 10

I don't believe there is any way to do that if you just run the msi, because the log file must be created when the msi is started. (In other words, you can't start a log file from within an already-running msi, from what I understand.) You could do it if you can always use a setup.exe wrapper to run the msi.
0 Kudos
Flexera Alumni

Exactly right; MSI 4.0 and later support the MsiLogging property for creating a log file, but earlier versions require logging to be initiated externally to the MSI.
0 Kudos
Level 4

This may or may not help, but the user also has the option of setting the following registry key:


This automatically enables logging.

David Cole
0 Kudos
Level 8

Thanks all...
0 Kudos