DumpLog plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
(v1.1)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{PageAuthor|Instructor}}
[[Category:Plugins]]
{{PageAuthor|Anders}}


== Links ==
== Plug-in ==


Download v1.0:<br>
* '''Type:''' Runtime plug-in
<attach>DumpLog.zip</attach>
* '''Target:''' x86-ansi, x86-unicode, amd64-unicode
* '''Minimum OS:''' Win95/NT4
* '''Minimum NSIS Version:''' 2.0
* '''Download:''' <attach>DumpLog.zip</attach>


== Description ==
== Description ==
This plugin will dump the log of the installer (installer details)
This plug-in will dump the log of the installer (installer details)
to a file.
to a file.




It is plugin version of [[User:KiCHiK|KiCHiK]]'s function "[[Dump_log_to_file]]".
It is plug-in version of [[User:KiCHiK|KiCHiK]]'s function "[[Dump_log_to_file]]".
The main difference it is the speed of the dumping.
The main difference it is the speed of the dumping.


== Usage ==
== History ==
Place dumplog.dll inside the {NSIS INSTALL DIR}\Plugins directory.
1.1 - 20190820 - [[User:Anders|Anders]]
 
* Complete rewrite with Unicode and 64-bit support
<highlight-nsis>
* Added DumpLogUTF8
dumplog::DumpLog "$INSTDIR\log.txt" .r0
MessageBox MB_OK "$0"</highlight-nsis>
 
The output variable is '''necessary'''. The installer will crash without it. It should return 0 if nothing went wrong.


[[Category:Plugins]]
1.0 - 20051031 - [[User:Instructor|Instructor]]
* Initial version

Latest revision as of 22:43, 20 August 2019

Author: Anders (talk, contrib)


Plug-in

  • Type: Runtime plug-in
  • Target: x86-ansi, x86-unicode, amd64-unicode
  • Minimum OS: Win95/NT4
  • Minimum NSIS Version: 2.0
  • Download: DumpLog.zip (9 KB)

Description

This plug-in will dump the log of the installer (installer details) to a file.


It is plug-in version of KiCHiK's function "Dump_log_to_file". The main difference it is the speed of the dumping.

History

1.1 - 20190820 - Anders

  • Complete rewrite with Unicode and 64-bit support
  • Added DumpLogUTF8

1.0 - 20051031 - Instructor

  • Initial version