WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > Large Title
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
Boyito
Senior Member

Registered: Nov 2006
From: Argentina

Question Large Title

Hi

In another post I learn about this tip

!define MUI_WELCOMEPAGE_TITLE_3LINES
!define MUI_FINISHPAGE_TITLE_3LINES

It is used to show a large title in the welcome and finish page.
But when I put
!define MUI_UNWELCOMEPAGE_TITLE_3LINES
!define MUI_UNFINISHPAGE_TITLE_3LINES

It doesnt work in the Unisntaller.
Why?

Thanks in advance

__________________
Boyo

Quick Link | Report this post to a moderator | IP: Logged

Boyito is offline Old Post 12-07-2006 09:00 PM
Click Here to See the Profile for Boyito Click here to Send Boyito a Private Message Find more posts by Boyito Add Boyito to your buddy list Edit/Delete Message Reply w/Quote
bholliger
Senior Member

Registered: Jul 2004
From: Switzerland

Hi boyo!

There is a note in the Modern UI Readme.

"Note: There is no difference between installer and uninstaller page settings."

http://nsis.sourceforge.net/Docs/Mo...0UI/Readme.html

Page settings

Cheers

Bruno

Quick Link | Report this post to a moderator | IP: Logged

bholliger is offline Old Post 12-07-2006 09:13 PM
Click Here to See the Profile for bholliger Click here to Send bholliger a Private Message Visit bholliger's homepage! Find more posts by bholliger Add bholliger to your buddy list Edit/Delete Message Reply w/Quote
Boyito
Senior Member

Registered: Nov 2006
From: Argentina

OK Bruno, but still doesnt work if I only write
!define MUI_WELCOMEPAGE_TITLE_3LINES
!define MUI_FINISHPAGE_TITLE_3LINES

And nothing for Unistaller
Whats wrong??

__________________
Boyo

Quick Link | Report this post to a moderator | IP: Logged

Boyito is offline Old Post 12-11-2006 01:38 PM
Click Here to See the Profile for Boyito Click here to Send Boyito a Private Message Find more posts by Boyito Add Boyito to your buddy list Edit/Delete Message Reply w/Quote
bholliger
Senior Member

Registered: Jul 2004
From: Switzerland

Hi Boyo!

Did you introduce these defines before the
!insertmacro MUI_PAGE_WELCOME
command?

Cheers

Bruno

Quick Link | Report this post to a moderator | IP: Logged

bholliger is offline Old Post 12-11-2006 09:01 PM
Click Here to See the Profile for bholliger Click here to Send bholliger a Private Message Visit bholliger's homepage! Find more posts by bholliger Add bholliger to your buddy list Edit/Delete Message Reply w/Quote
Boyito
Senior Member

Registered: Nov 2006
From: Argentina

This is a part of my code, did you see something wrong?

;--------------------------------
;Interface Configuration
!define MUI_ABORTWARNING
!define MUI_COMPONENTSPAGE_SMALLDESC
!define MUI_ICON "iSG.ico"
!define MUI_UNICON "iSG.ico"

!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "Header.bmp"
!define MUI_HEADERIMAGE_BITMAP_NOSTRECH

!define MUI_WELCOMEPAGE_TITLE_3LINES
!define MUI_WELCOMEFINISHPAGE_BITMAP "Right.bmp"
!define MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRECH

!define MUI_LICENSEPAGE_RADIOBUTTONS

!define MUI_UNWELCOMEFINISHPAGE_BITMAP "Right.bmp"
!define MUI_UNWELCOMEFINISHPAGE_BITMAP_NOSTRECH

!define MUI_FINISHPAGE_TITLE_3LINES
!define MUI_FINISHPAGE_SHOWREADME $(MUIReadMe)
!define MUI_FINISHPAGE_LINK "http://www.url.com"
!define MUI_FINISHPAGE_LINK_LOCATION "http://www.url.com"
!define MUI_FINISHPAGE_NOAUTOCLOSE

!define MUI_UNWELCOMEPAGE_TITLE_3LINES
!define MUI_UNFINISHPAGE_TITLE_3LINES
!define MUI_UNFINISHPAGE_NOAUTOCLOSE


;--------------------------------
;Pages
; Welcome page
!insertmacro MUI_PAGE_WELCOME
; License page
!insertmacro MUI_PAGE_LICENSE $(MUILicense)
; Components page
!insertmacro MUI_PAGE_COMPONENTS
; Directory page
!define MUI_PAGE_CUSTOMFUNCTION_PRE dir_pre
!insertmacro MUI_PAGE_DIRECTORY
; Instfiles page
!insertmacro MUI_PAGE_INSTFILES
; Finish page
!insertmacro MUI_PAGE_FINISH

; Uninstaller pages
!insertmacro MUI_UNPAGE_WELCOME
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_UNPAGE_FINISH
;--------------------------------

__________________
Boyo

Quick Link | Report this post to a moderator | IP: Logged

Boyito is offline Old Post 12-11-2006 09:07 PM
Click Here to See the Profile for Boyito Click here to Send Boyito a Private Message Find more posts by Boyito Add Boyito to your buddy list Edit/Delete Message Reply w/Quote
bholliger
Senior Member

Registered: Jul 2004
From: Switzerland

Hi Boyo!

Everything ok.

Can you spot a difference if you comment the line

!define MUI_WELCOMEPAGE_TITLE_3LINES

