Archive: Problem with latest MUI snapshot


Problem with latest MUI snapshot
  After upgrading again to latest snapshot, I'm getting this error:

!insertmacro: MUI_LANGUAGE
Error: no branding image found in chosen UI!
Error in macro MUI_HEADERBITMAP_INIT on macroline 6
Error in macro MUI_GUIINIT on macroline 3
Error in macro MUI_FUNCTION_GUIINIT on macroline 4
Error in macro MUI_INSERT on macroline 15
Error in macro MUI_LANGUAGEFILE_BEGIN on macroline 4
!include: error in script: "c:\program files\nsis2\Contrib\Modern UI\Language files\English.nsh" on
line 9

Any ideas?

Thanks,
Andi


Without any scripts we can't help you.


Sorry- I was expecting the standard thingy error:


;--------------------------------
;Include Modern UI

!include "MUI.nsh"

;--------------------------------
;Product Info and Configuration

Name "test"
OutFile "TestInstaller.exe"
InstallDir "\temp\test"

;--------------------------------
;Pages

!insertmacro MUI_PAGE_COMPONENTS

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

!define MUI_HEADERBITMAP "${NSISDIR}\Contrib\Graphics\Header\nsis.bmp"

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

!insertmacro MUI_LANGUAGE "English"

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

Section "Program Files" CpuIdleProgramFiles
File /oname=cpuidle.exe ..\exe\cpuidle.exe
SectionEnd

Code did work some days ago.

Thanks a lot,
Andi


Interface settings should be set before the pages. See the sticky topic.


Geez, that was quick, thank you.

For anybody having this problem- the correct order is:

1) MUI options
2) Pages
3) Languages

anything else will give interesting error messages...

Cheers,
Andi


You can find the correct order in the Modern UI Readme.

Interface settings should be set before all pages. Page settings should be set before a page.


nsis update
  just updated a few minutes ago. 23.10.2003 08:42 CET.

this is the error:


Caption: "NSIS 2.0 beta 4 (CVS) Setup"

>!define: "MUI_ABORTWARNING"=""
>!define: "MUI_HEADERIMAGE"=""
>!define: "MUI_SPECIALBITMAP"="C:\PROGRAM FILES\NSIS\Contrib\Graphics\Wizard\nul
soft.bmp"
>!define: "MUI_COMPONENTSPAGE_SMALLDESC"=""
>!define: "MUI_WELCOMEPAGE_TEXT"="This wizard will guide you through the install
tion of NSIS (Nullsoft Scriptable Install System), the Windows installer/uninst
ller system that doesn't suck and isn't huge.\r\n\r\n\r\n$_CLICK"
>!insertmacro: MUI_PAGE_WELCOME
Error
: Cant find "IDD_SELCOM" in "${MUI_UI_SMALLDESCRIPTION}"!
>Error in macro MUI_INTERFACE on macroline 91
Error in macro MUI_PAGE_INIT on macroline 3
Error in macro MUI_PAGE_WELCOME on macroline 5
Error in script"Examples/makensis.nsi" on line 53 -- aborting creation pr
>
i get this error when trying to compile nsis. thank you.

This has already been fixed.