|
|
#1 |
|
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 |
|
|
|
|
|
#2 |
|
Moderator
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 |
|
|
|
|
|
#3 |
|
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.
|
|
|
|
|
|
#4 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
The Name instruction supports two parameters when your name contains a &...
IntOp $PostCount $PostCount + 1 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|