814e6591b5
The new behaviour of loading function list will be: 1. For the installer package: Try to load from %APPDATA%\Notepad++\functionList\, if it failed, then load from %PROGRAMFILES%\Notepad++\functionList\. In this way, users can override function list in %APPDATA%\Notepad++\functionList\ manually. Otherwise, function list won't be empty. 2. For the portable package: - with doLocalConf.xml : Load always from <Notepad++ Dir>\functionList\ - without doLocalConf.xml : Try to load from %APPDATA%\Notepad++\functionList\, if it failed, then load from <Notepad++ Dir>\functionList\ Fix #9134
280 lines
7.1 KiB
Plaintext
280 lines
7.1 KiB
Plaintext
; this file is part of installer for Notepad++
|
|
; Copyright (C)2016 Don HO <don.h@free.fr>
|
|
;
|
|
; This program is free software; you can redistribute it and/or
|
|
; modify it under the terms of the GNU General Public License
|
|
; as published by the Free Software Foundation; either
|
|
; version 2 of the License, or (at your option) any later version.
|
|
;
|
|
; Note that the GPL places important restrictions on "derived works", yet
|
|
; it does not provide a detailed definition of that term. To avoid
|
|
; misunderstandings, we consider an application to constitute a
|
|
; "derivative work" for the purpose of this license if it does any of the
|
|
; following:
|
|
; 1. Integrates source code from Notepad++.
|
|
; 2. Integrates/includes/aggregates Notepad++ into a proprietary executable
|
|
; installer, such as those produced by InstallShield.
|
|
; 3. Links to a library or executes a program that does any of the above.
|
|
;
|
|
; This program is distributed in the hope that it will be useful,
|
|
; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
; GNU General Public License for more details.
|
|
;
|
|
; You should have received a copy of the GNU General Public License
|
|
; along with this program; if not, write to the Free Software
|
|
; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
|
|
SectionGroup "Function List Files" functionListComponent
|
|
SetOverwrite off
|
|
|
|
${MementoSection} "C" C_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\c.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "C++" C++_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\cpp.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "Java" Java_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\java.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "C#" C#_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\cs.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "Assembly" Assembly_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\asm.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "Bash" Bash_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\bash.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "SQL" SQL_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\sql.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "PHP" PHP_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\php.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "COBOL section free" COBOL-section-free
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\cobol-free.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "COBOL" COBOL_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\cobol.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "Perl" Perl_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\perl.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "JavaScript" JavaScript_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\javascript.js.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "Python" Python_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\python.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "ini" ini_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\ini.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "Inno Setup" Innosetup_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\inno.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "VHDL" VHDL_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\vhdl.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "KRL" KRL_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\krl.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "Override Map" OverrideMap_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\overrideMap.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "NSIS" NSIS_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\nsis.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "PowerShell" PowerShell_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\powershell.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "BATCH" BATCH_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\batch.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "Ruby" Ruby_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\ruby.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "BaanC" BaanC_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\baanc.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "Sinumerik" Sinumerik_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\sinumerik.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "AutoIt" AutoIt_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\autoit.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "UniVerse BASIC" UniVerseBASIC_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\universe_basic.xml"
|
|
${MementoSectionEnd}
|
|
|
|
${MementoSection} "XML" XML_FL
|
|
SetOutPath "$INSTDIR\functionList"
|
|
File ".\functionList\xml.xml"
|
|
${MementoSectionEnd}
|
|
SectionGroupEnd
|
|
|
|
|
|
|
|
SectionGroup un.functionListComponent
|
|
Section un.PHP_FL
|
|
Delete "$INSTDIR\functionList\php.xml"
|
|
SectionEnd
|
|
|
|
Section un.Assembly_FL
|
|
Delete "$INSTDIR\functionList\asm.xml"
|
|
SectionEnd
|
|
|
|
Section un.SQL_FL
|
|
Delete "$INSTDIR\functionList\sql.xml"
|
|
SectionEnd
|
|
|
|
Section un.Bash_FL
|
|
Delete "$INSTDIR\functionList\bash.xml"
|
|
SectionEnd
|
|
|
|
Section un.COBOL-section-free_FL
|
|
Delete "$INSTDIR\functionList\cobol-free.xml"
|
|
SectionEnd
|
|
|
|
Section un.Perl_FL
|
|
Delete "$INSTDIR\functionList\perl.xml"
|
|
SectionEnd
|
|
|
|
Section un.C_FL
|
|
Delete "$INSTDIR\functionList\c.xml"
|
|
SectionEnd
|
|
|
|
Section un.C++_FL
|
|
Delete "$INSTDIR\functionList\cpp.xml"
|
|
SectionEnd
|
|
|
|
Section un.Java_FL
|
|
Delete "$INSTDIR\functionList\java.xml"
|
|
SectionEnd
|
|
|
|
Section un.C#_FL
|
|
Delete "$INSTDIR\functionList\cs.xml"
|
|
SectionEnd
|
|
|
|
Section un.JavaScript_FL
|
|
Delete "$INSTDIR\functionList\javascript.js.xml"
|
|
SectionEnd
|
|
|
|
Section un.Python_FL
|
|
Delete "$INSTDIR\functionList\python.xml"
|
|
SectionEnd
|
|
|
|
Section un.COBOL_FL
|
|
Delete "$INSTDIR\functionList\cobol.xml"
|
|
SectionEnd
|
|
|
|
Section un.ini_FL
|
|
Delete "$INSTDIR\functionList\ini.xml"
|
|
SectionEnd
|
|
|
|
Section un.VHDL_FL
|
|
Delete "$INSTDIR\functionList\vhdl.xml"
|
|
SectionEnd
|
|
|
|
Section un.Innosetup_FL
|
|
Delete "$INSTDIR\functionList\inno.xml"
|
|
SectionEnd
|
|
|
|
Section un.XML_FL
|
|
Delete "$INSTDIR\functionList\xml.xml"
|
|
SectionEnd
|
|
|
|
Section un.NSIS_FL
|
|
Delete "$INSTDIR\functionList\nsis.xml"
|
|
SectionEnd
|
|
|
|
Section un.KRL_FL
|
|
Delete "$INSTDIR\functionList\krl.xml"
|
|
SectionEnd
|
|
|
|
Section un.BATCH_FL
|
|
Delete "$INSTDIR\functionList\batch.xml"
|
|
SectionEnd
|
|
|
|
Section un.OverrideMap_FL
|
|
Delete "$INSTDIR\functionList\overrideMap.xml"
|
|
SectionEnd
|
|
|
|
Section un.BaanC_FL
|
|
Delete "$INSTDIR\functionList\baanc.xml"
|
|
SectionEnd
|
|
|
|
Section un.PowerShell_FL
|
|
Delete "$INSTDIR\functionList\powershell.xml"
|
|
SectionEnd
|
|
|
|
Section un.AutoIt_FL
|
|
Delete "$INSTDIR\functionList\autoit.xml"
|
|
SectionEnd
|
|
|
|
Section un.Ruby_FL
|
|
Delete "$INSTDIR\functionList\ruby.xml"
|
|
SectionEnd
|
|
|
|
Section un.UniVerseBASIC_FL
|
|
Delete "$INSTDIR\functionList\universe_basic.xml"
|
|
SectionEnd
|
|
|
|
Section un.Sinumerik_FL
|
|
Delete "$INSTDIR\functionList\sinumerik.xml"
|
|
SectionEnd
|
|
|
|
SectionGroupEnd
|