Old 24th July 2019, 08:38   #1
kate795
Junior Member
 
Join Date: Jul 2019
Posts: 1
cancel message with bad content

I have page where I download some files. Sometimes, when I press cancel in this page, I see MessageBox with bad text, look likes some numbers or some parts of word. But I used MUI_ABORTWARNING_TEXT:

!define MUI_ABORTWARNING_TEXT "Are you sure you want to quit ${PRODUCT_NAME} Setup?"
!define MUI_CUSTOMFUNCTION_ABORT "CustomAbort"

Function CustomAbort

${If} ${Cmd} `MessageBox MB_YESNO "${MUI_ABORTWARNING_TEXT}" IDYES`
# do smth
${Else}
Abort
${EndIf}

FunctionEnd

Why I see bad text instead my ABORTWARNING_TEXT?
kate795 is offline   Reply With Quote
Old 24th July 2019, 10:51   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,172
Maybe its from the plug-in. Are you using InetC?

Can you post a screenshot?

Duplicate of https://stackoverflow.com/questions/...th-bad-content

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

Tags
abort

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