Cheers

Bruno

Quick Link | Report this post to a moderator | IP: Logged

bholliger is offline Old Post 12-11-2006 09:22 PM
Click Here to See the Profile for bholliger Click here to Send bholliger a Private Message Visit bholliger's homepage! Find more posts by bholliger Add bholliger to your buddy list Edit/Delete Message Reply w/Quote
Boyito
Senior Member

Registered: Nov 2006
From: Argentina

Bruno

If I comment the line you say, the installer looks fine, but the Uninstaller still with problem.
Any idea?

__________________
Boyo

Quick Link | Report this post to a moderator | IP: Logged

Boyito is offline Old Post 12-12-2006 01:36 PM
Click Here to See the Profile for Boyito Click here to Send Boyito a Private Message Find more posts by Boyito Add Boyito to your buddy list Edit/Delete Message Reply w/Quote
kichik
M.I.A.
[NSIS Dev, Mod]

Registered: Oct 2001
From: Israel

Use the same before the uninstaller pages as well.

__________________
NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius

Quick Link | Report this post to a moderator | IP: Logged

kichik is offline Old Post 12-12-2006 06:50 PM
Click Here to See the Profile for kichik Click here to Send kichik a Private Message Visit kichik's homepage! Find more posts by kichik Add kichik to your buddy list Edit/Delete Message Reply w/Quote
Boyito
Senior Member

Registered: Nov 2006
From: Argentina

HI kichik
I dont understand you, please be more explicit
Thanks

__________________
Boyo

Quick Link | Report this post to a moderator | IP: Logged

Boyito is offline Old Post 12-12-2006 07:40 PM
Click Here to See the Profile for Boyito Click here to Send Boyito a Private Message Find more posts by Boyito Add Boyito to your buddy list Edit/Delete Message Reply w/Quote
Red Wine
Forum King

Registered: Mar 2006
From: Ath. GR

You should read the MUI documentation carefully. Your script does not meet the MUI requirements.
The following piece of info copied from MUI documentation:

Page settings apply to a single page and should be set before inserting a page macro.
You have to repeat the setting if you want it to apply to multiple pages.
Example:

;Add a directory page to let the user specify a plug-ins folder
;Store the folder in $PLUGINS_FOLDER

Var PLUGINS_FOLDER
!define MUI_DIRECTORYPAGE_VARIABLE $PLUGINS_FOLDER
!insertmacro MUI_PAGE_DIRECTORY
Note: There is no difference between installer and uninstaller page settings.


Here is an example of usage:

code:
outfile '3lines.exe' InstallDir '$PROGRAMFILES\3Lines Test' !define WELCOME_TITLE 'Welcome to the extra 3 lines test setup wizard. \ This page has extra space for the welcome title!' !define UNWELCOME_TITLE 'Welcome to the extra 3 lines test uninstall wizard. \ This page has extra space for the UN-welcome title!' !define FINISH_TITLE 'Finished the extra 3 lines test setup wizard. \ This page has extra space for the finish title!' !define UNFINISH_TITLE 'Finished the extra 3 lines test uninstall wizard. \ This page has extra space for the UN-finish title!' !Include 'MUI.nsh' !define MUI_WELCOMEPAGE_TITLE '${WELCOME_TITLE}' !define MUI_WELCOMEPAGE_TITLE_3LINES !insertmacro MUI_PAGE_WELCOME !insertmacro MUI_PAGE_DIRECTORY !insertmacro MUI_PAGE_INSTFILES !define MUI_FINISHPAGE_TITLE '${FINISH_TITLE}' !define MUI_FINISHPAGE_TITLE_3LINES !insertmacro MUI_PAGE_FINISH !define MUI_WELCOMEPAGE_TITLE '${UNWELCOME_TITLE}' !define MUI_WELCOMEPAGE_TITLE_3LINES !insertmacro MUI_UNPAGE_WELCOME !insertmacro MUI_UNPAGE_INSTFILES !define MUI_FINISHPAGE_TITLE '${UNFINISH_TITLE}' !define MUI_FINISHPAGE_TITLE_3LINES !insertmacro MUI_UNPAGE_FINISH !insertmacro MUI_LANGUAGE "English" Section - SetOutPath '$INSTDIR' WriteUninstaller 'uninstall.exe' SectionEnd Section Uninstall Delete '$INSTDIR\uninstall.exe' RmDir '$INSTDIR' SectionEnd

__________________
Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS

Last edited by Red Wine on 12-13-2006 at 02:03 AM

Quick Link | Report this post to a moderator | IP: Logged

Red Wine is offline Old Post 12-13-2006 01:46 AM
Click Here to See the Profile for Red Wine Click here to Send Red Wine a Private Message Find more posts by Red Wine Add Red Wine to your buddy list Edit/Delete Message Reply w/Quote
Boyito
Senior Member

Registered: Nov 2006
From: Argentina

Again
Thanks a lot RW

__________________
Boyo

Quick Link | Report this post to a moderator | IP: Logged

Boyito is offline Old Post 12-15-2006 06:49 PM
Click Here to See the Profile for Boyito Click here to Send Boyito a Private Message Find more posts by Boyito Add Boyito to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 07:02 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > Large Title
Show Printable Version
 | 
Email this Page
 | 
Subscribe to this Thread

Forum Jump:
 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is off
vB code is ON
Smilies are ON
[IMG] code is ON