Archive: Modern UI bug (latest CVS from 06-09)


Modern UI bug (latest CVS from 06-09)
GERMAN language file version doesn't match. Using default English texts for missing strings. (macro:MUI_LANGUAGEFILE_BEGIN:11)
LangString "MUI_BUTTONTEXT_FINISH" is not set in language table of language 1031

And this picture - hasn't this to be a white BG and some text on it?

;--------------------------------
;Configuration

!define MUI_PRODUCT "Layout"
!define MUI_VERSION "1.0"
!define MUI_ICON "layout.ico"

!include "MUI.nsh"
!include WinMessages.nsh

!define TEMP1 $R6
!define TEMP2 $R7

Caption "Layout 1.0"
OutFile "Layout_setup.exe"

; language section
;--------------------------------

;--------------------------------
;Modern UI Configuration

!insertmacro MUI_PAGE_LICENSE "license.txt"

!insertmacro MUI_PAGE_FINISH

!define MUI_ABORTWARNING

Do you also have that problem when using the English language?

I have just uploaded a new German language file.


>> Do you also have that problem when using the English language?

No Joost - that why i attached the german.nsh here:
http://forums.winamp.com/showthread....hreadid=141398

What about the image? cant explain that


Do you also get the image problems when using the Enligh language? I have just fixed some things in the German files.


>> Do you also get the image problems when using the Enligh language?

Yes :(

i just jumped between cvs-30-08 and cvs-03-09 - 1st is ok, last not. cvs-06-09 (this morning) has that fault too.

btw the short script

;--------------------------------
;Configuration

!define MUI_PRODUCT "Layout"
!define MUI_VERSION "1.0"
!define MUI_ICON "layout.ico"

!include "MUI.nsh"
!include WinMessages.nsh

!define TEMP1 $R6
!define TEMP2 $R7

Caption "Layout 1.0"
OutFile "Layout_setup.exe"

; language section
;--------------------------------

LicenseData "license.txt"

;--------------------------------
;Modern UI Configuration

!insertmacro MUI_PAGE_LICENSE
;page custom selectaction
;page custom andaction
!insertmacro MUI_PAGE_FINISH

!define MUI_ABORTWARNING

;--------------------------------
;Languages

!define MUI_BRANDINGTEXT "Copyright 2003 Brummelchen"
!define MUI_TEXT_ABORTWARNING "Sind Sie sicher, dass Sie ${MUI_PRODUCT} abbrechen wollen?"
!insertmacro MUI_LANGUAGE "german"

;--------------------------------
;Reserve Files

;--------------------------------
;Installer Sections

Section ""

SectionEnd

;--------------------------------
;Installer Functions

Did you check the forum topics and the Modern UI Readme and update your script to be compatibility with all the new stuff?

Same problem with WelcomeFinish.nsi?


>> Same problem with WelcomeFinish.nsi?

No.

But i found out that the finish page needs the welcome page to be shown correctly

>> !insertmacro MUI_PAGE_WELCOME

My code doesn't need any welcome page

Is it possible to fix this?


Thanks. Fixed :D


Thank you Joost, works perfect now :)