Skip to content
⌘ NSIS Forum Archive

How to change text above the progress bar?

8 posts

zjckwht#

How to change text above the progress bar?

If I wanna execute a program, using

ExecWait `blah blah...`

When this line is executed, the default text above the progress bar will be "Executing blah blah...", if I wanna the text to display as "Configuring blah..", how to achieve? Thanks.
Comperio#
Here's one way:


SetDetailsPrint textonly
DetailsPrint "Configuring blah.."
ExecWait "blah blah..."
SetDetailsPrint both
## continue your code here...
Simply#
Originally posted by Comperio
Here's one way:


SetDetailsPrint textonly
DetailsPrint "Configuring blah.."
ExecWait "blah blah..."
SetDetailsPrint both
## continue your code here...

i try to do the same thing but it does'n compile error in script: i don't found DetailsPrint in help files
zjckwht#
Still can't change the default status text, it still displays `Execute: x:\xxx\xxx`, here's my code, something wrong?

outfile test.exe

Section ''
SetDetailsPrint textonly
DetailPrint `Configuring blah..`
execwait `$SYSDIR\NotePad2.exe`
SectionEnd
demiller9#
outfile test.exe

Section ''
SetDetailsPrint textonly ; or both
DetailPrint `Configuring blah..`
SetDetailsPrint none ; or listonly
execwait `$SYSDIR\NotePad2.exe`
SectionEnd
Comperio#
Thanks to Kichik for catching my typo in my original post.

And to dmiller for correcting my original code. (I guess I should have tried myself once first.) 😳
zjckwht#
Originally posted by demiller9
outfile test.exe

Section ''
SetDetailsPrint textonly ; or both
DetailPrint `Configuring blah..`
SetDetailsPrint none ; or listonly
execwait `$SYSDIR\NotePad2.exe`
SectionEnd
It works like a charm, that's exactly what i need, many thanks.