Archive: Redirect DetailPrint/Install details


Redirect DetailPrint/Install details
Hi

Is it possible to redirect the messages printed to "Installation Details" to a personalized log file some how - especially the messages not printed from myself (;))?

Thanks. :)

CJ


http://nsis.sourceforge.net/Dump_log_to_file


Thanks. :)

That's one way, but I would like to write it to my log file while the installer is executing and the messages are printed.
Is there a way to do this?

CJ


uninstall log file geration
Hi all,
I try to use to generate installation log file from the
code mentioned in

http://nsis.sourceforge.net/Dump_log_to_file. It generates the install.log perfectly when I Call Function as follows:

StrCpy $0 "$EXEDIR\install.log"
Push $0
Call DumpLog

I want to reuse the same function name to create log for uninstallation also.

When I compile I get the following error:

Call must be used with function names starting with "un." in the uninstall section(uninstall.log).
Usage: Call function_name | [:label_name]

When I comment out "Call DumpLog" from below it compiles fine:

StrCpy $0 "$EXEDIR\uninstall.log"
Push $0
Call DumpLog

Can any help me in this regard?

Cheers
Pradeep


Simply copy the function code into

Function un.dumplog
FunctionEnd