|
![]() |
#1 |
Junior Member
Join Date: May 2019
Posts: 2
|
Generate an installation log
Hello, I would like to know if there is a switch available to generate a log at install/uninstall time, when running an installer written with NSIS.
Thank you! Claire ![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Oct 2014
Location: $DESKTOP
Posts: 108
|
Remix:
DetailPrint/nsExec::ExecToStack/FileOpen/FileWrite |
![]() |
![]() |
![]() |
#3 |
Major Dude
Join Date: May 2005
Location: New Zealand
Posts: 923
|
Ages ago I wrote a function that dumps the install log to a file (NSIS 3.0+).
Usage: ${DUMPLOG} "C:\path\to\file.log" Put it at the end of your install, I prefer using a hidden section after all the other sections. PHP Code:
"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me) NSIS 3 POSIX Ninja Wiki Profile |
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: May 2019
Posts: 2
|
Thank you!
|
![]() |
![]() |
![]() |
|
Tags |
logging |
Thread Tools | Search this Thread |
Display Modes | |
|
|