|
|
#1 |
|
Junior Member
Join Date: Mar 2005
Posts: 3
|
Different files for MUI_PAGE_LICENSE?
Hello!
Sorry, but the documentation is difficult to read (online) for me and in the samples I don't find something for this problem. I have different licence-files, but don't know how to implement: [...] LicenseLangString license ${LANG_ENGLISH} "Templates\license.rtf" LicenseLangString license ${LANG_GERMAN} "Templates\lizenz.rtf" LicenseData $(license) ; Welcome page !insertmacro MUI_PAGE_WELCOME ; License page !insertmacro MUI_PAGE_LICENSE license [...] ... don't work :-( Where can I found something about MUI_PAGE_LICENSE? What can I do? cu Stef@n |
|
|
|
|
|
#2 |
|
Major Dude
|
language strings have to be used like this:
!insertmacro MUI_PAGE_LICENSE $(license) don't use LicenseData if used MUI macros!! hand by comm@nder21 ---------- WiKi pages:CreateInternetShortcut|Enhanced FindWindow|Parse CSV-Data|Open/Close CD-Drive|Installer without Icon|Vista application compatibility |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2005
Posts: 3
|
Well, now I have:
; Language Selection Dialog Settings !define MUI_LANGDLL_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}" !define MUI_LANGDLL_REGISTRY_KEY "${PRODUCT_UNINST_KEY}" !define MUI_LANGDLL_REGISTRY_VALUENAME "NSIS:Language" LicenseLangString license ${LANG_ENGLISH} "Templates\license.rtf" LicenseLangString license ${LANG_GERMAN} "Templates\lizenz.rtf" ; Welcome page !insertmacro MUI_PAGE_WELCOME ; License page !insertmacro MUI_PAGE_LICENSE $(license) ; Instfiles page !insertmacro MUI_PAGE_INSTFILES ; Finish page !insertmacro MUI_PAGE_FINISH ; Uninstaller pages !insertmacro MUI_UNPAGE_INSTFILES ; Language files !insertmacro MUI_LANGUAGE "German" ; ID = 1031 !insertmacro MUI_LANGUAGE "English" ; ID = 1033 !insertmacro MUI_RESERVEFILE_LANGDLL ; MUI end ------ ... and get the Warnings: LicenseLangString "license" set multiple times for 0, wasting space (C:\Dokumente und Einstellungen\schulte\Eigene Dateien\EPAM\EPAM3.2.nsi:26) LangString "license" is not set in language table of language 1031 ... so must I use other variables/declaration than "license"? cu Stef@n |
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Mar 2003
Posts: 571
|
Just move the LicenseLangString lines further down the script (they need to appear after the MUI_LANGUAGE lines).
For example: ; Language files !insertmacro MUI_LANGUAGE "German" ; ID = 1031 !insertmacro MUI_LANGUAGE "English" ; ID = 1033 LicenseLangString license ${LANG_ENGLISH} "Templates\license.rtf" LicenseLangString license ${LANG_GERMAN} "Templates\lizenz.rtf" !insertmacro MUI_RESERVEFILE_LANGDLL ; MUI end ------ |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|