Skip to content
⌘ NSIS Forum Archive

DetailPrint changes

4 posts

veekee#

DetailPrint changes

Would it be possible to change some things with the DetailPrint command .. i mean, could we be able to choose whether we add a carrier return at the end of the string or not (or add a new function that won't add that character) !

With that, we would be able to have texts like :
Installing core files [success]

or

Installing core files [error]

Julien
shantanu_gadgil#
I am a bit confused with what exactly you want 🙁. Could the following code help?
------------
DetailPrint " "
SetDetailsPrint none
----------------
which will introduce an empty line and then stop printing anything

- Shantanu
veekee#
answering shantanu_gadgil

I just wanted to know if it would be possible to use something like

DetailPrintWithoutLine "Extracting code file "
File program.exe
IfError 0 2
DetailPrint "[error]"
Goto after
DetailPrint "[ok]"
after:


This code would print either:
Extracting code file [ok]
or, if any error ocured :
Extracting code file [error]