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

Where is the MSI log created?


1 reply to this topic

scotty

scotty
  • Members
  • 4 posts

Posted 27 October 2003 - 15:11

Hi

Am using Developer 8. I need to know where the msi log file is created when a msi file created from a Basic MSI project is run. I do not want to use Installscript MSI project.

Also, how can Installscript custom actions log to that msi log file? Will I have to use functions like OpenFile, WriteLine, etc.? Is that the only way? If yes, is there available a .rul file which exposes some functions like WriteToLog (), which I can directly use?

~Scotty

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 27 October 2003 - 18:01

You specify the location of the log file when you launch your setup via the /L command line parameter of msiexec.exe

Sample script is available here on InstallSite under Windows Installer -> Custom Actions -> Writing to the Installer Log File