Archive: change window titel from ABORT


change window titel from ABORT
This is the original text:

  !insertmacro MUI_LANGUAGEFILE_STRING MUI_TEXT_ABORTWARNING 
"Are you sure you want to quit ${MUI_PRODUCT} Setup?"


This is what i made so far

!define MUI_ABORTWARNING
!insertmacro MUI_LANGUAGEFILE_STRING MUI_TEXT_ABORTWARNING
"Are you sure you want to quit ${MUI_PRODUCT}?"


But the windows title of that popup is still
"${MUI_PRODUCT} ${MUI_VERSION} Setup"

How can i change this?

##
i found a part in the english.nlf line 13

'%s Setup'

Can i override it?

Or can i use my own modified NLF referenced in my script?

Try
Caption "${MUI_NAME}"

I also wanted to override the "Setup" bit a long time ago, but I cannot remember exactly how I did it.
I never changed the source.

-Stu


You're not supposed to insert the macro again but instead just define the value like this:

!define MUI_TEXT_ABORTWARNING "new text"

before you use the MUI_LANGUAGE macro. The MUI_LANGUAGEFILE_STRING checks if the value specified is already defined and if so it will use it instead of the default value.

As for "%s setup", it is the default caption and therefore should be changed using the Caption command.


thx u 2

CAPTION works because my custom pages have own captions.