0

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.

Why I see bad text instead my 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

enter image description here

0 Answers0