Write a Log File when MSI is run

  • Thread starter Thread starter Glenn M
  • Start date Start date
G

Glenn M

How can i get an msi package i have produced to write a log file of
what it has done. I dont want to use the log file generated bt
msiexec.

I want to be able to create my own personalised log file thet contains
real language for users to understand if the install has failed for
some reason.

I want to be able to add what ever text i want to this log file.
 
If you want to do this, then you will have to create your own custom actions
to pump out information to a file.

A better idea might be to create the msi log file, and the create a parser
to re-write the msi log into a more user friendly format.
 
If the install fails for some reason, I don't think your own personal log will
be very useful. The installer log might seem incomprehensible, but it's what the
experts and Microsoft guys will want to see if your install fails. You can add
text to that log from within custom actions, if that helps.
 
Back
Top