Skip to content
⌘ NSIS Forum Archive

Changing text on download progress window?

4 posts

WillyWonka0#

Changing text on download progress window?

At the top of my download page it says:
"Please wait while {Product Name} is being installed."

How do I go about changing that text to be something along the lines of "Please wait while {Product Names Installed} is downloaded."?

I just can't figure out how to change that text.

Code I'm using right now:
StrCpy $2 "$TEMP\${FullInstaller_TempName}"
nsisdl::download /TIMEOUT=30000 ${FullInstaller_URL} $2
Pop $R0 ;Get the return value
StrCmp $R0 "success" +3
MessageBox MB_OK "Download failed: $R0"
Quit
Afrow UK#
GetDlgItem $R0 $HWNDPARENT 1038
SendMessage $R0 ${WM_SETTEXT} 0 "STR:hello!!"

Not recommended though as the default string is supported by different languages. If you're only using English then it'll be fine.

-Stu
kalverson#
Thanks Stu, that worked for me as well. I needed to include an '&' character in the product name, but it was coming up missing. Using the escape sequence && in the Product name works, but also ends up in other places with both characters like the title bar.