1 ; RawTherapee Language Pack
3 ; Installes just the language file in an existing RawTherapee installation.
5 ;------------------------------------------------------------------------------
6 ; Name, Outputfile and Version information
7 ;------------------------------------------------------------------------------
9 ; **** start edit section: please adapt below options per language pack release ****
10 ; The name of the installer
11 Name "RT 2.4.1 - language Pack"
14 OutFile "RT241-langPack-20091018.exe"
16 LoadLanguageFile
"${NSISDIR}\Contrib\Language files\English.nlf"
18 VIProductVersion
"2.4.1.0"
19 VIAddVersionKey
/LANG=
${LANG_ENGLISH} "ProductName" "RawTherapee Language Pack"
20 VIAddVersionKey
/LANG=
${LANG_ENGLISH} "LegalCopyright" "© Raw Therapee"
21 VIAddVersionKey
/LANG=
${LANG_ENGLISH} "FileDescription" "Language Pack RawTherapee 2.4.1"
22 VIAddVersionKey
/LANG=
${LANG_ENGLISH} "FileVersion" "2.4.1-2009-10-18"
23 VIAddVersionKey
/LANG=
${LANG_ENGLISH} "Comments" "Compatible also for RT2.4 and RT2.3"
24 ; VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "Fake company"
25 ; VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalTrademarks" "Test Application is a trademark of Fake company"
27 ; **** end edit section: no changes needed per release below ****
29 ;------------------------------------------------------------------------------
30 ; Installation Directory, Dialog box for
31 ;------------------------------------------------------------------------------
34 ; The default installation directory
35 InstallDir "$PROGRAMFILES\Raw Therapee\languages"
36 DirText "The Language Pack has to be installed into the RawTherapee installation directory, into the language subdirectory." \
37 "RawTherapee Installation Directory" \
39 "Please select the installation Directory of RawTherapee:"
43 ; PageCallbacks "" "" dirLeave
46 ; Registry key to check for directory (so if you install again, it will
47 ; overwrite the old one automatically)
48 InstallDirRegKey HKCU "Software\Raw Therapee" ""
50 ;------------------------------------------------------------------------------
51 ; Installation Rights (Vista only)
52 ;------------------------------------------------------------------------------
54 ; Request application privileges for Windows Vista
55 RequestExecutionLevel admin
58 ;------------------------------------------------------------------------------
60 ;------------------------------------------------------------------------------
68 ;UninstPage uninstConfirm
71 ;------------------------------------------------------------------------------
72 ; Sections: stuff to be installed
73 ;------------------------------------------------------------------------------
75 ; The stuff to install
76 Section "RawTherapee Language Pack (required)"
80 ifFileExists
$INSTDIR\languages\
*.* 0 +3
81 SetOutPath $INSTDIR\languages
85 ; Set output path to the installation directory.
89 File "release\languages\*"
91 ; Write the installation path into the registry
92 ;WriteRegStr HKLM SOFTWARE\NSIS_Example2 "Install_Dir" "$INSTDIR"
94 ; Write the uninstall keys for Windows
95 ;WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2" "DisplayName" "NSIS Example2"
96 ;WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2" "UninstallString" '"$INSTDIR\uninstall.exe"'
97 ;WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2" "NoModify" 1
98 ;WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2" "NoRepair" 1
99 ;WriteUninstaller "uninstall.exe"
103 ;------------------------------------------------------------------------------
104 ; Uninstaller: not needed here
105 ;------------------------------------------------------------------------------
111 ; Remove registry keys
112 ; DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Example2"
113 ; DeleteRegKey HKLM SOFTWARE\NSIS_Example2
115 ; Remove files and uninstaller
116 ; Delete $INSTDIR\example2.nsi
117 ; Delete $INSTDIR\uninstall.exe
119 ; Remove shortcuts, if any
120 ; Delete "$SMPROGRAMS\Example2\*.*"
122 ; Remove directories used
123 ; RMDir "$SMPROGRAMS\Example2"