Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How can I add messages to the log file.


1 reply to this topic

kerber

kerber
  • Members
  • 13 posts

Posted 02 September 2003 - 09:58

I am using install script and like to write some variables to the log file if an error occurs.
How can I do so?

Thanks

Klaus

Zweitze

Zweitze
  • Full Members
  • 522 posts

Posted 02 September 2003 - 15:04

See
http://www.installsi...s/en/msi/ca.htm
which shows how to write a text to the log from a CA.

Note that you cannot write to the log when a CA is fired from a ControlEvent, only CAs run from a sequence can write to the log.