| 1 |
\S1{installlog} Install Logging Instructions |
| 2 |
|
| 3 |
\S2{logset} LogSet |
| 4 |
|
| 5 |
\c on|\\<b\\>off\\</b\\> |
| 6 |
|
| 7 |
Sets whether install logging to $INSTDIR\\install.log will happen. $INSTDIR must have a value before you call this function or it will not work. Note that the \e{NSIS_CONFIG_LOG} build setting must be set (\c{scons NSIS_CONFIG_LOG=yes}) when building (it is not set by default) to support this. See \R{build}{Building NSIS} for more information about recompiling NSIS. |
| 8 |
|
| 9 |
\S2{logtext} LogText |
| 10 |
|
| 11 |
\c text |
| 12 |
|
| 13 |
If installer logging is enabled, inserts text "text" into the log file. |
| 14 |
|
| 15 |
\c IfFileExists $WINDIR\notepad.exe 0 +2 |
| 16 |
\c LogText "$$WINDIR\notepad.exe exists" |