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

MSI Logfile name


3 replies to this topic

Tifoid

Tifoid
  • Members
  • 27 posts

Posted 14 March 2005 - 13:41

Does anyone know how to get the name of the current logfile from within an active MSI. I was hoping to find the logfile name in one of the default MSI properties but I cant seem to find one.

I know you can specify the logfile name on the command line, but I dont want to do this so it is not overwritten with every install.

dtasanas

dtasanas
  • Full Members
  • 83 posts

Posted 15 March 2005 - 19:39

i had to set the logfile name to something constant and then write a CA that would copy that file (if found) to a unique backup file.
Don Tasanasanta[br]Configuration/Installation Eng

Tifoid

Tifoid
  • Members
  • 27 posts

Posted 16 March 2005 - 12:19

But wont the logfile be opened (and possibly cleaned) when you start the installer on the next run preventing you from making a copy of the file. Beyond that, if you copy it off at the end of an install wont you be missing the tail of the logfile?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 18 March 2005 - 11:31

You can specify the + parameter to tell Windows Installer to append to the existing log.