Skip to content
⌘ NSIS Forum Archive

cancel message with bad content

2 posts

kate795#

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?
Anders#
Maybe its from the plug-in. Are you using InetC?

Can you post a screenshot?

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