multilanguage system easier to use (using defines)

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1330 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2002-10-08 09:29:03 +00:00
parent eec1b389cc
commit ba20157c33
8 changed files with 69 additions and 69 deletions

View file

@ -12,6 +12,11 @@
;--------------------------------
;Configuration
!define MUI_LICENSEPAGE
!define MUI_COMPONENTPAGE
!define MUI_DIRSELECTPAGE
!define MUI_UNINSTALLER
;Language
;English
LoadLanguageFile "${NSISDIR}\Contrib\Language files\English.nlf"
@ -25,21 +30,16 @@
!insertmacro MUI_INTERFACE "modern.exe" "adni18-installer-C-no48xp.ico" "adni18-uninstall-C-no48xp.ico" "modern.bmp" "smooth" "$9" ;$9 is the variable used to store the current page, do not use this var!
;License dialog
!insertmacro MUI_ENGLISH_LICENSETEXT
LicenseData "License.txt"
;Component-select dialog
!insertmacro MUI_ENGLISH_COMPONENTTEXT
;Descriptions
LangString DESC_SecCopyUI ${LANG_ENGLISH} "Copy the modern.exe file to the application folder."
LangString DESC_SecCreateUninst ${LANG_ENGLISH} "Create a uninstaller which can automatically delete ${NAME}."
;Folder-select dialog
!insertmacro MUI_ENGLISH_DIRTEXT
InstallDir "$PROGRAMFILES\${NAME}"
;Uninstaller
!insertmacro MUI_ENGLISH_UNINSTALLTEXT
;--------------------------------
;Installer Sections