Archive: How to change text above the progress bar?


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.


Here's one way:


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

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

DetailPrint, not DetailsPrint. No s.


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

outfile test.exe

Section ''
SetDetailsPrint textonly ; or both
DetailPrint `Configuring blah..`
SetDetailsPrint none ; or listonly
execwait `$SYSDIR\NotePad2.exe`
SectionEnd

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.) :o


Quote:



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.