[ENHANCEMENT] (Author: Eduard Braun) Installer remembers user's choices of last installation.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1340 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
Don Ho 2015-02-12 00:46:14 +00:00
parent 9db6d61b2c
commit 68fdd209b8

View File

@ -25,6 +25,14 @@
; along with this program; if not, write to the Free Software ; along with this program; if not, write to the Free Software
; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
; NSIS includes
!include "x64.nsh" ; a few simple macros to handle installations on x64 machines
!include "MUI.nsh" ; Modern UI
!include "nsDialogs.nsh" ; allows creation of custom pages in the installer
!include "Memento.nsh" ; remember user selections in the installer across runs
; Define the application name ; Define the application name
!define APPNAME "Notepad++" !define APPNAME "Notepad++"
@ -35,6 +43,10 @@
!define APPWEBSITE "http://notepad-plus-plus.org/" !define APPWEBSITE "http://notepad-plus-plus.org/"
!define UNINSTALL_REG_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}"
!define MEMENTO_REGISTRY_ROOT HKLM
!define MEMENTO_REGISTRY_KEY ${UNINSTALL_REG_KEY}
; Main Install settings ; Main Install settings
Name "${APPNAMEANDVERSION}" Name "${APPNAMEANDVERSION}"
InstallDir "$PROGRAMFILES\${APPNAME}" InstallDir "$PROGRAMFILES\${APPNAME}"
@ -154,10 +166,6 @@ Function LaunchNpp
FunctionEnd FunctionEnd
; Modern interface settings ; Modern interface settings
!include "MUI.nsh"
!include "x64.nsh"
!include "nsDialogs.nsh"
!define MUI_ICON ".\images\npp_inst.ico" !define MUI_ICON ".\images\npp_inst.ico"
!define MUI_WELCOMEFINISHPAGE_BITMAP ".\images\wizard.bmp" !define MUI_WELCOMEFINISHPAGE_BITMAP ".\images\wizard.bmp"
@ -242,9 +250,9 @@ page Custom ExtraOptions
!insertmacro MUI_LANGUAGE "Macedonian" !insertmacro MUI_LANGUAGE "Macedonian"
!insertmacro MUI_LANGUAGE "Latvian" !insertmacro MUI_LANGUAGE "Latvian"
!insertmacro MUI_LANGUAGE "Bosnian" !insertmacro MUI_LANGUAGE "Bosnian"
!insertmacro MUI_LANGUAGE "Mongolian"
;!insertmacro MUI_LANGUAGE "Estonian" ;!insertmacro MUI_LANGUAGE "Estonian"
;!insertmacro MUI_LANGUAGE "Mongolian"
;!insertmacro MUI_LANGUAGE "Breton" ;!insertmacro MUI_LANGUAGE "Breton"
;!insertmacro MUI_LANGUAGE "Icelandic" ;!insertmacro MUI_LANGUAGE "Icelandic"
;!insertmacro MUI_LANGUAGE "Kurdish" ;!insertmacro MUI_LANGUAGE "Kurdish"
@ -344,6 +352,12 @@ Function .onInit
;Pop $0 ; $0 has '1' if the user closed the splash screen early, ;Pop $0 ; $0 has '1' if the user closed the splash screen early,
; '0' if everything closed normally, and '-1' if some error occurred. ; '0' if everything closed normally, and '-1' if some error occurred.
${MementoSectionRestore}
FunctionEnd
Function .onInstSuccess
${MementoSectionSave}
FunctionEnd FunctionEnd
@ -395,6 +409,7 @@ LangString langFileName ${LANG_UZBEK} "uzbek.xml"
LangString langFileName ${LANG_MACEDONIAN} "macedonian.xml" LangString langFileName ${LANG_MACEDONIAN} "macedonian.xml"
LangString langFileName ${LANG_LATVIAN} "Latvian.xml" LangString langFileName ${LANG_LATVIAN} "Latvian.xml"
LangString langFileName ${LANG_BOSNIAN} "bosnian.xml" LangString langFileName ${LANG_BOSNIAN} "bosnian.xml"
LangString langFileName ${LANG_MONGOLIAN} "mongolian.xml"
Var UPDATE_PATH Var UPDATE_PATH
@ -657,7 +672,7 @@ Section -"Notepad++" mainSection
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\notepad++.exe" "" "$INSTDIR\notepad++.exe" WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\notepad++.exe" "" "$INSTDIR\notepad++.exe"
SectionEnd SectionEnd
Section "Context Menu Entry" explorerContextMenu ${MementoSection} "Context Menu Entry" explorerContextMenu
SetOverwrite try SetOverwrite try
SetOutPath "$INSTDIR\" SetOutPath "$INSTDIR\"
${If} ${RunningX64} ${If} ${RunningX64}
@ -667,117 +682,116 @@ Section "Context Menu Entry" explorerContextMenu
${EndIf} ${EndIf}
Exec 'regsvr32 /s "$INSTDIR\NppShell_06.dll"' Exec 'regsvr32 /s "$INSTDIR\NppShell_06.dll"'
SectionEnd ${MementoSectionEnd}
SectionGroup "Auto-completion Files" autoCompletionComponent SectionGroup "Auto-completion Files" autoCompletionComponent
SetOverwrite off SetOverwrite off
Section C ${MementoSection} "C" C
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\c.xml" File ".\APIs\c.xml"
SectionEnd ${MementoSectionEnd}
Section C++ ${MementoSection} "C++" C++
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\cpp.xml" File ".\APIs\cpp.xml"
SectionEnd ${MementoSectionEnd}
Section Java ${MementoSection} "Java" Java
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\java.xml" File ".\APIs\java.xml"
SectionEnd ${MementoSectionEnd}
Section C# ${MementoSection} "C#" C#
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\cs.xml" File ".\APIs\cs.xml"
SectionEnd ${MementoSectionEnd}
Section HTML ${MementoSection} "HTML" HTML
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\html.xml" File ".\APIs\html.xml"
SectionEnd ${MementoSectionEnd}
Section RC ${MementoSection} "RC" RC
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\rc.xml" File ".\APIs\rc.xml"
SectionEnd ${MementoSectionEnd}
Section SQL ${MementoSection} "SQL" SQL
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\sql.xml" File ".\APIs\sql.xml"
SectionEnd ${MementoSectionEnd}
Section PHP ${MementoSection} "PHP" PHP
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\php.xml" File ".\APIs\php.xml"
SectionEnd ${MementoSectionEnd}
Section CSS ${MementoSection} "CSS" CSS
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\css.xml" File ".\APIs\css.xml"
SectionEnd ${MementoSectionEnd}
Section VB ${MementoSection} "VB" VB
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\vb.xml" File ".\APIs\vb.xml"
SectionEnd ${MementoSectionEnd}
Section Perl ${MementoSection} "Perl" Perl
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\perl.xml" File ".\APIs\perl.xml"
SectionEnd ${MementoSectionEnd}
Section JavaScript ${MementoSection} "JavaScript" JavaScript
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\javascript.xml" File ".\APIs\javascript.xml"
SectionEnd ${MementoSectionEnd}
Section Python ${MementoSection} "Python" Python
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\python.xml" File ".\APIs\python.xml"
SectionEnd ${MementoSectionEnd}
Section ActionScript ${MementoSection} "ActionScript" ActionScript
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\actionscript.xml" File ".\APIs\actionscript.xml"
SectionEnd ${MementoSectionEnd}
Section LISP ${MementoSection} "LISP" LISP
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\lisp.xml" File ".\APIs\lisp.xml"
SectionEnd ${MementoSectionEnd}
Section VHDL ${MementoSection} "VHDL" VHDL
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\vhdl.xml" File ".\APIs\vhdl.xml"
SectionEnd ${MementoSectionEnd}
Section TeX ${MementoSection} "TeX" TeX
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\tex.xml" File ".\APIs\tex.xml"
SectionEnd ${MementoSectionEnd}
Section DocBook ${MementoSection} "DocBook" DocBook
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\xml.xml" File ".\APIs\xml.xml"
SectionEnd ${MementoSectionEnd}
Section NSIS ${MementoSection} "NSIS" NSIS
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\nsis.xml" File ".\APIs\nsis.xml"
SectionEnd ${MementoSectionEnd}
Section CMAKE ${MementoSection} "CMAKE" CMAKE
SetOutPath "$INSTDIR\plugins\APIs" SetOutPath "$INSTDIR\plugins\APIs"
File ".\APIs\cmake.xml" File ".\APIs\cmake.xml"
SectionEnd ${MementoSectionEnd}
SectionGroupEnd SectionGroupEnd
SectionGroup "Plugins" Plugins SectionGroup "Plugins" Plugins
SetOverwrite on SetOverwrite on
Section "Spell-Checker" DSpellCheck ${MementoSection} "Spell-Checker" DSpellCheck
Delete "$INSTDIR\plugins\DSpellCheck.dll" Delete "$INSTDIR\plugins\DSpellCheck.dll"
SetOutPath "$INSTDIR\plugins" SetOutPath "$INSTDIR\plugins"
File "..\bin\plugins\DSpellCheck.dll" File "..\bin\plugins\DSpellCheck.dll"
@ -790,9 +804,9 @@ SectionGroup "Plugins" Plugins
File "..\bin\plugins\Config\Hunspell\en_US.aff" File "..\bin\plugins\Config\Hunspell\en_US.aff"
File "..\bin\plugins\Config\Hunspell\en_US.dic" File "..\bin\plugins\Config\Hunspell\en_US.dic"
File "..\bin\plugins\Config\Hunspell\README_en_US.txt" File "..\bin\plugins\Config\Hunspell\README_en_US.txt"
SectionEnd ${MementoSectionEnd}
Section "Npp FTP" NppFTP ${MementoSection} "Npp FTP" NppFTP
Delete "$INSTDIR\plugins\NppFTP.dll" Delete "$INSTDIR\plugins\NppFTP.dll"
SetOutPath "$INSTDIR\plugins" SetOutPath "$INSTDIR\plugins"
File "..\bin\plugins\NppFTP.dll" File "..\bin\plugins\NppFTP.dll"
@ -804,393 +818,392 @@ SectionGroup "Plugins" Plugins
File "..\bin\plugins\doc\NppFTP\license_ZLIB.txt" File "..\bin\plugins\doc\NppFTP\license_ZLIB.txt"
File "..\bin\plugins\doc\NppFTP\license_UTCP.htm" File "..\bin\plugins\doc\NppFTP\license_UTCP.htm"
File "..\bin\plugins\doc\NppFTP\Readme.txt" File "..\bin\plugins\doc\NppFTP\Readme.txt"
SectionEnd ${MementoSectionEnd}
Section "NppExport" NppExport ${MementoSection} "NppExport" NppExport
Delete "$INSTDIR\plugins\NppExport.dll" Delete "$INSTDIR\plugins\NppExport.dll"
SetOutPath "$INSTDIR\plugins" SetOutPath "$INSTDIR\plugins"
File "..\bin\plugins\NppExport.dll" File "..\bin\plugins\NppExport.dll"
SectionEnd ${MementoSectionEnd}
Section "Plugin Manager" PluginManager ${MementoSection} "Plugin Manager" PluginManager
Delete "$INSTDIR\plugins\PluginManager.dll" Delete "$INSTDIR\plugins\PluginManager.dll"
SetOutPath "$INSTDIR\plugins" SetOutPath "$INSTDIR\plugins"
File "..\bin\plugins\PluginManager.dll" File "..\bin\plugins\PluginManager.dll"
SetOutPath "$INSTDIR\updater" SetOutPath "$INSTDIR\updater"
File "..\bin\updater\gpup.exe" File "..\bin\updater\gpup.exe"
SectionEnd ${MementoSectionEnd}
Section "Mime Tools" MimeTools ${MementoSection} "Mime Tools" MimeTools
Delete "$INSTDIR\plugins\mimeTools.dll" Delete "$INSTDIR\plugins\mimeTools.dll"
SetOutPath "$INSTDIR\plugins" SetOutPath "$INSTDIR\plugins"
File "..\bin\plugins\mimeTools.dll" File "..\bin\plugins\mimeTools.dll"
SectionEnd ${MementoSectionEnd}
Section "Converter" Converter ${MementoSection} "Converter" Converter
Delete "$INSTDIR\plugins\NppConverter.dll" Delete "$INSTDIR\plugins\NppConverter.dll"
SetOutPath "$INSTDIR\plugins" SetOutPath "$INSTDIR\plugins"
File "..\bin\plugins\NppConverter.dll" File "..\bin\plugins\NppConverter.dll"
SectionEnd ${MementoSectionEnd}
SectionGroupEnd SectionGroupEnd
SectionGroup "Localization" localization SectionGroup "Localization" localization
SetOverwrite on SetOverwrite on
Section /o "Afrikaans" afrikaans ${MementoUnselectedSection} "Afrikaans" afrikaans
CopyFiles "$TEMP\nppLocalization\afrikaans.xml" "$INSTDIR\localization\afrikaans.xml" CopyFiles "$TEMP\nppLocalization\afrikaans.xml" "$INSTDIR\localization\afrikaans.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Albanian" albanian ${MementoUnselectedSection} "Albanian" albanian
CopyFiles "$TEMP\nppLocalization\albanian.xml" "$INSTDIR\localization\albanian.xml" CopyFiles "$TEMP\nppLocalization\albanian.xml" "$INSTDIR\localization\albanian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Arabic" arabic ${MementoUnselectedSection} "Arabic" arabic
CopyFiles "$TEMP\nppLocalization\arabic.xml" "$INSTDIR\localization\arabic.xml" CopyFiles "$TEMP\nppLocalization\arabic.xml" "$INSTDIR\localization\arabic.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Aragonese" aragonese ${MementoUnselectedSection} "Aragonese" aragonese
CopyFiles "$TEMP\nppLocalization\aragonese.xml" "$INSTDIR\localization\aragonese.xml" CopyFiles "$TEMP\nppLocalization\aragonese.xml" "$INSTDIR\localization\aragonese.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Aranese" aranese ${MementoUnselectedSection} "Aranese" aranese
CopyFiles "$TEMP\nppLocalization\aranese.xml" "$INSTDIR\localization\aranese.xml" CopyFiles "$TEMP\nppLocalization\aranese.xml" "$INSTDIR\localization\aranese.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Azerbaijani" azerbaijani ${MementoUnselectedSection} "Azerbaijani" azerbaijani
CopyFiles "$TEMP\nppLocalization\azerbaijani.xml" "$INSTDIR\localization\azerbaijani.xml" CopyFiles "$TEMP\nppLocalization\azerbaijani.xml" "$INSTDIR\localization\azerbaijani.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Basque" basque ${MementoUnselectedSection} "Basque" basque
CopyFiles "$TEMP\nppLocalization\basque.xml" "$INSTDIR\localization\basque.xml" CopyFiles "$TEMP\nppLocalization\basque.xml" "$INSTDIR\localization\basque.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Belarusian" belarusian ${MementoUnselectedSection} "Belarusian" belarusian
CopyFiles "$TEMP\nppLocalization\belarusian.xml" "$INSTDIR\localization\belarusian.xml" CopyFiles "$TEMP\nppLocalization\belarusian.xml" "$INSTDIR\localization\belarusian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Bengali" bengali ${MementoUnselectedSection} "Bengali" bengali
CopyFiles "$TEMP\nppLocalization\bengali.xml" "$INSTDIR\localization\bengali.xml" CopyFiles "$TEMP\nppLocalization\bengali.xml" "$INSTDIR\localization\bengali.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Bosnian" bosnian ${MementoUnselectedSection} "Bosnian" bosnian
CopyFiles "$TEMP\nppLocalization\bosnian.xml" "$INSTDIR\localization\bosnian.xml" CopyFiles "$TEMP\nppLocalization\bosnian.xml" "$INSTDIR\localization\bosnian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Brazilian Portuguese" brazilian_portuguese ${MementoUnselectedSection} "Brazilian Portuguese" brazilian_portuguese
CopyFiles "$TEMP\nppLocalization\brazilian_portuguese.xml" "$INSTDIR\localization\brazilian_portuguese.xml" CopyFiles "$TEMP\nppLocalization\brazilian_portuguese.xml" "$INSTDIR\localization\brazilian_portuguese.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Bulgarian" bulgarian ${MementoUnselectedSection} "Bulgarian" bulgarian
CopyFiles "$TEMP\nppLocalization\bulgarian.xml" "$INSTDIR\localization\bulgarian.xml" CopyFiles "$TEMP\nppLocalization\bulgarian.xml" "$INSTDIR\localization\bulgarian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Catalan" catalan ${MementoUnselectedSection} "Catalan" catalan
CopyFiles "$TEMP\nppLocalization\catalan.xml" "$INSTDIR\localization\catalan.xml" CopyFiles "$TEMP\nppLocalization\catalan.xml" "$INSTDIR\localization\catalan.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Chinese (Traditional)" chineseTraditional ${MementoUnselectedSection} "Chinese (Traditional)" chineseTraditional
CopyFiles "$TEMP\nppLocalization\chinese.xml" "$INSTDIR\localization\chinese.xml" CopyFiles "$TEMP\nppLocalization\chinese.xml" "$INSTDIR\localization\chinese.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Chinese (Simplified)" chineseSimplified ${MementoUnselectedSection} "Chinese (Simplified)" chineseSimplified
CopyFiles "$TEMP\nppLocalization\chineseSimplified.xml" "$INSTDIR\localization\chineseSimplified.xml" CopyFiles "$TEMP\nppLocalization\chineseSimplified.xml" "$INSTDIR\localization\chineseSimplified.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Croatian" croatian ${MementoUnselectedSection} "Croatian" croatian
CopyFiles "$TEMP\nppLocalization\croatian.xml" "$INSTDIR\localization\croatian.xml" CopyFiles "$TEMP\nppLocalization\croatian.xml" "$INSTDIR\localization\croatian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Czech" czech ${MementoUnselectedSection} "Czech" czech
CopyFiles "$TEMP\nppLocalization\czech.xml" "$INSTDIR\localization\czech.xml" CopyFiles "$TEMP\nppLocalization\czech.xml" "$INSTDIR\localization\czech.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Danish" danish ${MementoUnselectedSection} "Danish" danish
CopyFiles "$TEMP\nppLocalization\danish.xml" "$INSTDIR\localization\danish.xml" CopyFiles "$TEMP\nppLocalization\danish.xml" "$INSTDIR\localization\danish.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Dutch" dutch ${MementoUnselectedSection} "Dutch" dutch
CopyFiles "$TEMP\nppLocalization\dutch.xml" "$INSTDIR\localization\dutch.xml" CopyFiles "$TEMP\nppLocalization\dutch.xml" "$INSTDIR\localization\dutch.xml"
SectionEnd ${MementoSectionEnd}
Section /o "English (Customizable)" english_customizable ${MementoUnselectedSection} "English (Customizable)" english_customizable
CopyFiles "$TEMP\nppLocalization\english_customizable.xml" "$INSTDIR\localization\english_customizable.xml" CopyFiles "$TEMP\nppLocalization\english_customizable.xml" "$INSTDIR\localization\english_customizable.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Esperanto" esperanto ${MementoUnselectedSection} "Esperanto" esperanto
CopyFiles "$TEMP\nppLocalization\esperanto.xml" "$INSTDIR\localization\esperanto.xml" CopyFiles "$TEMP\nppLocalization\esperanto.xml" "$INSTDIR\localization\esperanto.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Extremaduran" extremaduran ${MementoUnselectedSection} "Extremaduran" extremaduran
CopyFiles "$TEMP\nppLocalization\extremaduran.xml" "$INSTDIR\localization\extremaduran.xml" CopyFiles "$TEMP\nppLocalization\extremaduran.xml" "$INSTDIR\localization\extremaduran.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Farsi" farsi ${MementoUnselectedSection} "Farsi" farsi
CopyFiles "$TEMP\nppLocalization\farsi.xml" "$INSTDIR\localization\farsi.xml" CopyFiles "$TEMP\nppLocalization\farsi.xml" "$INSTDIR\localization\farsi.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Finnish" finnish ${MementoUnselectedSection} "Finnish" finnish
CopyFiles "$TEMP\nppLocalization\finnish.xml" "$INSTDIR\localization\finnish.xml" CopyFiles "$TEMP\nppLocalization\finnish.xml" "$INSTDIR\localization\finnish.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Friulian" friulian ${MementoUnselectedSection} "Friulian" friulian
CopyFiles "$TEMP\nppLocalization\friulian.xml" "$INSTDIR\localization\friulian.xml" CopyFiles "$TEMP\nppLocalization\friulian.xml" "$INSTDIR\localization\friulian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "French" french ${MementoUnselectedSection} "French" french
CopyFiles "$TEMP\nppLocalization\french.xml" "$INSTDIR\localization\french.xml" CopyFiles "$TEMP\nppLocalization\french.xml" "$INSTDIR\localization\french.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Galician" galician ${MementoUnselectedSection} "Galician" galician
CopyFiles "$TEMP\nppLocalization\galician.xml" "$INSTDIR\localization\galician.xml" CopyFiles "$TEMP\nppLocalization\galician.xml" "$INSTDIR\localization\galician.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Georgian" georgian ${MementoUnselectedSection} "Georgian" georgian
CopyFiles "$TEMP\nppLocalization\georgian.xml" "$INSTDIR\localization\georgian.xml" CopyFiles "$TEMP\nppLocalization\georgian.xml" "$INSTDIR\localization\georgian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "German" german ${MementoUnselectedSection} "German" german
CopyFiles "$TEMP\nppLocalization\german.xml" "$INSTDIR\localization\german.xml" CopyFiles "$TEMP\nppLocalization\german.xml" "$INSTDIR\localization\german.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Greek" greek ${MementoUnselectedSection} "Greek" greek
CopyFiles "$TEMP\nppLocalization\greek.xml" "$INSTDIR\localization\greek.xml" CopyFiles "$TEMP\nppLocalization\greek.xml" "$INSTDIR\localization\greek.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Gujarati" gujarati ${MementoUnselectedSection} "Gujarati" gujarati
CopyFiles "$TEMP\nppLocalization\gujarati.xml" "$INSTDIR\localization\gujarati.xml" CopyFiles "$TEMP\nppLocalization\gujarati.xml" "$INSTDIR\localization\gujarati.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Hebrew" hebrew ${MementoUnselectedSection} "Hebrew" hebrew
CopyFiles "$TEMP\nppLocalization\hebrew.xml" "$INSTDIR\localization\hebrew.xml" CopyFiles "$TEMP\nppLocalization\hebrew.xml" "$INSTDIR\localization\hebrew.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Hindi" hindi ${MementoUnselectedSection} "Hindi" hindi
CopyFiles "$TEMP\nppLocalization\hindi.xml" "$INSTDIR\localization\hindi.xml" CopyFiles "$TEMP\nppLocalization\hindi.xml" "$INSTDIR\localization\hindi.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Hungarian" hungarian ${MementoUnselectedSection} "Hungarian" hungarian
CopyFiles "$TEMP\nppLocalization\hungarian.xml" "$INSTDIR\localization\hungarian.xml" CopyFiles "$TEMP\nppLocalization\hungarian.xml" "$INSTDIR\localization\hungarian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Hungarian (ANSI)" hungarianA ${MementoUnselectedSection} "Hungarian (ANSI)" hungarianA
CopyFiles "$TEMP\nppLocalization\hungarianA.xml" "$INSTDIR\localization\hungarianA.xml" CopyFiles "$TEMP\nppLocalization\hungarianA.xml" "$INSTDIR\localization\hungarianA.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Indonesian" indonesian ${MementoUnselectedSection} "Indonesian" indonesian
CopyFiles "$TEMP\nppLocalization\indonesian.xml" "$INSTDIR\localization\indonesian.xml" CopyFiles "$TEMP\nppLocalization\indonesian.xml" "$INSTDIR\localization\indonesian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Italian" italian ${MementoUnselectedSection} "Italian" italian
CopyFiles "$TEMP\nppLocalization\italian.xml" "$INSTDIR\localization\italian.xml" CopyFiles "$TEMP\nppLocalization\italian.xml" "$INSTDIR\localization\italian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Japanese" japanese ${MementoUnselectedSection} "Japanese" japanese
CopyFiles "$TEMP\nppLocalization\japanese.xml" "$INSTDIR\localization\japanese.xml" CopyFiles "$TEMP\nppLocalization\japanese.xml" "$INSTDIR\localization\japanese.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Kazakh" kazakh ${MementoUnselectedSection} "Kazakh" kazakh
CopyFiles "$TEMP\nppLocalization\kazakh.xml" "$INSTDIR\localization\kazakh.xml" CopyFiles "$TEMP\nppLocalization\kazakh.xml" "$INSTDIR\localization\kazakh.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Korean" korean ${MementoUnselectedSection} "Korean" korean
CopyFiles "$TEMP\nppLocalization\korean.xml" "$INSTDIR\localization\korean.xml" CopyFiles "$TEMP\nppLocalization\korean.xml" "$INSTDIR\localization\korean.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Kyrgyz" kyrgyz ${MementoUnselectedSection} "Kyrgyz" kyrgyz
CopyFiles "$TEMP\nppLocalization\kyrgyz.xml" "$INSTDIR\localization\kyrgyz.xml" CopyFiles "$TEMP\nppLocalization\kyrgyz.xml" "$INSTDIR\localization\kyrgyz.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Latvian" latvian ${MementoUnselectedSection} "Latvian" latvian
CopyFiles "$TEMP\nppLocalization\latvian.xml" "$INSTDIR\localization\latvian.xml" CopyFiles "$TEMP\nppLocalization\latvian.xml" "$INSTDIR\localization\latvian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Ligurian" ligurian ${MementoUnselectedSection} "Ligurian" ligurian
CopyFiles "$TEMP\nppLocalization\ligurian.xml" "$INSTDIR\localization\ligurian.xml" CopyFiles "$TEMP\nppLocalization\ligurian.xml" "$INSTDIR\localization\ligurian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Lithuanian" lithuanian ${MementoUnselectedSection} "Lithuanian" lithuanian
CopyFiles "$TEMP\nppLocalization\lithuanian.xml" "$INSTDIR\localization\lithuanian.xml" CopyFiles "$TEMP\nppLocalization\lithuanian.xml" "$INSTDIR\localization\lithuanian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Luxembourgish" luxembourgish ${MementoUnselectedSection} "Luxembourgish" luxembourgish
CopyFiles "$TEMP\nppLocalization\luxembourgish.xml" "$INSTDIR\localization\luxembourgish.xml" CopyFiles "$TEMP\nppLocalization\luxembourgish.xml" "$INSTDIR\localization\luxembourgish.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Macedonian" macedonian ${MementoUnselectedSection} "Macedonian" macedonian
CopyFiles "$TEMP\nppLocalization\macedonian.xml" "$INSTDIR\localization\macedonian.xml" CopyFiles "$TEMP\nppLocalization\macedonian.xml" "$INSTDIR\localization\macedonian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Malay" malay ${MementoUnselectedSection} "Malay" malay
CopyFiles "$TEMP\nppLocalization\malay.xml" "$INSTDIR\localization\malay.xml" CopyFiles "$TEMP\nppLocalization\malay.xml" "$INSTDIR\localization\malay.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Marathi" marathi ${MementoUnselectedSection} "Marathi" marathi
CopyFiles "$TEMP\nppLocalization\marathi.xml" "$INSTDIR\localization\marathi.xml" CopyFiles "$TEMP\nppLocalization\marathi.xml" "$INSTDIR\localization\marathi.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Mongolian" mongolian ${MementoUnselectedSection} "Mongolian" mongolian
CopyFiles "$TEMP\nppLocalization\mongolian.xml" "$INSTDIR\localization\mongolian.xml" CopyFiles "$TEMP\nppLocalization\mongolian.xml" "$INSTDIR\localization\mongolian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Norwegian" norwegian ${MementoUnselectedSection} "Norwegian" norwegian
CopyFiles "$TEMP\nppLocalization\norwegian.xml" "$INSTDIR\localization\norwegian.xml" CopyFiles "$TEMP\nppLocalization\norwegian.xml" "$INSTDIR\localization\norwegian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Nynorsk" nynorsk ${MementoUnselectedSection} "Nynorsk" nynorsk
CopyFiles "$TEMP\nppLocalization\nynorsk.xml" "$INSTDIR\localization\nynorsk.xml" CopyFiles "$TEMP\nppLocalization\nynorsk.xml" "$INSTDIR\localization\nynorsk.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Occitan" occitan ${MementoUnselectedSection} "Occitan" occitan
CopyFiles "$TEMP\nppLocalization\occitan.xml" "$INSTDIR\localization\occitan.xml" CopyFiles "$TEMP\nppLocalization\occitan.xml" "$INSTDIR\localization\occitan.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Polish" polish ${MementoUnselectedSection} "Polish" polish
CopyFiles "$TEMP\nppLocalization\polish.xml" "$INSTDIR\localization\polish.xml" CopyFiles "$TEMP\nppLocalization\polish.xml" "$INSTDIR\localization\polish.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Portuguese" portuguese ${MementoUnselectedSection} "Portuguese" portuguese
CopyFiles "$TEMP\nppLocalization\portuguese.xml" "$INSTDIR\localization\portuguese.xml" CopyFiles "$TEMP\nppLocalization\portuguese.xml" "$INSTDIR\localization\portuguese.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Kannada" kannada ${MementoUnselectedSection} "Kannada" kannada
CopyFiles "$TEMP\nppLocalization\kannada.xml" "$INSTDIR\localization\kannada.xml" CopyFiles "$TEMP\nppLocalization\kannada.xml" "$INSTDIR\localization\kannada.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Romanian" romanian ${MementoUnselectedSection} "Romanian" romanian
CopyFiles "$TEMP\nppLocalization\romanian.xml" "$INSTDIR\localization\romanian.xml" CopyFiles "$TEMP\nppLocalization\romanian.xml" "$INSTDIR\localization\romanian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Russian" russian ${MementoUnselectedSection} "Russian" russian
CopyFiles "$TEMP\nppLocalization\russian.xml" "$INSTDIR\localization\russian.xml" CopyFiles "$TEMP\nppLocalization\russian.xml" "$INSTDIR\localization\russian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Samogitian" samogitian ${MementoUnselectedSection} "Samogitian" samogitian
CopyFiles "$TEMP\nppLocalization\samogitian.xml" "$INSTDIR\localization\samogitian.xml" CopyFiles "$TEMP\nppLocalization\samogitian.xml" "$INSTDIR\localization\samogitian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Sardinian" sardinian ${MementoUnselectedSection} "Sardinian" sardinian
CopyFiles "$TEMP\nppLocalization\sardinian.xml" "$INSTDIR\localization\sardinian.xml" CopyFiles "$TEMP\nppLocalization\sardinian.xml" "$INSTDIR\localization\sardinian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Serbian" serbian ${MementoUnselectedSection} "Serbian" serbian
CopyFiles "$TEMP\nppLocalization\serbian.xml" "$INSTDIR\localization\serbian.xml" CopyFiles "$TEMP\nppLocalization\serbian.xml" "$INSTDIR\localization\serbian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Serbian (Cyrillic)" serbianCyrillic ${MementoUnselectedSection} "Serbian (Cyrillic)" serbianCyrillic
CopyFiles "$TEMP\nppLocalization\serbianCyrillic.xml" "$INSTDIR\localization\serbianCyrillic.xml" CopyFiles "$TEMP\nppLocalization\serbianCyrillic.xml" "$INSTDIR\localization\serbianCyrillic.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Sinhala" sinhala ${MementoUnselectedSection} "Sinhala" sinhala
CopyFiles "$TEMP\nppLocalization\sinhala.xml" "$INSTDIR\localization\sinhala.xml" CopyFiles "$TEMP\nppLocalization\sinhala.xml" "$INSTDIR\localization\sinhala.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Slovak" slovak ${MementoUnselectedSection} "Slovak" slovak
CopyFiles "$TEMP\nppLocalization\slovak.xml" "$INSTDIR\localization\slovak.xml" CopyFiles "$TEMP\nppLocalization\slovak.xml" "$INSTDIR\localization\slovak.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Slovak (ANSI)" slovakA ${MementoUnselectedSection} "Slovak (ANSI)" slovakA
CopyFiles "$TEMP\nppLocalization\slovakA.xml" "$INSTDIR\localization\slovakA.xml" CopyFiles "$TEMP\nppLocalization\slovakA.xml" "$INSTDIR\localization\slovakA.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Slovenian" slovenian ${MementoUnselectedSection} "Slovenian" slovenian
CopyFiles "$TEMP\nppLocalization\slovenian.xml" "$INSTDIR\localization\slovenian.xml" CopyFiles "$TEMP\nppLocalization\slovenian.xml" "$INSTDIR\localization\slovenian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Spanish" spanish ${MementoUnselectedSection} "Spanish" spanish
CopyFiles "$TEMP\nppLocalization\spanish.xml" "$INSTDIR\localization\spanish.xml" CopyFiles "$TEMP\nppLocalization\spanish.xml" "$INSTDIR\localization\spanish.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Spanish_ar" spanish_ar ${MementoUnselectedSection} "Spanish_ar" spanish_ar
CopyFiles "$TEMP\nppLocalization\spanish_ar.xml" "$INSTDIR\localization\spanish_ar.xml" CopyFiles "$TEMP\nppLocalization\spanish_ar.xml" "$INSTDIR\localization\spanish_ar.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Swedish" swedish ${MementoUnselectedSection} "Swedish" swedish
CopyFiles "$TEMP\nppLocalization\swedish.xml" "$INSTDIR\localization\swedish.xml" CopyFiles "$TEMP\nppLocalization\swedish.xml" "$INSTDIR\localization\swedish.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Tagalog" tagalog ${MementoUnselectedSection} "Tagalog" tagalog
CopyFiles "$TEMP\nppLocalization\tagalog.xml" "$INSTDIR\localization\tagalog.xml" CopyFiles "$TEMP\nppLocalization\tagalog.xml" "$INSTDIR\localization\tagalog.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Tamil" tamil ${MementoUnselectedSection} "Tamil" tamil
CopyFiles "$TEMP\nppLocalization\tamil.xml" "$INSTDIR\localization\tamil.xml" CopyFiles "$TEMP\nppLocalization\tamil.xml" "$INSTDIR\localization\tamil.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Telugu" telugu ${MementoUnselectedSection} "Telugu" telugu
CopyFiles "$TEMP\nppLocalization\telugu.xml" "$INSTDIR\localization\telugu.xml" CopyFiles "$TEMP\nppLocalization\telugu.xml" "$INSTDIR\localization\telugu.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Thai" thai ${MementoUnselectedSection} "Thai" thai
CopyFiles "$TEMP\nppLocalization\thai.xml" "$INSTDIR\localization\thai.xml" CopyFiles "$TEMP\nppLocalization\thai.xml" "$INSTDIR\localization\thai.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Turkish" turkish ${MementoUnselectedSection} "Turkish" turkish
CopyFiles "$TEMP\nppLocalization\turkish.xml" "$INSTDIR\localization\turkish.xml" CopyFiles "$TEMP\nppLocalization\turkish.xml" "$INSTDIR\localization\turkish.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Ukrainian" ukrainian ${MementoUnselectedSection} "Ukrainian" ukrainian
CopyFiles "$TEMP\nppLocalization\ukrainian.xml" "$INSTDIR\localization\ukrainian.xml" CopyFiles "$TEMP\nppLocalization\ukrainian.xml" "$INSTDIR\localization\ukrainian.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Urdu" urdu ${MementoUnselectedSection} "Urdu" urdu
CopyFiles "$TEMP\nppLocalization\urdu.xml" "$INSTDIR\localization\urdu.xml" CopyFiles "$TEMP\nppLocalization\urdu.xml" "$INSTDIR\localization\urdu.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Uyghur" uyghur ${MementoUnselectedSection} "Uyghur" uyghur
CopyFiles "$TEMP\nppLocalization\uyghur.xml" "$INSTDIR\localization\uyghur.xml" CopyFiles "$TEMP\nppLocalization\uyghur.xml" "$INSTDIR\localization\uyghur.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Uzbek" uzbek ${MementoUnselectedSection} "Uzbek" uzbek
CopyFiles "$TEMP\nppLocalization\uzbek.xml" "$INSTDIR\localization\uzbek.xml" CopyFiles "$TEMP\nppLocalization\uzbek.xml" "$INSTDIR\localization\uzbek.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Uzbek (Cyrillic)" uzbekCyrillic ${MementoUnselectedSection} "Uzbek (Cyrillic)" uzbekCyrillic
CopyFiles "$TEMP\nppLocalization\uzbekCyrillic.xml" "$INSTDIR\localization\uzbekCyrillic.xml" CopyFiles "$TEMP\nppLocalization\uzbekCyrillic.xml" "$INSTDIR\localization\uzbekCyrillic.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Vietnamese" vietnamese ${MementoUnselectedSection} "Vietnamese" vietnamese
CopyFiles "$TEMP\nppLocalization\vietnamese.xml" "$INSTDIR\localization\vietnamese.xml" CopyFiles "$TEMP\nppLocalization\vietnamese.xml" "$INSTDIR\localization\vietnamese.xml"
SectionEnd ${MementoSectionEnd}
Section /o "Welsh" welsh ${MementoUnselectedSection} "Welsh" welsh
CopyFiles "$TEMP\nppLocalization\welsh.xml" "$INSTDIR\localization\welsh.xml" CopyFiles "$TEMP\nppLocalization\welsh.xml" "$INSTDIR\localization\welsh.xml"
SectionEnd ${MementoSectionEnd}
SectionGroupEnd SectionGroupEnd
SectionGroup "Themes" Themes SectionGroup "Themes" Themes
SetOverwrite off SetOverwrite off
Section "Black Board" BlackBoard ${MementoSection} "Black Board" BlackBoard
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\Black board.xml" File ".\themes\Black board.xml"
SectionEnd ${MementoSectionEnd}
Section "Choco" Choco ${MementoSection} "Choco" Choco
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\Choco.xml" File ".\themes\Choco.xml"
SectionEnd ${MementoSectionEnd}
Section "Hello Kitty" HelloKitty ${MementoSection} "Hello Kitty" HelloKitty
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\Hello Kitty.xml" File ".\themes\Hello Kitty.xml"
SectionEnd ${MementoSectionEnd}
Section "Mono Industrial" MonoIndustrial ${MementoSection} "Mono Industrial" MonoIndustrial
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\Mono Industrial.xml" File ".\themes\Mono Industrial.xml"
SectionEnd ${MementoSectionEnd}
Section "Monokai" Monokai ${MementoSection} "Monokai" Monokai
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\Monokai.xml" File ".\themes\Monokai.xml"
SectionEnd ${MementoSectionEnd}
Section "Obsidian" Obsidian ${MementoSection} "Obsidian" Obsidian
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\obsidian.xml" File ".\themes\obsidian.xml"
SectionEnd ${MementoSectionEnd}
Section "Plastic Code Wrap" PlasticCodeWrap ${MementoSection} "Plastic Code Wrap" PlasticCodeWrap
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\Plastic Code Wrap.xml" File ".\themes\Plastic Code Wrap.xml"
SectionEnd ${MementoSectionEnd}
Section "Ruby Blue" RubyBlue ${MementoSection} "Ruby Blue" RubyBlue
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\Ruby Blue.xml" File ".\themes\Ruby Blue.xml"
SectionEnd ${MementoSectionEnd}
Section "Twilight" Twilight ${MementoSection} "Twilight" Twilight
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\Twilight.xml" File ".\themes\Twilight.xml"
SectionEnd ${MementoSectionEnd}
Section "Vibrant Ink" VibrantInk ${MementoSection} "Vibrant Ink" VibrantInk
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\Vibrant Ink.xml" File ".\themes\Vibrant Ink.xml"
SectionEnd ${MementoSectionEnd}
Section "Deep Black" DeepBlack ${MementoSection} "Deep Black" DeepBlack
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\Deep Black.xml" File ".\themes\Deep Black.xml"
SectionEnd ${MementoSectionEnd}
Section "vim Dark Blue" vimDarkBlue ${MementoSection} "vim Dark Blue" vimDarkBlue
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\vim Dark Blue.xml" File ".\themes\vim Dark Blue.xml"
SectionEnd ${MementoSectionEnd}
Section "Bespin" Bespin ${MementoSection} "Bespin" Bespin
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\Bespin.xml" File ".\themes\Bespin.xml"
SectionEnd ${MementoSectionEnd}
Section "Zenburn" Zenburn ${MementoSection} "Zenburn" Zenburn
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\Zenburn.xml" File ".\themes\Zenburn.xml"
SectionEnd ${MementoSectionEnd}
Section "Solarized" Solarized ${MementoSection} "Solarized" Solarized
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\Solarized.xml" File ".\themes\Solarized.xml"
SectionEnd ${MementoSectionEnd}
Section "Solarized Light" Solarized-light ${MementoSection} "Solarized Light" Solarized-light
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\Solarized-light.xml" File ".\themes\Solarized-light.xml"
SectionEnd ${MementoSectionEnd}
Section "Hot Fudge Sundae" HotFudgeSundae ${MementoSection} "Hot Fudge Sundae" HotFudgeSundae
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\HotFudgeSundae.xml" File ".\themes\HotFudgeSundae.xml"
SectionEnd ${MementoSectionEnd}
Section "khaki" khaki ${MementoSection} "khaki" khaki
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\khaki.xml" File ".\themes\khaki.xml"
SectionEnd ${MementoSectionEnd}
Section "Mossy Lawn" MossyLawn ${MementoSection} "Mossy Lawn" MossyLawn
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\MossyLawn.xml" File ".\themes\MossyLawn.xml"
SectionEnd ${MementoSectionEnd}
Section "Navajo" Navajo ${MementoSection} "Navajo" Navajo
SetOutPath "$UPDATE_PATH\themes" SetOutPath "$UPDATE_PATH\themes"
File ".\themes\Navajo.xml" File ".\themes\Navajo.xml"
SectionEnd ${MementoSectionEnd}
SectionGroupEnd SectionGroupEnd
Section /o "As default html viewer" htmlViewer ${MementoUnselectedSection} "As default html viewer" htmlViewer
SetOverwrite on SetOverwrite on
SetOutPath "$INSTDIR\" SetOutPath "$INSTDIR\"
File "..\bin\nppIExplorerShell.exe" File "..\bin\nppIExplorerShell.exe"
WriteRegStr HKLM "SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name" "" "$INSTDIR\nppIExplorerShell.exe" WriteRegStr HKLM "SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name" "" "$INSTDIR\nppIExplorerShell.exe"
SectionEnd ${MementoSectionEnd}
InstType "Minimalist" InstType "Minimalist"
Section "Auto-Updater" AutoUpdater ${MementoSection} "Auto-Updater" AutoUpdater
SetOverwrite on SetOverwrite on
SetOutPath "$INSTDIR\updater" SetOutPath "$INSTDIR\updater"
File "..\bin\updater\GUP.exe" File "..\bin\updater\GUP.exe"
@ -1199,15 +1212,15 @@ Section "Auto-Updater" AutoUpdater
File "..\bin\updater\License.txt" File "..\bin\updater\License.txt"
File "..\bin\updater\gpl.txt" File "..\bin\updater\gpl.txt"
File "..\bin\updater\readme.txt" File "..\bin\updater\readme.txt"
SectionEnd ${MementoSectionEnd}
Section "User Manual" UserManual ${MementoSection} "User Manual" UserManual
SetOverwrite on SetOverwrite on
IfFileExists "$INSTDIR\NppHelp.chm" 0 +2 IfFileExists "$INSTDIR\NppHelp.chm" 0 +2
Delete "$INSTDIR\NppHelp.chm" Delete "$INSTDIR\NppHelp.chm"
SetOutPath "$INSTDIR\user.manual" SetOutPath "$INSTDIR\user.manual"
File /r "..\bin\user.manual\" File /r "..\bin\user.manual\"
SectionEnd ${MementoSectionEnd}
/* /*
Section /o "Create Shortcut on Desktop" Section /o "Create Shortcut on Desktop"
@ -1221,6 +1234,8 @@ Section /o "Use the old application icon" getOldIcon
SectionEnd SectionEnd
*/ */
${MementoSectionDone}
;-------------------------------- ;--------------------------------
;Descriptions ;Descriptions
@ -1245,16 +1260,16 @@ SectionEnd
Section -FinishSection Section -FinishSection
WriteRegStr HKLM "Software\${APPNAME}" "" "$INSTDIR" WriteRegStr HKLM "Software\${APPNAME}" "" "$INSTDIR"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayName" "${APPNAME}" WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "DisplayName" "${APPNAME}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "Publisher" "Notepad++ Team" WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "Publisher" "Notepad++ Team"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "VersionMajor" "${VERSION_MAJOR}" WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "VersionMajor" "${VERSION_MAJOR}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "VersionMinor" "${VERSION_MINOR}" WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "VersionMinor" "${VERSION_MINOR}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "MajorVersion" "${VERSION_MAJOR}" WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "MajorVersion" "${VERSION_MAJOR}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "MinorVersion" "${VERSION_MINOR}" WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "MinorVersion" "${VERSION_MINOR}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "UninstallString" "$INSTDIR\uninstall.exe" WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "UninstallString" "$INSTDIR\uninstall.exe"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayIcon" "$INSTDIR\notepad++.exe" WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "DisplayIcon" "$INSTDIR\notepad++.exe"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayVersion" "${APPVERSION}" WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "DisplayVersion" "${APPVERSION}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "URLInfoAbout" "${APPWEBSITE}" WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "URLInfoAbout" "${APPWEBSITE}"
WriteUninstaller "$INSTDIR\uninstall.exe" WriteUninstaller "$INSTDIR\uninstall.exe"
SectionEnd SectionEnd
@ -1894,7 +1909,7 @@ SectionEnd
Section Uninstall Section Uninstall
;Remove from registry... ;Remove from registry...
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" DeleteRegKey HKLM "${UNINSTALL_REG_KEY}"
DeleteRegKey HKLM "SOFTWARE\${APPNAME}" DeleteRegKey HKLM "SOFTWARE\${APPNAME}"
DeleteRegKey HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\notepad++.exe" DeleteRegKey HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\notepad++.exe"