View Single Post
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