Archive: Status Message


Status Message
i finished an installer that does a lot configuration (and hardly copies files). since i'm using a loop to read files, to write them in another config-file, it appeared that the progressbar is jumping back and forth (which is quite natural since its a loop). there's just one or two messages in the status window.

when i first tested my installer, i thought i did something wrong with that loop (judging by looking at that jumping progress-bar).

now, i was wondering if one could build in a new feature for upcoming versions of nsis, to send a custom message to the status-window.

my script would then -for example- look like this:

Loop:
... (many commands in between)
WriteINIStr $R9 Section n$0 "$R2"
StatusMessage "Now processing $R2"
IntOp $0 $0 + 1
Goto Loop


the advantage? the user sees that the software didnt freeze in a loop. what do you think?

should be useful for other cases aswell.


It's already there and called DetailPrint.