Old 14th May 2003, 12:29   #1
pbr
Junior Member
 
Join Date: May 2003
Location: Amsterdam
Posts: 2
Modern UI language problem

When using the Modern UI 1.63 the "Browse for folder" dialog is not using the language that is defined in the script. The same thing happens with the buttons in that dialog, and the buttons in the "cancel setup" dialog. Do I have to define some other strings in my install script?

I am creating an installer with the following lines:
code:

!include "MUI.nsh"
CRCCheck On

!define MUI_PRODUCT "Timer"
!define MUI_VERSION "2.0"
!define MUI_FILE "Timer"
!define MUI_BRANDINGTEXT "${MUI_PRODUCT}"
!define MUI_ICON "timericon.ico"
!define MUI_UNICON "timericon.ico"

OutFile "${MUI_FILE}_install.exe"

;Folder selection page
InstallDir "$PROGRAMFILES\${MUI_PRODUCT}"

;Remember install folder
InstallDirRegKey HKLM "Software\${MUI_PRODUCT}" ""

;--------------------------------
;Modern UI Configuration
!define MUI_WELCOMEPAGE
; !define MUI_LICENSEPAGE
!define MUI_DIRECTORYPAGE
!define MUI_ABORTWARNING
!define MUI_UNINSTALLER
!define MUI_UNCONFIRMPAGE
!define MUI_FINISHPAGE
!define MUI_FINISHPAGE_NOAUTOCLOSE
!define MUI_FINISHPAGE_RUN "$INSTDIR\${MUI_FILE}.exe"

;--------------------------------
;Language
!insertmacro MUI_LANGUAGE "Dutch"

;...installer sections removed...


Regards,
Paul
pbr is offline   Reply With Quote
Old 14th May 2003, 12:34   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Those texts are not translatable because they are set by Windows.

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 14th May 2003, 12:42   #3
pbr
Junior Member
 
Join Date: May 2003
Location: Amsterdam
Posts: 2
Ah, ok. Thanks for the quick answer

Regards,
Paul
pbr is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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