Old 13th July 2006, 19:18   #1
WillyWonka0
Junior Member
 
Join Date: Jul 2006
Posts: 1
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
WillyWonka0 is offline   Reply With Quote
Old 13th July 2006, 20:41   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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
Afrow UK is offline   Reply With Quote
Old 21st August 2014, 12:59   #3
kalverson
Senior Member
 
Join Date: May 2007
Location: Maple Grove, Minnesota
Posts: 134
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.
kalverson is offline   Reply With Quote
Old 21st August 2014, 13:06   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,321
The Name instruction supports two parameters when your name contains a &...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump