Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 20th July 2003, 00:57   #1
Brummelchen
Major Dude
 
Join Date: May 2003
Posts: 676
change window titel from ABORT

This is the original text:
code:
!insertmacro MUI_LANGUAGEFILE_STRING MUI_TEXT_ABORTWARNING
"Are you sure you want to quit ${MUI_PRODUCT} Setup?"



This is what i made so far

code:
!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?

Greets, Brummelchen
Brummelchen is offline   Reply With Quote
Old 20th July 2003, 10:33   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
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

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 20th July 2003, 11:17   #3
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
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.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 20th July 2003, 12:08   #4
Brummelchen
Major Dude
 
Join Date: May 2003
Posts: 676
thx u 2

CAPTION works because my custom pages have own captions.

Greets, Brummelchen
Brummelchen is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

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