Skip to content
⌘ NSIS Forum Archive

Installation logging

5 posts

c567591#

Installation logging

Is there a way to get the installation logging to overwrite the log file instead of appending?
I want to get a log file of the last installation, not a running log of all installs.
Comperio#
The help files (version 2.08) include a function to dump the install log window to a file. (Look at Appendix D, section 4.)

It uses a FileOpen command with an openmode of 'w' meaning that it will overwrite the file each time. Sounds like exactly what you are looking for.
JasonFriday13#
This is what I am thinking. Delete the log before the new install program writes to it.
c567591#
Hey, that looks more like what I am looking for than the built in logging thing. 🙂
Cool.