2012-04-17 23:35:01 +00:00
; this file is part of installer for Notepad++
; Copyright (C)2006 Don HO <don.h@free.fr>
2009-04-24 23:34:47 +00:00
;
2012-04-17 23:35:01 +00:00
; 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.
2009-04-24 23:34:47 +00:00
;
2012-04-17 23:35:01 +00:00
; 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.
2009-04-24 23:34:47 +00:00
;
2012-04-17 23:35:01 +00:00
; 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.
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
; 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
2009-04-24 23:34:47 +00:00
; Define the application name
!define APPNAME "Notepad++"
2009-11-25 01:51:04 +00:00
2015-05-16 00:36:09 +00:00
!define APPVERSION "6.7.8"
2011-06-05 13:53:36 +00:00
!define APPNAMEANDVERSION "${APPNAME} v${APPVERSION}"
2012-03-25 23:18:14 +00:00
!define VERSION_MAJOR 6
2015-05-16 00:36:09 +00:00
!define VERSION_MINOR 78
2009-11-25 01:51:04 +00:00
2010-11-14 18:10:10 +00:00
!define APPWEBSITE "http://notepad-plus-plus.org/"
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
!define UNINSTALL_REG_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}"
!define MEMENTO_REGISTRY_ROOT HKLM
!define MEMENTO_REGISTRY_KEY ${UNINSTALL_REG_KEY}
2009-04-24 23:34:47 +00:00
; Main Install settings
Name "${APPNAMEANDVERSION}"
2011-06-05 13:53:36 +00:00
InstallDir "$PROGRAMFILES\${APPNAME}"
2009-04-24 23:34:47 +00:00
InstallDirRegKey HKLM "Software\${APPNAME}" ""
2011-06-05 13:53:36 +00:00
OutFile ".\build\npp.${APPVERSION}.Installer.exe"
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
; GetWindowsVersion 3.0 (2013-02-07)
;
; Based on Yazno's function, http://yazno.tripod.com/powerpimpit/
; Update by Joost Verburg
; Update (Macro, Define, Windows 7 detection) - John T. Haller of PortableApps.com - 2008-01-07
; Update (Windows 8 detection) - Marek Mizanin (Zanir) - 2013-02-07
;
; Usage: ${GetWindowsVersion} $R0
;
; $R0 contains: 95, 98, ME, NT x.x, 2000, XP, 2003, Vista, 7, 8 or '' (for unknown)
2009-04-24 23:34:47 +00:00
Function GetWindowsVersion
2013-03-17 23:31:02 +00:00
Push $R0
Push $R1
ClearErrors
ReadRegStr $R0 HKLM \
"SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
IfErrors 0 lbl_winnt
; we are not NT
ReadRegStr $R0 HKLM \
"SOFTWARE\Microsoft\Windows\CurrentVersion" VersionNumber
StrCpy $R1 $R0 1
StrCmp $R1 '4' 0 lbl_error
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
StrCpy $R1 $R0 3
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
StrCmp $R1 '4.0' lbl_win32_95
StrCmp $R1 '4.9' lbl_win32_ME lbl_win32_98
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
lbl_win32_95:
StrCpy $R0 '95'
Goto lbl_done
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
lbl_win32_98:
StrCpy $R0 '98'
Goto lbl_done
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
lbl_win32_ME:
StrCpy $R0 'ME'
Goto lbl_done
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
lbl_winnt:
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
StrCpy $R1 $R0 1
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
StrCmp $R1 '3' lbl_winnt_x
StrCmp $R1 '4' lbl_winnt_x
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
StrCpy $R1 $R0 3
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
StrCmp $R1 '5.0' lbl_winnt_2000
StrCmp $R1 '5.1' lbl_winnt_XP
StrCmp $R1 '5.2' lbl_winnt_2003
StrCmp $R1 '6.0' lbl_winnt_vista
StrCmp $R1 '6.1' lbl_winnt_7
StrCmp $R1 '6.2' lbl_winnt_8 lbl_error
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
lbl_winnt_x:
StrCpy $R0 "NT $R0" 6
Goto lbl_done
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
lbl_winnt_2000:
Strcpy $R0 '2000'
Goto lbl_done
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
lbl_winnt_XP:
Strcpy $R0 'XP'
Goto lbl_done
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
lbl_winnt_2003:
Strcpy $R0 '2003'
Goto lbl_done
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
lbl_winnt_vista:
Strcpy $R0 'Vista'
Goto lbl_done
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
lbl_winnt_7:
Strcpy $R0 '7'
Goto lbl_done
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
lbl_winnt_8:
Strcpy $R0 '8'
Goto lbl_done
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
lbl_error:
Strcpy $R0 ''
lbl_done:
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
Pop $R1
Exch $R0
2009-04-24 23:34:47 +00:00
FunctionEnd
2013-03-17 23:31:02 +00:00
!macro GetWindowsVersion OUTPUT_VALUE
Call GetWindowsVersion
Pop `${OUTPUT_VALUE}`
!macroend
!define GetWindowsVersion '!insertmacro "GetWindowsVersion"'
2009-04-24 23:34:47 +00:00
Function LaunchNpp
2015-02-01 16:41:08 +00:00
Exec '"$INSTDIR\notepad++.exe" "$INSTDIR\change.log" '
2009-04-24 23:34:47 +00:00
FunctionEnd
; Modern interface settings
!define MUI_ICON ".\images\npp_inst.ico"
!define MUI_WELCOMEFINISHPAGE_BITMAP ".\images\wizard.bmp"
!define MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH
!define MUI_HEADERIMAGE
;!define MUI_HEADERIMAGE_RIGHT
;!define MUI_HEADERIMAGE_BITMAP ".\images\headerRight.bmp" ; optional
!define MUI_HEADERIMAGE_BITMAP ".\images\headerLeft.bmp" ; optional
!define MUI_ABORTWARNING
!insertmacro MUI_PAGE_WELCOME
2015-05-08 17:39:51 +00:00
!insertmacro MUI_PAGE_LICENSE "..\..\LICENSE"
2009-04-24 23:34:47 +00:00
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_COMPONENTS
2011-05-31 00:04:49 +00:00
page Custom ExtraOptions
2009-04-24 23:34:47 +00:00
!insertmacro MUI_PAGE_INSTFILES
2010-11-23 01:01:06 +00:00
2009-04-24 23:34:47 +00:00
!define MUI_FINISHPAGE_RUN
;!define MUI_FINISHPAGE_RUN_TEXT "Run Npp"
!define MUI_FINISHPAGE_RUN_FUNCTION "LaunchNpp"
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
2014-12-14 22:12:18 +00:00
; TODO for optional arg
;!insertmacro GetParameters
2009-04-24 23:34:47 +00:00
; Set languages (first is default language)
;!insertmacro MUI_LANGUAGE "English"
2011-06-05 13:53:36 +00:00
!define MUI_LANGDLL_ALLLANGUAGES
2009-04-24 23:34:47 +00:00
;Languages
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "French"
!insertmacro MUI_LANGUAGE "TradChinese"
!insertmacro MUI_LANGUAGE "Spanish"
!insertmacro MUI_LANGUAGE "Hungarian"
!insertmacro MUI_LANGUAGE "Russian"
!insertmacro MUI_LANGUAGE "German"
!insertmacro MUI_LANGUAGE "Dutch"
!insertmacro MUI_LANGUAGE "SimpChinese"
!insertmacro MUI_LANGUAGE "Italian"
!insertmacro MUI_LANGUAGE "Danish"
!insertmacro MUI_LANGUAGE "Polish"
!insertmacro MUI_LANGUAGE "Czech"
!insertmacro MUI_LANGUAGE "Slovenian"
!insertmacro MUI_LANGUAGE "Slovak"
!insertmacro MUI_LANGUAGE "Swedish"
!insertmacro MUI_LANGUAGE "Norwegian"
!insertmacro MUI_LANGUAGE "PortugueseBR"
!insertmacro MUI_LANGUAGE "Ukrainian"
!insertmacro MUI_LANGUAGE "Turkish"
!insertmacro MUI_LANGUAGE "Catalan"
!insertmacro MUI_LANGUAGE "Arabic"
!insertmacro MUI_LANGUAGE "Lithuanian"
2010-11-14 18:10:10 +00:00
!insertmacro MUI_LANGUAGE "Finnish"
!insertmacro MUI_LANGUAGE "Greek"
!insertmacro MUI_LANGUAGE "Romanian"
!insertmacro MUI_LANGUAGE "Korean"
!insertmacro MUI_LANGUAGE "Hebrew"
!insertmacro MUI_LANGUAGE "Portuguese"
2009-04-24 23:34:47 +00:00
!insertmacro MUI_LANGUAGE "Farsi"
!insertmacro MUI_LANGUAGE "Bulgarian"
2009-12-05 01:46:08 +00:00
!insertmacro MUI_LANGUAGE "Indonesian"
2009-04-24 23:34:47 +00:00
!insertmacro MUI_LANGUAGE "Japanese"
!insertmacro MUI_LANGUAGE "Croatian"
!insertmacro MUI_LANGUAGE "Serbian"
!insertmacro MUI_LANGUAGE "Thai"
!insertmacro MUI_LANGUAGE "NorwegianNynorsk"
!insertmacro MUI_LANGUAGE "Belarusian"
!insertmacro MUI_LANGUAGE "Albanian"
!insertmacro MUI_LANGUAGE "Malay"
!insertmacro MUI_LANGUAGE "Galician"
!insertmacro MUI_LANGUAGE "Basque"
!insertmacro MUI_LANGUAGE "Luxembourgish"
2009-08-21 01:21:26 +00:00
!insertmacro MUI_LANGUAGE "Afrikaans"
2009-08-23 02:24:48 +00:00
!insertmacro MUI_LANGUAGE "Uzbek"
2009-12-05 01:46:08 +00:00
!insertmacro MUI_LANGUAGE "Macedonian"
2010-07-04 07:12:02 +00:00
!insertmacro MUI_LANGUAGE "Latvian"
2010-11-23 01:01:06 +00:00
!insertmacro MUI_LANGUAGE "Bosnian"
2015-02-12 00:46:14 +00:00
!insertmacro MUI_LANGUAGE "Mongolian"
2015-03-10 20:53:52 +00:00
!insertmacro MUI_LANGUAGE "Estonian"
2009-04-24 23:34:47 +00:00
;!insertmacro MUI_LANGUAGE "Breton"
;!insertmacro MUI_LANGUAGE "Icelandic"
;!insertmacro MUI_LANGUAGE "Kurdish"
;!insertmacro MUI_LANGUAGE "Irish"
!insertmacro MUI_RESERVEFILE_LANGDLL
;Installer Functions
2011-05-31 00:04:49 +00:00
Var Dialog
Var NoUserDataCheckboxHandle
Var OldIconCheckboxHandle
Var ShortcutCheckboxHandle
2012-01-01 22:51:32 +00:00
Var PluginLoadFromUserDataCheckboxHandle
2013-03-17 23:31:02 +00:00
Var WinVer
2011-05-31 00:04:49 +00:00
Function ExtraOptions
nsDialogs::Create 1018
Pop $Dialog
${If} $Dialog == error
Abort
${EndIf}
2012-01-01 22:51:32 +00:00
${NSD_CreateCheckbox} 0 0 100% 30u "Don't use %APPDATA%$\nEnable this option to make Notepad++ load/write the configuration files from/to its install directory. Check it if you use Notepad++ in an USB device."
2011-05-31 00:04:49 +00:00
Pop $NoUserDataCheckboxHandle
${NSD_OnClick} $NoUserDataCheckboxHandle OnChange_NoUserDataCheckBox
2012-06-24 23:06:31 +00:00
${NSD_CreateCheckbox} 0 50 100% 30u "Allow plugins to be loaded from %APPDATA%\\notepad++\\plugins$\nIt could cause a security issue. Turn it on if you know what you are doing."
2012-01-01 22:51:32 +00:00
Pop $PluginLoadFromUserDataCheckboxHandle
${NSD_OnClick} $PluginLoadFromUserDataCheckboxHandle OnChange_PluginLoadFromUserDataCheckBox
${NSD_CreateCheckbox} 0 110 100% 30u "Create Shortcut on Desktop"
2011-05-31 00:04:49 +00:00
Pop $ShortcutCheckboxHandle
2013-03-17 23:31:02 +00:00
StrCmp $WinVer "8" 0 +2
${NSD_Check} $ShortcutCheckboxHandle
2011-05-31 00:04:49 +00:00
${NSD_OnClick} $ShortcutCheckboxHandle ShortcutOnChange_OldIconCheckBox
2012-01-01 22:51:32 +00:00
${NSD_CreateCheckbox} 0 170 100% 30u "Use the old, obsolete and monstrous icon$\nI won't blame you if you want to get the old icon back :)"
2011-05-31 00:04:49 +00:00
Pop $OldIconCheckboxHandle
${NSD_OnClick} $OldIconCheckboxHandle OnChange_OldIconCheckBox
nsDialogs::Show
FunctionEnd
Var noUserDataChecked
2012-01-01 22:51:32 +00:00
Var allowPluginLoadFromUserDataChecked
2011-05-31 00:04:49 +00:00
Var isOldIconChecked
Var createShortcutChecked
2014-12-14 22:12:18 +00:00
; TODO for optional arg
;Var params
2011-05-31 00:04:49 +00:00
; The definition of "OnChange" event for checkbox
Function OnChange_NoUserDataCheckBox
${NSD_GetState} $NoUserDataCheckboxHandle $noUserDataChecked
FunctionEnd
2012-01-01 22:51:32 +00:00
Function OnChange_PluginLoadFromUserDataCheckBox
${NSD_GetState} $PluginLoadFromUserDataCheckboxHandle $allowPluginLoadFromUserDataChecked
FunctionEnd
2011-05-31 00:04:49 +00:00
Function OnChange_OldIconCheckBox
${NSD_GetState} $OldIconCheckboxHandle $isOldIconChecked
FunctionEnd
Function ShortcutOnChange_OldIconCheckBox
${NSD_GetState} $ShortcutCheckboxHandle $createShortcutChecked
FunctionEnd
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
2009-04-24 23:34:47 +00:00
Function .onInit
;Test if window9x
2013-03-17 23:31:02 +00:00
${GetWindowsVersion} $WinVer
2009-04-24 23:34:47 +00:00
2013-03-17 23:31:02 +00:00
StrCmp $WinVer "95" 0 +3
2011-05-29 09:00:16 +00:00
MessageBox MB_OK "This version of Notepad++ does not support your OS.$\nPlease download zipped package of version 5.9 and use ANSI version. You can find v5.9 here:$\nhttp://notepad-plus-plus.org/release/5.9"
2009-04-24 23:34:47 +00:00
Abort
2013-03-17 23:31:02 +00:00
StrCmp $WinVer "98" 0 +3
2011-05-29 09:00:16 +00:00
MessageBox MB_OK "This version of Notepad++ does not support your OS.$\nPlease download zipped package of version 5.9 and use ANSI version. You can find v5.9 here:$\nhttp://notepad-plus-plus.org/release/5.9"
2009-04-24 23:34:47 +00:00
Abort
2013-03-17 23:31:02 +00:00
StrCmp $WinVer "ME" 0 +3
2011-05-29 09:00:16 +00:00
MessageBox MB_OK "This version of Notepad++ does not support your OS.$\nPlease download zipped package of version 5.9 and use ANSI version. You can find v5.9 here:$\nhttp://notepad-plus-plus.org/release/5.9"
2009-04-24 23:34:47 +00:00
Abort
2011-06-05 13:53:36 +00:00
2009-04-24 23:34:47 +00:00
!insertmacro MUI_LANGDLL_DISPLAY
# the plugins dir is automatically deleted when the installer exits
;InitPluginsDir
;File /oname=$PLUGINSDIR\splash.bmp ".\images\splash.bmp"
#optional
#File /oname=$PLUGINSDIR\splash.wav "C:\myprog\sound.wav"
;splash::show 1000 $PLUGINSDIR\splash
;Pop $0 ; $0 has '1' if the user closed the splash screen early,
; '0' if everything closed normally, and '-1' if some error occurred.
2015-02-12 00:46:14 +00:00
${MementoSectionRestore}
FunctionEnd
Function .onInstSuccess
${MementoSectionSave}
2009-04-24 23:34:47 +00:00
FunctionEnd
2011-05-29 09:00:16 +00:00
2009-04-24 23:34:47 +00:00
LangString langFileName ${LANG_ENGLISH} "english.xml"
LangString langFileName ${LANG_FRENCH} "french.xml"
LangString langFileName ${LANG_TRADCHINESE} "chinese.xml"
2009-12-05 01:46:08 +00:00
LangString langFileName ${LANG_SIMPCHINESE} "chineseSimplified.xml"
LangString langFileName ${LANG_KOREAN} "korean.xml"
LangString langFileName ${LANG_JAPANESE} "japanese.xml"
2009-04-24 23:34:47 +00:00
LangString langFileName ${LANG_GERMAN} "german.xml"
LangString langFileName ${LANG_SPANISH} "spanish.xml"
LangString langFileName ${LANG_ITALIAN} "italian.xml"
2009-12-05 01:46:08 +00:00
LangString langFileName ${LANG_PORTUGUESE} "portuguese.xml"
LangString langFileName ${LANG_PORTUGUESEBR} "brazilian_portuguese.xml"
LangString langFileName ${LANG_DUTCH} "dutch.xml"
LangString langFileName ${LANG_RUSSIAN} "russian.xml"
2009-04-24 23:34:47 +00:00
LangString langFileName ${LANG_POLISH} "polish.xml"
2009-12-05 01:46:08 +00:00
LangString langFileName ${LANG_CATALAN} "catalan.xml"
2009-04-24 23:34:47 +00:00
LangString langFileName ${LANG_CZECH} "czech.xml"
2009-12-05 01:46:08 +00:00
LangString langFileName ${LANG_HUNGARIAN} "hungarian.xml"
LangString langFileName ${LANG_ROMANIAN} "romanian.xml"
2009-04-24 23:34:47 +00:00
LangString langFileName ${LANG_TURKISH} "turkish.xml"
2009-12-05 01:46:08 +00:00
LangString langFileName ${LANG_FARSI} "farsi.xml"
LangString langFileName ${LANG_UKRAINIAN} "ukrainian.xml"
LangString langFileName ${LANG_HEBREW} "hebrew.xml"
LangString langFileName ${LANG_NORWEGIANNYNORSK} "nynorsk.xml"
LangString langFileName ${LANG_NORWEGIAN} "norwegian.xml"
LangString langFileName ${LANG_THAI} "thai.xml"
2009-04-24 23:34:47 +00:00
LangString langFileName ${LANG_ARABIC} "arabic.xml"
LangString langFileName ${LANG_FINNISH} "finnish.xml"
2009-12-05 01:46:08 +00:00
LangString langFileName ${LANG_LITHUANIAN} "lithuanian.xml"
2009-04-24 23:34:47 +00:00
LangString langFileName ${LANG_GREEK} "greek.xml"
2009-12-05 01:46:08 +00:00
LangString langFileName ${LANG_SWEDISH} "swedish.xml"
LangString langFileName ${LANG_GALICIAN} "galician.xml"
LangString langFileName ${LANG_SLOVENIAN} "slovenian.xml"
LangString langFileName ${LANG_SLOVAK} "slovak.xml"
LangString langFileName ${LANG_DANISH} "danish.xml"
2009-04-24 23:34:47 +00:00
LangString langFileName ${LANG_BULGARIAN} "bulgarian.xml"
LangString langFileName ${LANG_INDONESIAN} "indonesian.xml"
2009-12-05 01:46:08 +00:00
LangString langFileName ${LANG_ALBANIAN} "albanian.xml"
2009-04-24 23:34:47 +00:00
LangString langFileName ${LANG_CROATIAN} "croatian.xml"
2009-12-05 01:46:08 +00:00
LangString langFileName ${LANG_BASQUE} "basque.xml"
2009-04-24 23:34:47 +00:00
LangString langFileName ${LANG_BELARUSIAN} "belarusian.xml"
2009-12-05 01:46:08 +00:00
LangString langFileName ${LANG_SERBIAN} "serbian.xml"
2009-04-24 23:34:47 +00:00
LangString langFileName ${LANG_MALAY} "malay.xml"
LangString langFileName ${LANG_LUXEMBOURGISH} "luxembourgish.xml"
2009-08-21 01:21:26 +00:00
LangString langFileName ${LANG_AFRIKAANS} "afrikaans.xml"
2009-08-23 02:24:48 +00:00
LangString langFileName ${LANG_UZBEK} "uzbek.xml"
2009-12-05 01:46:08 +00:00
LangString langFileName ${LANG_MACEDONIAN} "macedonian.xml"
2010-07-04 07:12:02 +00:00
LangString langFileName ${LANG_LATVIAN} "Latvian.xml"
2010-11-23 01:01:06 +00:00
LangString langFileName ${LANG_BOSNIAN} "bosnian.xml"
2015-02-12 00:46:14 +00:00
LangString langFileName ${LANG_MONGOLIAN} "mongolian.xml"
2015-03-10 20:53:52 +00:00
LangString langFileName ${LANG_ESTONIAN} "estonian.xml"
2009-12-05 01:46:08 +00:00
2010-10-10 21:36:09 +00:00
2009-04-24 23:34:47 +00:00
Var UPDATE_PATH
Section -"Notepad++" mainSection
; Set Section properties
SetOverwrite on
StrCpy $UPDATE_PATH $INSTDIR
File /oname=$TEMP\xmlUpdater.exe ".\bin\xmlUpdater.exe"
SetOutPath "$INSTDIR\"
2011-06-05 13:53:36 +00:00
2011-05-31 00:04:49 +00:00
${If} $noUserDataChecked == ${BST_CHECKED}
2011-06-05 13:53:36 +00:00
File "..\bin\doLocalConf.xml"
2011-05-31 00:04:49 +00:00
${ELSE}
2011-06-05 13:53:36 +00:00
IfFileExists $INSTDIR\doLocalConf.xml 0 +2
2009-04-24 23:34:47 +00:00
Delete $INSTDIR\doLocalConf.xml
2011-06-05 13:53:36 +00:00
StrCpy $UPDATE_PATH "$APPDATA\Notepad++"
CreateDirectory $UPDATE_PATH\plugins\config
${EndIf}
2012-01-01 22:51:32 +00:00
${If} $allowPluginLoadFromUserDataChecked == ${BST_CHECKED}
File "..\bin\allowAppDataPlugins.xml"
${ELSE}
IfFileExists $INSTDIR\allowAppDataPlugins.xml 0 +2
Delete $INSTDIR\allowAppDataPlugins.xml
${EndIf}
2014-12-14 22:12:18 +00:00
; TODO for optional arg
;${GetParameters} $params
;${GetOptions} $params "/noEasterEggs" $R0
;IfErrors 0 +2
;MessageBox MB_OK "Not found /noEasterEggs" IDOK +2
;MessageBox MB_OK "Found /noEasterEggs"
2009-04-24 23:34:47 +00:00
SetOutPath "$TEMP\"
File "langsModel.xml"
File "configModel.xml"
2009-05-25 19:46:29 +00:00
File "stylesGlobalModel.xml"
File "stylesLexerModel.xml"
2009-05-26 23:34:45 +00:00
File "stylers_remove.xml"
2009-04-24 23:34:47 +00:00
File "..\bin\langs.model.xml"
File "..\bin\config.model.xml"
File "..\bin\stylers.model.xml"
2010-11-21 14:04:36 +00:00
nsExec::ExecToStack '"$TEMP\xmlUpdater.exe" "$TEMP\langsModel.xml" "$TEMP\langs.model.xml" "$UPDATE_PATH\langs.xml"'
2009-04-24 23:34:47 +00:00
nsExec::ExecToStack '"$TEMP\xmlUpdater.exe" "$TEMP\configModel.xml" "$TEMP\config.model.xml" "$UPDATE_PATH\config.xml"'
2009-05-25 19:46:29 +00:00
nsExec::ExecToStack '"$TEMP\xmlUpdater.exe" "$TEMP\stylesGlobalModel.xml" "$TEMP\stylers.model.xml" "$UPDATE_PATH\stylers.xml"'
nsExec::ExecToStack '"$TEMP\xmlUpdater.exe" "$TEMP\stylesLexerModel.xml" "$TEMP\stylers_remove.xml" "$UPDATE_PATH\stylers.xml"'
nsExec::ExecToStack '"$TEMP\xmlUpdater.exe" "$TEMP\stylesLexerModel.xml" "$TEMP\stylers.model.xml" "$UPDATE_PATH\stylers.xml"'
2010-11-21 14:04:36 +00:00
; This line is added due to the bug of xmlUpdater, to be removed in the future
2009-05-25 19:46:29 +00:00
nsExec::ExecToStack '"$TEMP\xmlUpdater.exe" "$TEMP\stylesLexerModel.xml" "$TEMP\stylers.model.xml" "$UPDATE_PATH\stylers.xml"'
2009-05-27 23:37:29 +00:00
2012-02-25 00:41:10 +00:00
SetOverwrite off
2009-05-27 23:37:29 +00:00
SetOutPath "$UPDATE_PATH\"
File "..\bin\contextMenu.xml"
2013-06-29 21:18:45 +00:00
File "..\bin\functionList.xml"
2009-05-27 23:37:29 +00:00
2012-02-25 00:41:10 +00:00
SetOverwrite on
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\"
File "..\bin\langs.model.xml"
File "..\bin\config.model.xml"
File "..\bin\stylers.model.xml"
2013-12-23 11:44:14 +00:00
File "..\bin\contextMenu.xml"
2013-06-29 21:18:45 +00:00
File "..\bin\functionList.xml"
2009-04-24 23:34:47 +00:00
SetOverwrite off
File "..\bin\shortcuts.xml"
; Set Section Files and Shortcuts
SetOverwrite on
2015-05-08 17:39:51 +00:00
File "..\..\LICENSE"
2009-04-24 23:34:47 +00:00
File "..\bin\SciLexer.dll"
File "..\bin\change.log"
File "..\bin\notepad++.exe"
File "..\bin\readme.txt"
2011-01-31 01:46:36 +00:00
; Localization
; Default language English
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\localization\"
2011-01-31 01:46:36 +00:00
File ".\nativeLang\english.xml"
; Copy all the language files to the temp directory
; than make them installed via option
SetOutPath "$TEMP\nppLocalization\"
2009-04-24 23:34:47 +00:00
File ".\nativeLang\"
IfFileExists "$UPDATE_PATH\nativeLang.xml" 0 +2
Delete "$UPDATE_PATH\nativeLang.xml"
IfFileExists "$INSTDIR\nativeLang.xml" 0 +2
Delete "$INSTDIR\nativeLang.xml"
2011-01-31 01:46:36 +00:00
StrCmp $LANGUAGE ${LANG_ENGLISH} +3 0
CopyFiles "$TEMP\nppLocalization\$(langFileName)" "$UPDATE_PATH\nativeLang.xml"
CopyFiles "$TEMP\nppLocalization\$(langFileName)" "$INSTDIR\localization\$(langFileName)"
2009-04-24 23:34:47 +00:00
; remove all the npp shortcuts from current user
Delete "$DESKTOP\Notepad++.lnk"
Delete "$SMPROGRAMS\Notepad++\Notepad++.lnk"
Delete "$SMPROGRAMS\Notepad++\readme.lnk"
Delete "$SMPROGRAMS\Notepad++\Uninstall.lnk"
CreateDirectory "$SMPROGRAMS\Notepad++"
2011-01-31 01:46:36 +00:00
2009-04-24 23:34:47 +00:00
; remove unstable plugins
2009-09-11 21:48:38 +00:00
CreateDirectory "$INSTDIR\plugins\disabled"
2009-09-21 00:30:52 +00:00
IfFileExists "$INSTDIR\plugins\HexEditorPlugin.dll" 0 +4
2009-10-09 00:42:10 +00:00
MessageBox MB_OK "Due to the stability issue,$\nHexEditorPlugin.dll is about to be deleted." /SD IDOK
2009-09-11 21:48:38 +00:00
Rename "$INSTDIR\plugins\HexEditorPlugin.dll" "$INSTDIR\plugins\disabled\HexEditorPlugin.dll"
2009-09-21 00:30:52 +00:00
Delete "$INSTDIR\plugins\HexEditorPlugin.dll"
2009-04-24 23:34:47 +00:00
2009-09-21 00:30:52 +00:00
IfFileExists "$INSTDIR\plugins\HexEditor.dll" 0 +4
2009-10-09 00:42:10 +00:00
MessageBox MB_OK "Due to the stability issue,$\nHexEditor.dll will be moved to the directory $\"disabled$\"" /SD IDOK
2009-09-11 21:48:38 +00:00
Rename "$INSTDIR\plugins\HexEditor.dll" "$INSTDIR\plugins\disabled\HexEditor.dll"
2009-09-21 00:30:52 +00:00
Delete "$INSTDIR\plugins\HexEditor.dll"
2009-04-24 23:34:47 +00:00
2009-09-21 00:30:52 +00:00
IfFileExists "$INSTDIR\plugins\MultiClipboard.dll" 0 +4
2009-10-09 00:42:10 +00:00
MessageBox MB_OK "Due to the stability issue,$\nMultiClipboard.dll will be moved to the directory $\"disabled$\"" /SD IDOK
2009-09-11 21:48:38 +00:00
Rename "$INSTDIR\plugins\MultiClipboard.dll" "$INSTDIR\plugins\disabled\MultiClipboard.dll"
2009-09-21 00:30:52 +00:00
Delete "$INSTDIR\plugins\MultiClipboard.dll"
2009-04-24 23:34:47 +00:00
2009-09-21 00:30:52 +00:00
Delete "$INSTDIR\plugins\NppDocShare.dll"
2009-04-24 23:34:47 +00:00
2009-09-21 00:30:52 +00:00
IfFileExists "$INSTDIR\plugins\FunctionList.dll" 0 +4
2009-10-09 00:42:10 +00:00
MessageBox MB_OK "Due to the stability issue,$\nFunctionList.dll will be moved to the directory $\"disabled$\"" /SD IDOK
2009-09-11 21:48:38 +00:00
Rename "$INSTDIR\plugins\FunctionList.dll" "$INSTDIR\plugins\disabled\FunctionList.dll"
2009-09-21 00:30:52 +00:00
Delete "$INSTDIR\plugins\FunctionList.dll"
2009-04-24 23:34:47 +00:00
2011-02-18 23:14:58 +00:00
IfFileExists "$INSTDIR\plugins\docMonitor.unicode.dll" 0 +4
MessageBox MB_OK "Due to the stability issue,$\ndocMonitor.unicode.dll will be moved to the directory $\"disabled$\"" /SD IDOK
Rename "$INSTDIR\plugins\docMonitor.unicode.dll" "$INSTDIR\plugins\disabled\docMonitor.unicode.dll"
Delete "$INSTDIR\plugins\docMonitor.unicode.dll"
2009-09-21 00:30:52 +00:00
IfFileExists "$INSTDIR\plugins\NPPTextFX.ini" 0 +1
Delete "$INSTDIR\plugins\NPPTextFX.ini"
2009-04-24 23:34:47 +00:00
2009-09-21 00:30:52 +00:00
IfFileExists "$INSTDIR\plugins\NppAutoIndent.dll" 0 +4
2011-05-29 09:00:16 +00:00
MessageBox MB_OK "Due to the stability issue,$\nNppAutoIndent.dll will be moved to the directory $\"disabled$\"" /SD IDOK
2009-09-11 21:48:38 +00:00
Rename "$INSTDIR\plugins\NppAutoIndent.dll" "$INSTDIR\plugins\disabled\NppAutoIndent.dll"
2009-09-21 00:30:52 +00:00
Delete "$INSTDIR\plugins\NppAutoIndent.dll"
2009-09-11 21:48:38 +00:00
2009-09-21 00:30:52 +00:00
IfFileExists "$INSTDIR\plugins\FTP_synchronize.dll" 0 +4
2011-05-29 09:00:16 +00:00
MessageBox MB_OK "Due to the stability issue,$\nFTP_synchronize.dll will be moved to the directory $\"disabled$\"" /SD IDOK
2009-09-21 00:30:52 +00:00
Rename "$INSTDIR\plugins\FTP_synchronize.dll" "$INSTDIR\plugins\disabled\FTP_synchronize.dll"
Delete "$INSTDIR\plugins\FTP_synchronize.dll"
2009-09-11 21:48:38 +00:00
2009-09-21 00:30:52 +00:00
IfFileExists "$INSTDIR\plugins\NppPlugin_ChangeMarker.dll" 0 +4
2011-05-29 09:00:16 +00:00
MessageBox MB_OK "Due to the stability issue,$\nNppPlugin_ChangeMarker.dll will be moved to the directory $\"disabled$\"" /SD IDOK
2009-09-11 21:48:38 +00:00
Rename "$INSTDIR\plugins\NppPlugin_ChangeMarker.dll" "$INSTDIR\plugins\disabled\NppPlugin_ChangeMarker.dll"
2009-09-21 00:30:52 +00:00
Delete "$INSTDIR\plugins\NppPlugin_ChangeMarker.dll"
2009-12-17 23:33:39 +00:00
IfFileExists "$INSTDIR\plugins\QuickText.UNI.dll" 0 +4
2014-06-04 21:48:45 +00:00
MessageBox MB_OK "Due to the stability issue,$\nQuickText.UNI.dll will be moved to the directory $\"disabled$\"" /SD IDOK
2009-12-17 23:33:39 +00:00
Rename "$INSTDIR\plugins\QuickText.UNI.dll" "$INSTDIR\plugins\disabled\QuickText.UNI.dll"
Delete "$INSTDIR\plugins\QuickText.UNI.dll"
2009-11-30 01:31:55 +00:00
2011-05-29 09:00:16 +00:00
IfFileExists "$INSTDIR\plugins\AHKExternalLexer.dll" 0 +4
2014-06-04 21:48:45 +00:00
MessageBox MB_OK "Due to the compability issue,$\nAHKExternalLexer.dll will be moved to the directory $\"disabled$\"" /SD IDOK
2011-05-29 09:00:16 +00:00
Rename "$INSTDIR\plugins\AHKExternalLexer.dll" "$INSTDIR\plugins\disabled\AHKExternalLexer.dll"
Delete "$INSTDIR\plugins\AHKExternalLexer.dll"
IfFileExists "$INSTDIR\plugins\NppExternalLexers.dll" 0 +4
MessageBox MB_OK "Due to the compability issue,$\n\NppExternalLexers.dll will be moved to the directory $\"disabled$\"" /SD IDOK
Rename "$INSTDIR\plugins\NppExternalLexers.dll" "$INSTDIR\plugins\disabled\NppExternalLexers.dll"
Delete "$INSTDIR\plugins\NppExternalLexers.dll"
IfFileExists "$INSTDIR\plugins\ExternalLexerKVS.dll" 0 +4
MessageBox MB_OK "Due to the compability issue,$\n\ExternalLexerKVS.dll will be moved to the directory $\"disabled$\"" /SD IDOK
Rename "$INSTDIR\plugins\ExternalLexerKVS.dll" "$INSTDIR\plugins\disabled\ExternalLexerKVS.dll"
Delete "$INSTDIR\plugins\ExternalLexerKVS.dll"
IfFileExists "$INSTDIR\plugins\Oberon2LexerU.dll" 0 +4
MessageBox MB_OK "Due to the compability issue,$\n\Oberon2LexerU.dll will be moved to the directory $\"disabled$\"" /SD IDOK
Rename "$INSTDIR\plugins\Oberon2LexerU.dll" "$INSTDIR\plugins\disabled\Oberon2LexerU.dll"
Delete "$INSTDIR\plugins\Oberon2LexerU.dll"
2009-11-30 01:31:55 +00:00
2013-01-06 22:06:01 +00:00
IfFileExists "$INSTDIR\plugins\NotepadSharp.dll" 0 +4
MessageBox MB_OK "Due to the stability issue,$\n\NotepadSharp.dll will be moved to the directory $\"disabled$\"" /SD IDOK
Rename "$INSTDIR\plugins\NotepadSharp.dll" "$INSTDIR\plugins\disabled\NotepadSharp.dll"
Delete "$INSTDIR\plugins\NotepadSharp.dll"
2013-02-24 11:29:05 +00:00
IfFileExists "$INSTDIR\plugins\PreviewHTML.dll" 0 +4
MessageBox MB_OK "Due to the stability issue,$\nPreviewHTML.dll will be moved to the directory $\"disabled$\"" /SD IDOK
Rename "$INSTDIR\plugins\PreviewHTML.dll" "$INSTDIR\plugins\disabled\PreviewHTML.dll"
Delete "$INSTDIR\plugins\PreviewHTML.dll"
2013-06-29 21:18:45 +00:00
IfFileExists "$INSTDIR\plugins\nppRegEx.dll" 0 +4
2014-06-04 21:48:45 +00:00
MessageBox MB_OK "Due to the stability issue,$\nnppRegEx.dll will be moved to the directory $\"disabled$\"" /SD IDOK
2013-06-29 21:18:45 +00:00
Rename "$INSTDIR\plugins\nppRegEx.dll" "$INSTDIR\plugins\disabled\nppRegEx.dll"
Delete "$INSTDIR\plugins\nppRegEx.dll"
2014-06-04 21:48:45 +00:00
IfFileExists "$INSTDIR\plugins\AutoSaveU.dll" 0 +4
MessageBox MB_OK "Due to the stability issue,$\nAutoSaveU.dll will be moved to the directory $\"disabled$\"" /SD IDOK
Rename "$INSTDIR\plugins\AutoSaveU.dll" "$INSTDIR\plugins\disabled\AutoSaveU.dll"
Delete "$INSTDIR\plugins\AutoSaveU.dll"
2009-11-30 01:31:55 +00:00
; Context Menu Management : removing old version of Context Menu module
2009-10-09 00:42:10 +00:00
IfFileExists "$INSTDIR\nppcm.dll" 0 +3
Exec 'regsvr32 /u /s "$INSTDIR\nppcm.dll"'
Delete "$INSTDIR\nppcm.dll"
2009-11-30 01:31:55 +00:00
IfFileExists "$INSTDIR\NppShell.dll" 0 +3
Exec 'regsvr32 /u /s "$INSTDIR\NppShell.dll"'
Delete "$INSTDIR\NppShell.dll"
2010-11-02 00:58:06 +00:00
IfFileExists "$INSTDIR\NppShell_01.dll" 0 +3
Exec 'regsvr32 /u /s "$INSTDIR\NppShell_01.dll"'
Delete "$INSTDIR\NppShell_01.dll"
2009-11-30 01:31:55 +00:00
2010-11-14 18:10:10 +00:00
IfFileExists "$INSTDIR\NppShell_02.dll" 0 +3
Exec 'regsvr32 /u /s "$INSTDIR\NppShell_02.dll"'
Delete "$INSTDIR\NppShell_02.dll"
2009-10-09 00:42:10 +00:00
2010-11-21 14:04:36 +00:00
IfFileExists "$INSTDIR\NppShell_03.dll" 0 +3
Exec 'regsvr32 /u /s "$INSTDIR\NppShell_03.dll"'
Delete "$INSTDIR\NppShell_03.dll"
2012-06-24 23:06:31 +00:00
IfFileExists "$INSTDIR\NppShell_04.dll" 0 +3
Exec 'regsvr32 /u /s "$INSTDIR\NppShell_04.dll"'
Delete "$INSTDIR\NppShell_04.dll"
2014-05-17 14:22:31 +00:00
IfFileExists "$INSTDIR\NppShell_05.dll" 0 +3
Exec 'regsvr32 /u /s "$INSTDIR\NppShell_05.dll"'
Delete "$INSTDIR\NppShell_05.dll"
2009-04-24 23:34:47 +00:00
; detect the right of
UserInfo::GetAccountType
Pop $1
StrCmp $1 "Admin" 0 +2
SetShellVarContext all
; add all the npp shortcuts for all user or current user
CreateDirectory "$SMPROGRAMS\Notepad++"
CreateShortCut "$SMPROGRAMS\Notepad++\Notepad++.lnk" "$INSTDIR\notepad++.exe"
SetShellVarContext current
2010-11-14 18:10:10 +00:00
2011-05-31 00:04:49 +00:00
${If} $createShortcutChecked == ${BST_CHECKED}
CreateShortCut "$DESKTOP\Notepad++.lnk" "$INSTDIR\notepad++.exe"
${EndIf}
${If} $isOldIconChecked == ${BST_CHECKED}
SetOutPath "$TEMP\"
File "..\misc\vistaIconTool\changeIcon.exe"
File "..\src\icons\npp.ico"
nsExec::ExecToStack '"$TEMP\changeIcon.exe" "$TEMP\npp.ico" "$INSTDIR\notepad++.exe" 100 1033'
${EndIf}
2009-04-24 23:34:47 +00:00
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\notepad++.exe" "" "$INSTDIR\notepad++.exe"
SectionEnd
2015-02-12 00:46:14 +00:00
${MementoSection} "Context Menu Entry" explorerContextMenu
2009-04-24 23:34:47 +00:00
SetOverwrite try
SetOutPath "$INSTDIR\"
${If} ${RunningX64}
2014-05-17 14:22:31 +00:00
File /oname=$INSTDIR\NppShell_06.dll "..\bin\NppShell64_06.dll"
2009-04-24 23:34:47 +00:00
${Else}
2014-05-17 14:22:31 +00:00
File "..\bin\NppShell_06.dll"
2009-04-24 23:34:47 +00:00
${EndIf}
2014-05-17 14:22:31 +00:00
Exec 'regsvr32 /s "$INSTDIR\NppShell_06.dll"'
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2011-01-31 01:46:36 +00:00
SectionGroup "Auto-completion Files" autoCompletionComponent
2009-04-24 23:34:47 +00:00
SetOverwrite off
2015-02-12 00:46:14 +00:00
${MementoSection} "C" C
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\c.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "C++" C++
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\cpp.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Java" Java
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\java.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "C#" C#
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\cs.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "HTML" HTML
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\html.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "RC" RC
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\rc.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "SQL" SQL
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\sql.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "PHP" PHP
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\php.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "CSS" CSS
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\css.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "VB" VB
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\vb.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Perl" Perl
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\perl.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "JavaScript" JavaScript
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\javascript.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Python" Python
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\python.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "ActionScript" ActionScript
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\actionscript.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "LISP" LISP
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\lisp.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "VHDL" VHDL
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\vhdl.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "TeX" TeX
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\tex.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "DocBook" DocBook
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\xml.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "NSIS" NSIS
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\nsis.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-10-09 00:42:10 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "CMAKE" CMAKE
2009-10-09 00:42:10 +00:00
SetOutPath "$INSTDIR\plugins\APIs"
2009-12-17 23:33:39 +00:00
File ".\APIs\cmake.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2011-01-31 01:46:36 +00:00
SectionGroupEnd
2009-04-24 23:34:47 +00:00
2011-01-31 01:46:36 +00:00
SectionGroup "Plugins" Plugins
2009-04-24 23:34:47 +00:00
SetOverwrite on
2013-05-05 18:12:01 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Spell-Checker" DSpellCheck
2013-05-05 18:12:01 +00:00
Delete "$INSTDIR\plugins\DSpellCheck.dll"
SetOutPath "$INSTDIR\plugins"
File "..\bin\plugins\DSpellCheck.dll"
SetOutPath "$UPDATE_PATH\plugins\Config"
SetOutPath "$INSTDIR\plugins\Config\Hunspell"
2013-06-29 21:18:45 +00:00
File "..\bin\plugins\Config\Hunspell\dictionary.lst"
2013-05-05 18:12:01 +00:00
File "..\bin\plugins\Config\Hunspell\en_GB.aff"
File "..\bin\plugins\Config\Hunspell\en_GB.dic"
File "..\bin\plugins\Config\Hunspell\README_en_GB.txt"
2013-06-29 21:18:45 +00:00
File "..\bin\plugins\Config\Hunspell\en_US.aff"
File "..\bin\plugins\Config\Hunspell\en_US.dic"
File "..\bin\plugins\Config\Hunspell\README_en_US.txt"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2011-01-31 01:46:36 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Npp FTP" NppFTP
2010-07-05 23:17:02 +00:00
Delete "$INSTDIR\plugins\NppFTP.dll"
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\plugins"
2010-07-05 23:17:02 +00:00
File "..\bin\plugins\NppFTP.dll"
SetOutPath "$INSTDIR\plugins\doc\NppFTP"
File "..\bin\plugins\doc\NppFTP\license_NppFTP.txt"
File "..\bin\plugins\doc\NppFTP\license_libssh.txt"
File "..\bin\plugins\doc\NppFTP\license_OpenSSL.txt"
File "..\bin\plugins\doc\NppFTP\license_TiXML.txt"
File "..\bin\plugins\doc\NppFTP\license_ZLIB.txt"
File "..\bin\plugins\doc\NppFTP\license_UTCP.htm"
File "..\bin\plugins\doc\NppFTP\Readme.txt"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2010-07-05 23:17:02 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "NppExport" NppExport
2009-04-24 23:34:47 +00:00
Delete "$INSTDIR\plugins\NppExport.dll"
SetOutPath "$INSTDIR\plugins"
File "..\bin\plugins\NppExport.dll"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2013-06-29 21:18:45 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Plugin Manager" PluginManager
2009-09-22 00:42:32 +00:00
Delete "$INSTDIR\plugins\PluginManager.dll"
SetOutPath "$INSTDIR\plugins"
File "..\bin\plugins\PluginManager.dll"
SetOutPath "$INSTDIR\updater"
File "..\bin\updater\gpup.exe"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2011-03-31 00:14:18 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Mime Tools" MimeTools
2013-12-23 11:44:14 +00:00
Delete "$INSTDIR\plugins\mimeTools.dll"
SetOutPath "$INSTDIR\plugins"
File "..\bin\plugins\mimeTools.dll"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2013-12-23 11:44:14 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Converter" Converter
2011-03-31 00:14:18 +00:00
Delete "$INSTDIR\plugins\NppConverter.dll"
SetOutPath "$INSTDIR\plugins"
File "..\bin\plugins\NppConverter.dll"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2011-01-31 01:46:36 +00:00
SectionGroupEnd
2010-01-17 23:13:06 +00:00
2011-01-31 01:46:36 +00:00
SectionGroup "Localization" localization
SetOverwrite on
2015-02-12 00:46:14 +00:00
${MementoUnselectedSection} "Afrikaans" afrikaans
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\afrikaans.xml" "$INSTDIR\localization\afrikaans.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Albanian" albanian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\albanian.xml" "$INSTDIR\localization\albanian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Arabic" arabic
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\arabic.xml" "$INSTDIR\localization\arabic.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Aragonese" aragonese
2012-11-13 00:24:40 +00:00
CopyFiles "$TEMP\nppLocalization\aragonese.xml" "$INSTDIR\localization\aragonese.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Aranese" aranese
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\aranese.xml" "$INSTDIR\localization\aranese.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Azerbaijani" azerbaijani
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\azerbaijani.xml" "$INSTDIR\localization\azerbaijani.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Basque" basque
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\basque.xml" "$INSTDIR\localization\basque.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Belarusian" belarusian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\belarusian.xml" "$INSTDIR\localization\belarusian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Bengali" bengali
2013-02-03 21:14:46 +00:00
CopyFiles "$TEMP\nppLocalization\bengali.xml" "$INSTDIR\localization\bengali.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Bosnian" bosnian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\bosnian.xml" "$INSTDIR\localization\bosnian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Brazilian Portuguese" brazilian_portuguese
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\brazilian_portuguese.xml" "$INSTDIR\localization\brazilian_portuguese.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Bulgarian" bulgarian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\bulgarian.xml" "$INSTDIR\localization\bulgarian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Catalan" catalan
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\catalan.xml" "$INSTDIR\localization\catalan.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Chinese (Traditional)" chineseTraditional
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\chinese.xml" "$INSTDIR\localization\chinese.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Chinese (Simplified)" chineseSimplified
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\chineseSimplified.xml" "$INSTDIR\localization\chineseSimplified.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Croatian" croatian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\croatian.xml" "$INSTDIR\localization\croatian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Czech" czech
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\czech.xml" "$INSTDIR\localization\czech.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Danish" danish
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\danish.xml" "$INSTDIR\localization\danish.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Dutch" dutch
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\dutch.xml" "$INSTDIR\localization\dutch.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "English (Customizable)" english_customizable
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\english_customizable.xml" "$INSTDIR\localization\english_customizable.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Esperanto" esperanto
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\esperanto.xml" "$INSTDIR\localization\esperanto.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2015-03-10 20:53:52 +00:00
${MementoUnselectedSection} "Estonian" estonian
CopyFiles "$TEMP\nppLocalization\estonian.xml" "$INSTDIR\localization\estonian.xml"
${MementoSectionEnd}
2015-02-12 00:46:14 +00:00
${MementoUnselectedSection} "Extremaduran" extremaduran
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\extremaduran.xml" "$INSTDIR\localization\extremaduran.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Farsi" farsi
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\farsi.xml" "$INSTDIR\localization\farsi.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Finnish" finnish
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\finnish.xml" "$INSTDIR\localization\finnish.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Friulian" friulian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\friulian.xml" "$INSTDIR\localization\friulian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "French" french
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\french.xml" "$INSTDIR\localization\french.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Galician" galician
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\galician.xml" "$INSTDIR\localization\galician.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Georgian" georgian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\georgian.xml" "$INSTDIR\localization\georgian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "German" german
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\german.xml" "$INSTDIR\localization\german.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Greek" greek
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\greek.xml" "$INSTDIR\localization\greek.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Gujarati" gujarati
2015-01-01 12:19:56 +00:00
CopyFiles "$TEMP\nppLocalization\gujarati.xml" "$INSTDIR\localization\gujarati.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Hebrew" hebrew
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\hebrew.xml" "$INSTDIR\localization\hebrew.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Hindi" hindi
2012-01-07 01:08:02 +00:00
CopyFiles "$TEMP\nppLocalization\hindi.xml" "$INSTDIR\localization\hindi.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Hungarian" hungarian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\hungarian.xml" "$INSTDIR\localization\hungarian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Hungarian (ANSI)" hungarianA
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\hungarianA.xml" "$INSTDIR\localization\hungarianA.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Indonesian" indonesian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\indonesian.xml" "$INSTDIR\localization\indonesian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Italian" italian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\italian.xml" "$INSTDIR\localization\italian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Japanese" japanese
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\japanese.xml" "$INSTDIR\localization\japanese.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Kazakh" kazakh
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\kazakh.xml" "$INSTDIR\localization\kazakh.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Korean" korean
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\korean.xml" "$INSTDIR\localization\korean.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Kyrgyz" kyrgyz
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\kyrgyz.xml" "$INSTDIR\localization\kyrgyz.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Latvian" latvian
2012-01-07 01:08:02 +00:00
CopyFiles "$TEMP\nppLocalization\latvian.xml" "$INSTDIR\localization\latvian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Ligurian" ligurian
2012-01-07 01:08:02 +00:00
CopyFiles "$TEMP\nppLocalization\ligurian.xml" "$INSTDIR\localization\ligurian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Lithuanian" lithuanian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\lithuanian.xml" "$INSTDIR\localization\lithuanian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Luxembourgish" luxembourgish
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\luxembourgish.xml" "$INSTDIR\localization\luxembourgish.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Macedonian" macedonian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\macedonian.xml" "$INSTDIR\localization\macedonian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Malay" malay
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\malay.xml" "$INSTDIR\localization\malay.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Marathi" marathi
2014-12-14 22:12:18 +00:00
CopyFiles "$TEMP\nppLocalization\marathi.xml" "$INSTDIR\localization\marathi.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Mongolian" mongolian
2014-09-07 22:16:25 +00:00
CopyFiles "$TEMP\nppLocalization\mongolian.xml" "$INSTDIR\localization\mongolian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Norwegian" norwegian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\norwegian.xml" "$INSTDIR\localization\norwegian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Nynorsk" nynorsk
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\nynorsk.xml" "$INSTDIR\localization\nynorsk.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Occitan" occitan
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\occitan.xml" "$INSTDIR\localization\occitan.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Polish" polish
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\polish.xml" "$INSTDIR\localization\polish.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Portuguese" portuguese
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\portuguese.xml" "$INSTDIR\localization\portuguese.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Kannada" kannada
2014-12-14 22:12:18 +00:00
CopyFiles "$TEMP\nppLocalization\kannada.xml" "$INSTDIR\localization\kannada.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Romanian" romanian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\romanian.xml" "$INSTDIR\localization\romanian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Russian" russian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\russian.xml" "$INSTDIR\localization\russian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Samogitian" samogitian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\samogitian.xml" "$INSTDIR\localization\samogitian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Sardinian" sardinian
2012-01-07 01:08:02 +00:00
CopyFiles "$TEMP\nppLocalization\sardinian.xml" "$INSTDIR\localization\sardinian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Serbian" serbian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\serbian.xml" "$INSTDIR\localization\serbian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Serbian (Cyrillic)" serbianCyrillic
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\serbianCyrillic.xml" "$INSTDIR\localization\serbianCyrillic.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Sinhala" sinhala
2013-06-29 21:18:45 +00:00
CopyFiles "$TEMP\nppLocalization\sinhala.xml" "$INSTDIR\localization\sinhala.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Slovak" slovak
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\slovak.xml" "$INSTDIR\localization\slovak.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Slovak (ANSI)" slovakA
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\slovakA.xml" "$INSTDIR\localization\slovakA.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Slovenian" slovenian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\slovenian.xml" "$INSTDIR\localization\slovenian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Spanish" spanish
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\spanish.xml" "$INSTDIR\localization\spanish.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Spanish_ar" spanish_ar
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\spanish_ar.xml" "$INSTDIR\localization\spanish_ar.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Swedish" swedish
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\swedish.xml" "$INSTDIR\localization\swedish.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Tagalog" tagalog
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\tagalog.xml" "$INSTDIR\localization\tagalog.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2015-05-16 00:36:09 +00:00
${MementoUnselectedSection} "Tajik" tajik
CopyFiles "$TEMP\nppLocalization\tajikCyrillic.xml" "$INSTDIR\localization\tajikCyrillic.xml"
${MementoSectionEnd}
2015-02-12 00:46:14 +00:00
${MementoUnselectedSection} "Tamil" tamil
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\tamil.xml" "$INSTDIR\localization\tamil.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Telugu" telugu
2012-05-01 11:53:54 +00:00
CopyFiles "$TEMP\nppLocalization\telugu.xml" "$INSTDIR\localization\telugu.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Thai" thai
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\thai.xml" "$INSTDIR\localization\thai.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Turkish" turkish
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\turkish.xml" "$INSTDIR\localization\turkish.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Ukrainian" ukrainian
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\ukrainian.xml" "$INSTDIR\localization\ukrainian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Urdu" urdu
2014-12-14 22:12:18 +00:00
CopyFiles "$TEMP\nppLocalization\urdu.xml" "$INSTDIR\localization\urdu.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Uyghur" uyghur
2014-12-14 22:12:18 +00:00
CopyFiles "$TEMP\nppLocalization\uyghur.xml" "$INSTDIR\localization\uyghur.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Uzbek" uzbek
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\uzbek.xml" "$INSTDIR\localization\uzbek.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Uzbek (Cyrillic)" uzbekCyrillic
2011-01-31 01:46:36 +00:00
CopyFiles "$TEMP\nppLocalization\uzbekCyrillic.xml" "$INSTDIR\localization\uzbekCyrillic.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Vietnamese" vietnamese
2013-12-31 13:42:47 +00:00
CopyFiles "$TEMP\nppLocalization\vietnamese.xml" "$INSTDIR\localization\vietnamese.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
${MementoUnselectedSection} "Welsh" welsh
2014-12-21 19:43:40 +00:00
CopyFiles "$TEMP\nppLocalization\welsh.xml" "$INSTDIR\localization\welsh.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2011-01-31 01:46:36 +00:00
SectionGroupEnd
2009-04-24 23:34:47 +00:00
2011-01-31 01:46:36 +00:00
SectionGroup "Themes" Themes
2009-04-27 23:17:51 +00:00
SetOverwrite off
2015-02-12 00:46:14 +00:00
${MementoSection} "Black Board" BlackBoard
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2009-12-17 23:33:39 +00:00
File ".\themes\Black board.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-27 23:17:51 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Choco" Choco
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2009-12-17 23:33:39 +00:00
File ".\themes\Choco.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-27 23:17:51 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Hello Kitty" HelloKitty
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2009-12-17 23:33:39 +00:00
File ".\themes\Hello Kitty.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-27 23:17:51 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Mono Industrial" MonoIndustrial
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2009-12-17 23:33:39 +00:00
File ".\themes\Mono Industrial.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-27 23:17:51 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Monokai" Monokai
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2009-12-17 23:33:39 +00:00
File ".\themes\Monokai.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-27 23:17:51 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Obsidian" Obsidian
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2011-01-31 01:46:36 +00:00
File ".\themes\obsidian.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-27 23:17:51 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Plastic Code Wrap" PlasticCodeWrap
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2009-12-17 23:33:39 +00:00
File ".\themes\Plastic Code Wrap.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-27 23:17:51 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Ruby Blue" RubyBlue
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2009-12-17 23:33:39 +00:00
File ".\themes\Ruby Blue.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-27 23:17:51 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Twilight" Twilight
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2009-12-17 23:33:39 +00:00
File ".\themes\Twilight.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-27 23:17:51 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Vibrant Ink" VibrantInk
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2009-12-17 23:33:39 +00:00
File ".\themes\Vibrant Ink.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-27 23:17:51 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Deep Black" DeepBlack
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2009-12-17 23:33:39 +00:00
File ".\themes\Deep Black.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-06-01 00:21:48 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "vim Dark Blue" vimDarkBlue
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2009-12-17 23:33:39 +00:00
File ".\themes\vim Dark Blue.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-06-01 00:21:48 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Bespin" Bespin
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2009-12-17 23:33:39 +00:00
File ".\themes\Bespin.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-08-19 20:51:53 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Zenburn" Zenburn
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2009-12-17 23:33:39 +00:00
File ".\themes\Zenburn.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2012-04-15 16:54:38 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Solarized" Solarized
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2012-04-15 16:54:38 +00:00
File ".\themes\Solarized.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2012-04-15 16:54:38 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Solarized Light" Solarized-light
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2012-04-15 16:54:38 +00:00
File ".\themes\Solarized-light.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-08-19 20:51:53 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Hot Fudge Sundae" HotFudgeSundae
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2012-06-24 23:06:31 +00:00
File ".\themes\HotFudgeSundae.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2012-06-24 23:06:31 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "khaki" khaki
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2012-06-24 23:06:31 +00:00
File ".\themes\khaki.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2012-06-24 23:06:31 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Mossy Lawn" MossyLawn
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2012-06-24 23:06:31 +00:00
File ".\themes\MossyLawn.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2012-06-24 23:06:31 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Navajo" Navajo
2014-12-26 01:32:18 +00:00
SetOutPath "$UPDATE_PATH\themes"
2012-06-24 23:06:31 +00:00
File ".\themes\Navajo.xml"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2011-01-31 01:46:36 +00:00
SectionGroupEnd
2009-04-27 23:17:51 +00:00
2015-02-12 00:46:14 +00:00
${MementoUnselectedSection} "As default html viewer" htmlViewer
2010-01-26 01:04:53 +00:00
SetOverwrite on
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\"
File "..\bin\nppIExplorerShell.exe"
WriteRegStr HKLM "SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name" "" "$INSTDIR\nppIExplorerShell.exe"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2011-01-31 01:46:36 +00:00
InstType "Minimalist"
2009-04-24 23:34:47 +00:00
2015-02-12 00:46:14 +00:00
${MementoSection} "Auto-Updater" AutoUpdater
2010-01-26 01:04:53 +00:00
SetOverwrite on
2009-04-24 23:34:47 +00:00
SetOutPath "$INSTDIR\updater"
File "..\bin\updater\GUP.exe"
File "..\bin\updater\libcurl.dll"
File "..\bin\updater\gup.xml"
2015-05-16 00:36:09 +00:00
File "..\bin\updater\LICENSE"
2009-04-24 23:34:47 +00:00
File "..\bin\updater\gpl.txt"
2015-05-16 00:36:09 +00:00
File "..\bin\updater\README.md"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2009-04-24 23:34:47 +00:00
2015-05-08 17:39:51 +00:00
/*
2015-02-12 00:46:14 +00:00
${MementoSection} "User Manual" UserManual
2011-01-31 01:46:36 +00:00
SetOverwrite on
IfFileExists "$INSTDIR\NppHelp.chm" 0 +2
Delete "$INSTDIR\NppHelp.chm"
SetOutPath "$INSTDIR\user.manual"
File /r "..\bin\user.manual\"
2015-02-12 00:46:14 +00:00
${MementoSectionEnd}
2011-05-31 00:04:49 +00:00
*/
2010-11-23 01:01:06 +00:00
2015-02-12 00:46:14 +00:00
${MementoSectionDone}
2009-04-24 23:34:47 +00:00
;--------------------------------
;Descriptions
;Language strings
;Assign language strings to sections
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
2011-05-31 00:04:49 +00:00
;!insertmacro MUI_DESCRIPTION_TEXT ${makeLocal} 'Enable this option to make Notepad++ load/write the configuration files from/to its install directory. Check it if you use Notepad++ in an USB device.'
2009-04-24 23:34:47 +00:00
!insertmacro MUI_DESCRIPTION_TEXT ${explorerContextMenu} 'Explorer context menu entry for Notepad++ : Open whatever you want in Notepad++ from Windows Explorer.'
!insertmacro MUI_DESCRIPTION_TEXT ${autoCompletionComponent} 'Install the API files you need for the auto-completion feature (Ctrl+Space).'
!insertmacro MUI_DESCRIPTION_TEXT ${Plugins} 'You may need those plugins to extend the capacity of Notepad++.'
2009-05-26 23:34:45 +00:00
!insertmacro MUI_DESCRIPTION_TEXT ${Themes} 'The eye-candy to change visual effects. Use Theme selector to switch among them.'
2009-04-24 23:34:47 +00:00
!insertmacro MUI_DESCRIPTION_TEXT ${htmlViewer} 'Open the html file in Notepad++ while you choose <view source> from IE.'
!insertmacro MUI_DESCRIPTION_TEXT ${AutoUpdater} 'Keep your Notepad++ update: Check this option to install an update module which searches Notepad++ update on Internet and install it for you.'
2015-05-08 17:39:51 +00:00
;!insertmacro MUI_DESCRIPTION_TEXT ${UserManual} 'Here you can get all the secrets of Notepad++.'
2011-05-31 00:04:49 +00:00
;!insertmacro MUI_DESCRIPTION_TEXT ${shortcutOnDesktop} 'Check this option to add Notepad++ shortcut on your desktop.'
;!insertmacro MUI_DESCRIPTION_TEXT ${getOldIcon} "I won't blame you if you want to get the old icon back."
2009-04-24 23:34:47 +00:00
!insertmacro MUI_FUNCTION_DESCRIPTION_END
;--------------------------------
Section -FinishSection
WriteRegStr HKLM "Software\${APPNAME}" "" "$INSTDIR"
2015-02-12 00:46:14 +00:00
WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "DisplayName" "${APPNAME}"
WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "Publisher" "Notepad++ Team"
WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "VersionMajor" "${VERSION_MAJOR}"
WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "VersionMinor" "${VERSION_MINOR}"
WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "MajorVersion" "${VERSION_MAJOR}"
WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "MinorVersion" "${VERSION_MINOR}"
WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "UninstallString" "$INSTDIR\uninstall.exe"
WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "DisplayIcon" "$INSTDIR\notepad++.exe"
WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "DisplayVersion" "${APPVERSION}"
WriteRegStr HKLM "${UNINSTALL_REG_KEY}" "URLInfoAbout" "${APPWEBSITE}"
2009-04-24 23:34:47 +00:00
WriteUninstaller "$INSTDIR\uninstall.exe"
SectionEnd
;Uninstall section
2011-01-31 01:46:36 +00:00
SectionGroup un.autoCompletionComponent
2009-04-24 23:34:47 +00:00
Section un.PHP
Delete "$INSTDIR\plugins\APIs\php.xml"
SectionEnd
Section un.CSS
Delete "$INSTDIR\plugins\APIs\css.xml"
SectionEnd
Section un.HTML
Delete "$INSTDIR\plugins\APIs\html.xml"
SectionEnd
Section un.SQL
Delete "$INSTDIR\plugins\APIs\sql.xml"
SectionEnd
Section un.RC
Delete "$INSTDIR\plugins\APIs\rc.xml"
SectionEnd
Section un.VB
Delete "$INSTDIR\plugins\APIs\vb.xml"
SectionEnd
Section un.Perl
Delete "$INSTDIR\plugins\APIs\perl.xml"
SectionEnd
Section un.C
Delete "$INSTDIR\plugins\APIs\c.xml"
SectionEnd
Section un.C++
Delete "$INSTDIR\plugins\APIs\cpp.xml"
SectionEnd
Section un.Java
Delete "$INSTDIR\plugins\APIs\java.xml"
SectionEnd
Section un.C#
Delete "$INSTDIR\plugins\APIs\cs.xml"
SectionEnd
Section un.JavaScript
Delete "$INSTDIR\plugins\APIs\javascript.xml"
SectionEnd
Section un.Python
Delete "$INSTDIR\plugins\APIs\python.xml"
SectionEnd
Section un.ActionScript
Delete "$INSTDIR\plugins\APIs\actionscript.xml"
SectionEnd
Section un.LISP
Delete "$INSTDIR\plugins\APIs\lisp.xml"
SectionEnd
Section un.VHDL
Delete "$INSTDIR\plugins\APIs\vhdl.xml"
SectionEnd
Section un.TeX
Delete "$INSTDIR\plugins\APIs\tex.xml"
SectionEnd
Section un.DocBook
Delete "$INSTDIR\plugins\APIs\xml.xml"
SectionEnd
Section un.NSIS
Delete "$INSTDIR\plugins\APIs\nsis.xml"
SectionEnd
Section un.AWK
Delete "$INSTDIR\plugins\APIs\awk.xml"
SectionEnd
2009-10-09 00:42:10 +00:00
Section un.CMAKE
Delete "$INSTDIR\plugins\APIs\cmake.xml"
SectionEnd
2011-01-31 01:46:36 +00:00
SectionGroupEnd
2009-04-24 23:34:47 +00:00
2011-01-31 01:46:36 +00:00
SectionGroup un.Plugins
2009-04-24 23:34:47 +00:00
Section un.NPPTextFX
Delete "$INSTDIR\plugins\NPPTextFX.dll"
Delete "$INSTDIR\plugins\NPPTextFX.ini"
Delete "$APPDATA\Notepad++\NPPTextFX.ini"
Delete "$INSTDIR\plugins\doc\NPPTextFXdemo.TXT"
Delete "$INSTDIR\plugins\Config\tidy\AsciiToEBCDIC.bin"
Delete "$INSTDIR\plugins\Config\tidy\libTidy.dll"
Delete "$INSTDIR\plugins\Config\tidy\TIDYCFG.INI"
Delete "$INSTDIR\plugins\Config\tidy\W3C-CSSValidator.htm"
Delete "$INSTDIR\plugins\Config\tidy\W3C-HTMLValidator.htm"
RMDir "$INSTDIR\plugins\tidy\"
SectionEnd
Section un.NppNetNote
Delete "$INSTDIR\plugins\NppNetNote.dll"
Delete "$INSTDIR\plugins\Config\NppNetNote.ini"
SectionEnd
Section un.NppAutoIndent
Delete "$INSTDIR\plugins\NppAutoIndent.dll"
Delete "$INSTDIR\plugins\Config\NppAutoIndent.ini"
SectionEnd
Section un.MIMETools
Delete "$INSTDIR\plugins\NppTools.dll"
Delete "$INSTDIR\plugins\mimeTools.dll"
SectionEnd
Section un.FTP_synchronize
Delete "$INSTDIR\plugins\FTP_synchronize.dll"
Delete "$INSTDIR\plugins\Config\FTP_synchronize.ini"
Delete "$INSTDIR\plugins\doc\FTP_synchonize.ReadMe.txt"
SectionEnd
2010-07-05 23:17:02 +00:00
Section un.NppFTP
Delete "$INSTDIR\plugins\NppFTP.dll"
Delete "$INSTDIR\plugins\doc\NppFTP\license_NppFTP.txt"
Delete "$INSTDIR\plugins\doc\NppFTP\license_libssh.txt"
Delete "$INSTDIR\plugins\doc\NppFTP\license_OpenSSL.txt"
Delete "$INSTDIR\plugins\doc\NppFTP\license_TiXML.txt"
Delete "$INSTDIR\plugins\doc\NppFTP\license_ZLIB.txt"
Delete "$INSTDIR\plugins\doc\NppFTP\license_UTCP.htm"
Delete "$INSTDIR\plugins\doc\NppFTP\Readme.txt"
SectionEnd
2009-04-24 23:34:47 +00:00
Section un.NppExport
Delete "$INSTDIR\plugins\NppExport.dll"
SectionEnd
2010-07-05 23:17:02 +00:00
Section un.SelectNLaunch
Delete "$INSTDIR\plugins\SelectNLaunch.dll"
SectionEnd
2009-04-24 23:34:47 +00:00
Section un.DocMonitor
Delete "$INSTDIR\plugins\docMonitor.dll"
Delete "$INSTDIR\plugins\Config\docMonitor.ini"
SectionEnd
2010-01-17 23:13:06 +00:00
Section un.LightExplorer
2009-04-24 23:34:47 +00:00
Delete "$INSTDIR\plugins\LightExplorer.dll"
Delete "$INSTDIR\lightExplorer.ini"
SectionEnd
Section un.HexEditor
Delete "$INSTDIR\plugins\HexEditor.dll"
SectionEnd
Section un.ConvertExt
Delete "$INSTDIR\plugins\ConvertExt.dll"
Delete "$APPDATA\Notepad++\ConvertExt.ini"
Delete "$APPDATA\Notepad++\ConvertExt.enc"
Delete "$APPDATA\Notepad++\ConvertExt.lng"
Delete "$INSTDIR\ConvertExt.ini"
Delete "$INSTDIR\ConvertExt.enc"
Delete "$INSTDIR\ConvertExt.lng"
SectionEnd
Section un.SpellChecker
Delete "$INSTDIR\plugins\SpellChecker.dll"
SectionEnd
2013-05-05 18:12:01 +00:00
Section un.DSpellCheck
Delete "$INSTDIR\plugins\DSpellCheck.dll"
Delete "$UPDATE_PATH\plugins\Config\DSpellCheck.ini"
2013-06-29 21:18:45 +00:00
Delete "$INSTDIR\plugins\Config\Hunspell\dictionary.lst"
2013-05-05 18:12:01 +00:00
Delete "$INSTDIR\plugins\Config\Hunspell\en_GB.aff"
Delete "$INSTDIR\plugins\Config\Hunspell\en_GB.dic"
Delete "$INSTDIR\plugins\Config\Hunspell\README_en_GB.txt"
2013-06-29 21:18:45 +00:00
Delete "$INSTDIR\plugins\Config\Hunspell\en_US.aff"
Delete "$INSTDIR\plugins\Config\Hunspell\en_US.dic"
Delete "$INSTDIR\plugins\Config\Hunspell\README_en_US.txt"
2013-05-05 18:12:01 +00:00
SectionEnd
2009-04-24 23:34:47 +00:00
Section un.NppExec
Delete "$INSTDIR\plugins\NppExec.dll"
Delete "$INSTDIR\plugins\doc\NppExec.txt"
Delete "$INSTDIR\plugins\doc\NppExec_TechInfo.txt"
Delete "$INSTDIR\plugins\Config\NppExec.ini"
2009-09-21 00:30:52 +00:00
Delete "$INSTDIR\plugins\Config\NppExec_Manual.chm"
Delete "$INSTDIR\plugins\Config\NppExec.ini"
2009-04-24 23:34:47 +00:00
RMDir "$INSTDIR\plugins\doc\"
SectionEnd
Section un.QuickText
Delete "$INSTDIR\plugins\QuickText.dll"
Delete "$INSTDIR\QuickText.ini"
Delete "$INSTDIR\plugins\doc\quickText_README.txt"
SectionEnd
Section un.ComparePlugin
Delete "$INSTDIR\plugins\ComparePlugin.dll"
SectionEnd
2011-03-31 00:14:18 +00:00
Section un.Converter
Delete "$INSTDIR\plugins\NppConverter.dll"
SectionEnd
2013-12-23 11:44:14 +00:00
Section un.MimeTools
Delete "$INSTDIR\plugins\mimeTools.dll"
SectionEnd
2009-09-22 00:42:32 +00:00
Section un.PluginManager
Delete "$INSTDIR\plugins\PluginManager.dll"
Delete "$INSTDIR\updater\gpup.exe"
RMDir "$INSTDIR\updater\"
SectionEnd
2009-05-26 23:34:45 +00:00
Section un.ChangeMarkers
Delete "$INSTDIR\plugins\NppPlugin_ChangeMarker.dll"
SectionEnd
2011-01-31 01:46:36 +00:00
SectionGroupEnd
2009-04-24 23:34:47 +00:00
2011-01-31 01:46:36 +00:00
SectionGroup un.Themes
2009-04-27 23:17:51 +00:00
Section un.BlackBoard
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\Black board.xml"
2009-04-27 23:17:51 +00:00
SectionEnd
Section un.Choco
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\Choco.xml"
2009-04-27 23:17:51 +00:00
SectionEnd
Section un.HelloKitty
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\Hello Kitty.xml"
2009-04-27 23:17:51 +00:00
SectionEnd
Section un.MonoIndustrial
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\Mono Industrial.xml"
2009-04-27 23:17:51 +00:00
SectionEnd
Section un.Monokai
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\Monokai.xml"
2009-04-27 23:17:51 +00:00
SectionEnd
Section un.Obsidian
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes/obsidian.xml"
2009-04-27 23:17:51 +00:00
SectionEnd
Section un.PlasticCodeWrap
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\Plastic Code Wrap.xml"
2009-04-27 23:17:51 +00:00
SectionEnd
Section un.RubyBlue
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\Ruby Blue.xml"
2009-04-27 23:17:51 +00:00
SectionEnd
Section un.Twilight
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\Twilight.xml"
2009-04-27 23:17:51 +00:00
SectionEnd
Section un.VibrantInk
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\Vibrant Ink.xml"
2009-04-27 23:17:51 +00:00
SectionEnd
2009-06-01 00:21:48 +00:00
Section un.DeepBlack
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\Deep Black.xml"
2009-06-01 00:21:48 +00:00
SectionEnd
Section un.vimDarkBlue
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\vim Dark Blue.xml"
2009-06-01 00:21:48 +00:00
SectionEnd
2009-07-11 13:02:38 +00:00
Section un.Bespin
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\Bespin.xml"
2009-07-11 13:02:38 +00:00
SectionEnd
2009-08-19 20:51:53 +00:00
Section un.Zenburn
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\Zenburn.xml"
2012-04-17 23:35:01 +00:00
SectionEnd
Section un.Solarized
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\Solarized.xml"
2012-04-17 23:35:01 +00:00
SectionEnd
Section un.Solarized-light
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\Solarized-light.xml"
2012-04-17 23:35:01 +00:00
SectionEnd
2012-06-24 23:06:31 +00:00
Section un.HotFudgeSundae
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\HotFudgeSundae.xml"
2012-06-24 23:06:31 +00:00
SectionEnd
Section un.khaki
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\khaki.xml"
2012-06-24 23:06:31 +00:00
SectionEnd
Section un.MossyLawn
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\MossyLawn.xml"
2012-06-24 23:06:31 +00:00
SectionEnd
2012-04-17 23:35:01 +00:00
2012-06-24 23:06:31 +00:00
Section un.Navajo
2014-12-26 01:32:18 +00:00
Delete "$UPDATE_PATH\themes\Navajo.xml"
2012-06-24 23:06:31 +00:00
SectionEnd
2011-01-31 01:46:36 +00:00
SectionGroupEnd
SectionGroup un.localization
SetOverwrite on
Section un.afrikaans
Delete "$INSTDIR\localization\afrikaans.xml"
SectionEnd
Section un.albanian
Delete "$INSTDIR\localization\albanian.xml"
SectionEnd
Section un.arabic
Delete "$INSTDIR\localization\arabic.xml"
SectionEnd
2012-11-13 00:24:40 +00:00
Section un.aragonese
Delete "$INSTDIR\localization\aragonese.xml"
SectionEnd
2011-01-31 01:46:36 +00:00
Section un.aranese
Delete "$INSTDIR\localization\aranese.xml"
SectionEnd
Section un.azerbaijani
Delete "$INSTDIR\localization\azerbaijani.xml"
SectionEnd
Section un.basque
Delete "$INSTDIR\localization\basque.xml"
SectionEnd
Section un.belarusian
Delete "$INSTDIR\localization\belarusian.xml"
SectionEnd
2013-02-03 21:14:46 +00:00
Section un.bengali
Delete "$INSTDIR\localization\bengali.xml"
SectionEnd
2011-01-31 01:46:36 +00:00
Section un.bosnian
Delete "$INSTDIR\localization\bosnian.xml"
SectionEnd
Section un.brazilian_portuguese
Delete "$INSTDIR\localization\brazilian_portuguese.xml"
SectionEnd
Section un.bulgarian
Delete "$INSTDIR\localization\bulgarian.xml"
SectionEnd
Section un.catalan
Delete "$INSTDIR\localization\catalan.xml"
SectionEnd
Section un.chineseTraditional
Delete "$INSTDIR\localization\chinese.xml"
SectionEnd
Section un.chineseSimplified
Delete "$INSTDIR\localization\chineseSimplified.xml"
SectionEnd
Section un.croatian
Delete "$INSTDIR\localization\croatian.xml"
SectionEnd
Section un.czech
Delete "$INSTDIR\localization\czech.xml"
SectionEnd
Section un.danish
Delete "$INSTDIR\localization\danish.xml"
SectionEnd
Section un.dutch
Delete "$INSTDIR\localization\dutch.xml"
SectionEnd
Section un.english_customizable
Delete "$INSTDIR\localization\english_customizable.xml"
SectionEnd
Section un.esperanto
Delete "$INSTDIR\localization\esperanto.xml"
SectionEnd
2015-03-10 20:53:52 +00:00
Section un.estonian
Delete "$INSTDIR\localization\estonian.xml"
SectionEnd
2011-01-31 01:46:36 +00:00
Section un.extremaduran
Delete "$INSTDIR\localization\extremaduran.xml"
SectionEnd
Section un.farsi
Delete "$INSTDIR\localization\farsi.xml"
SectionEnd
Section un.finnish
Delete "$INSTDIR\localization\finnish.xml"
SectionEnd
Section un.friulian
Delete "$INSTDIR\localization\friulian.xml"
SectionEnd
Section un.french
Delete "$INSTDIR\localization\french.xml"
SectionEnd
Section un.galician
Delete "$INSTDIR\localization\galician.xml"
SectionEnd
Section un.georgian
Delete "$INSTDIR\localization\georgian.xml"
SectionEnd
Section un.german
Delete "$INSTDIR\localization\german.xml"
SectionEnd
Section un.greek
Delete "$INSTDIR\localization\greek.xml"
SectionEnd
2014-08-15 23:05:45 +00:00
Section un.gujarati
Delete "$INSTDIR\localization\gujarati.xml"
SectionEnd
2011-01-31 01:46:36 +00:00
Section un.hebrew
Delete "$INSTDIR\localization\hebrew.xml"
2012-01-07 01:08:02 +00:00
SectionEnd
Section un.hindi
Delete "$INSTDIR\localization\hindi.xml"
2011-01-31 01:46:36 +00:00
SectionEnd
Section un.hungarian
Delete "$INSTDIR\localization\hungarian.xml"
SectionEnd
Section un.hungarianA
Delete "$INSTDIR\localization\hungarianA.xml"
SectionEnd
Section un.indonesian
Delete "$INSTDIR\localization\indonesian.xml"
SectionEnd
Section un.italian
Delete "$INSTDIR\localization\italian.xml"
SectionEnd
Section un.japanese
Delete "$INSTDIR\localization\japanese.xml"
SectionEnd
Section un.kazakh
Delete "$INSTDIR\localization\kazakh.xml"
SectionEnd
Section un.korean
Delete "$INSTDIR\localization\korean.xml"
SectionEnd
Section un.kyrgyz
Delete "$INSTDIR\localization\kyrgyz.xml"
SectionEnd
2012-01-07 01:08:02 +00:00
Section un.latvian
Delete "$INSTDIR\localization\latvian.xml"
SectionEnd
Section un.ligurian
Delete "$INSTDIR\localization\ligurian.xml"
2011-01-31 01:46:36 +00:00
SectionEnd
Section un.lithuanian
Delete "$INSTDIR\localization\lithuanian.xml"
SectionEnd
Section un.luxembourgish
Delete "$INSTDIR\localization\luxembourgish.xml"
SectionEnd
Section un.macedonian
Delete "$INSTDIR\localization\macedonian.xml"
SectionEnd
Section un.malay
Delete "$INSTDIR\localization\malay.xml"
SectionEnd
2014-12-14 22:12:18 +00:00
Section un.marathi
Delete "$INSTDIR\localization\marathi.xml"
SectionEnd
2014-09-07 22:16:25 +00:00
Section un.mongolian
Delete "$INSTDIR\localization\mongolian.xml"
SectionEnd
2011-01-31 01:46:36 +00:00
Section un.norwegian
Delete "$INSTDIR\localization\norwegian.xml"
SectionEnd
Section un.nynorsk
Delete "$INSTDIR\localization\nynorsk.xml"
SectionEnd
Section un.occitan
Delete "$INSTDIR\localization\occitan.xml"
SectionEnd
Section un.polish
Delete "$INSTDIR\localization\polish.xml"
SectionEnd
2014-12-14 22:12:18 +00:00
Section un.kannada
Delete "$INSTDIR\localization\kannada.xml"
SectionEnd
2011-01-31 01:46:36 +00:00
Section un.portuguese
Delete "$INSTDIR\localization\portuguese.xml"
SectionEnd
Section un.romanian
Delete "$INSTDIR\localization\romanian.xml"
SectionEnd
Section un.russian
Delete "$INSTDIR\localization\russian.xml"
SectionEnd
Section un.samogitian
Delete "$INSTDIR\localization\samogitian.xml"
SectionEnd
2012-01-07 01:08:02 +00:00
Section un.sardinian
Delete "$INSTDIR\localization\sardinian.xml"
SectionEnd
2011-01-31 01:46:36 +00:00
Section un.serbian
Delete "$INSTDIR\localization\serbian.xml"
SectionEnd
Section un.serbianCyrillic
Delete "$INSTDIR\localization\serbianCyrillic.xml"
SectionEnd
2013-06-29 21:18:45 +00:00
Section un.sinhala
Delete "$INSTDIR\localization\sinhala.xml"
SectionEnd
2011-01-31 01:46:36 +00:00
Section un.slovak
Delete "$INSTDIR\localization\slovak.xml"
SectionEnd
Section un.slovakA
Delete "$INSTDIR\localization\slovakA.xml"
SectionEnd
Section un.slovenian
Delete "$INSTDIR\localization\slovenian.xml"
SectionEnd
Section un.spanish
Delete "$INSTDIR\localization\spanish.xml"
SectionEnd
Section un.spanish_ar
Delete "$INSTDIR\localization\spanish_ar.xml"
SectionEnd
Section un.swedish
Delete "$INSTDIR\localization\swedish.xml"
SectionEnd
Section un.tagalog
Delete "$INSTDIR\localization\tagalog.xml"
SectionEnd
2015-05-16 00:36:09 +00:00
Section un.tajik
Delete "$INSTDIR\localization\tajikCyrillic.xml"
SectionEnd
2011-01-31 01:46:36 +00:00
Section un.tamil
Delete "$INSTDIR\localization\tamil.xml"
SectionEnd
2012-06-24 23:06:31 +00:00
Section un.telugu
Delete "$INSTDIR\localization\telugu.xml"
SectionEnd
2011-01-31 01:46:36 +00:00
Section un.thai
Delete "$INSTDIR\localization\thai.xml"
SectionEnd
Section un.turkish
Delete "$INSTDIR\localization\turkish.xml"
SectionEnd
Section un.ukrainian
Delete "$INSTDIR\localization\ukrainian.xml"
SectionEnd
2014-12-14 22:12:18 +00:00
Section un.urdu
Delete "$INSTDIR\localization\urdu.xml"
SectionEnd
Section un.uyghur
Delete "$INSTDIR\localization\uyghur.xml"
SectionEnd
2011-01-31 01:46:36 +00:00
Section un.uzbek
Delete "$INSTDIR\localization\uzbek.xml"
SectionEnd
Section un.uzbekCyrillic
Delete "$INSTDIR\localization\uzbekCyrillic.xml"
SectionEnd
2013-12-31 13:42:47 +00:00
Section un.vietnamese
Delete "$INSTDIR\localization\vietnamese.xml"
SectionEnd
2014-12-21 19:43:40 +00:00
Section un.welsh
Delete "$INSTDIR\localization\welsh.xml"
SectionEnd
2011-01-31 01:46:36 +00:00
SectionGroupEnd
2009-04-27 23:17:51 +00:00
2009-04-24 23:34:47 +00:00
Section un.htmlViewer
DeleteRegKey HKLM "SOFTWARE\Microsoft\Internet Explorer\View Source Editor"
Delete "$INSTDIR\nppIExplorerShell.exe"
SectionEnd
Section un.AutoUpdater
Delete "$INSTDIR\updater\GUP.exe"
Delete "$INSTDIR\updater\libcurl.dll"
Delete "$INSTDIR\updater\gup.xml"
Delete "$INSTDIR\updater\License.txt"
2015-05-16 00:36:09 +00:00
Delete "$INSTDIR\updater\LICENSE"
2009-04-24 23:34:47 +00:00
Delete "$INSTDIR\updater\gpl.txt"
Delete "$INSTDIR\updater\readme.txt"
2015-05-16 00:36:09 +00:00
Delete "$INSTDIR\updater\README.md"
2009-04-24 23:34:47 +00:00
Delete "$INSTDIR\updater\getDownLoadUrl.php"
RMDir "$INSTDIR\updater\"
SectionEnd
Section un.explorerContextMenu
2009-11-30 01:31:55 +00:00
Exec 'regsvr32 /u /s "$INSTDIR\NppShell_01.dll"'
2010-11-02 00:58:06 +00:00
Exec 'regsvr32 /u /s "$INSTDIR\NppShell_02.dll"'
2010-11-14 18:10:10 +00:00
Exec 'regsvr32 /u /s "$INSTDIR\NppShell_03.dll"'
2010-11-21 14:04:36 +00:00
Exec 'regsvr32 /u /s "$INSTDIR\NppShell_04.dll"'
2012-08-16 00:56:20 +00:00
Exec 'regsvr32 /u /s "$INSTDIR\NppShell_05.dll"'
2014-05-17 14:22:31 +00:00
Exec 'regsvr32 /u /s "$INSTDIR\NppShell_06.dll"'
2009-11-30 01:31:55 +00:00
Delete "$INSTDIR\NppShell_01.dll"
2010-11-02 00:58:06 +00:00
Delete "$INSTDIR\NppShell_02.dll"
2010-11-14 18:10:10 +00:00
Delete "$INSTDIR\NppShell_03.dll"
2010-11-21 14:04:36 +00:00
Delete "$INSTDIR\NppShell_04.dll"
2012-08-16 00:56:20 +00:00
Delete "$INSTDIR\NppShell_05.dll"
2014-05-17 14:22:31 +00:00
Delete "$INSTDIR\NppShell_06.dll"
2009-04-24 23:34:47 +00:00
SectionEnd
2012-05-27 13:46:46 +00:00
Section un.UnregisterFileExt
; Remove references to "Notepad++_file"
IntOp $1 0 + 0 ; subkey index
StrCpy $2 "" ; subkey name
Enum_HKCR_Loop:
EnumRegKey $2 HKCR "" $1
StrCmp $2 "" Enum_HKCR_Done
ReadRegStr $0 HKCR $2 "" ; Read the default value
${If} $0 == "Notepad++_file"
ReadRegStr $3 HKCR $2 "Notepad++_backup"
; Recover (some of) the lost original file types
${If} $3 == "Notepad++_file"
${If} $2 == ".ini"
StrCpy $3 "inifile"
${ElseIf} $2 == ".inf"
StrCpy $3 "inffile"
${ElseIf} $2 == ".nfo"
StrCpy $3 "MSInfoFile"
${ElseIf} $2 == ".txt"
StrCpy $3 "txtfile"
${ElseIf} $2 == ".log"
StrCpy $3 "txtfile"
${ElseIf} $2 == ".xml"
StrCpy $3 "xmlfile"
${EndIf}
${EndIf}
${If} $3 == "Notepad++_file"
; File type recovering has failed. Just discard the current file extension
DeleteRegKey HKCR $2
${Else}
; Restore the original file type
WriteRegStr HKCR $2 "" $3
DeleteRegValue HKCR $2 "Notepad++_backup"
IntOp $1 $1 + 1
${EndIf}
${Else}
IntOp $1 $1 + 1
${EndIf}
Goto Enum_HKCR_Loop
Enum_HKCR_Done:
; Remove references to "Notepad++_file" from "Open with..."
IntOp $1 0 + 0 ; subkey index
StrCpy $2 "" ; subkey name
Enum_FileExts_Loop:
EnumRegKey $2 HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts" $1
StrCmp $2 "" Enum_FileExts_Done
DeleteRegValue HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\$2\OpenWithProgids" "Notepad++_file"
IntOp $1 $1 + 1
Goto Enum_FileExts_Loop
Enum_FileExts_Done:
; Remove "Notepad++_file" file type
DeleteRegKey HKCR "Notepad++_file"
SectionEnd
2011-01-31 01:46:36 +00:00
Section un.UserManual
RMDir /r "$INSTDIR\user.manual"
SectionEnd
2009-04-24 23:34:47 +00:00
Section Uninstall
;Remove from registry...
2015-02-12 00:46:14 +00:00
DeleteRegKey HKLM "${UNINSTALL_REG_KEY}"
2009-04-24 23:34:47 +00:00
DeleteRegKey HKLM "SOFTWARE\${APPNAME}"
DeleteRegKey HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\notepad++.exe"
; Delete self
Delete "$INSTDIR\uninstall.exe"
; Delete Shortcuts
Delete "$SMPROGRAMS\Notepad++\Uninstall.lnk"
RMDir "$SMPROGRAMS\Notepad++"
UserInfo::GetAccountType
Pop $1
StrCmp $1 "Admin" 0 +2
SetShellVarContext all
Delete "$DESKTOP\Notepad++.lnk"
Delete "$SMPROGRAMS\Notepad++\Notepad++.lnk"
Delete "$SMPROGRAMS\Notepad++\readme.lnk"
; Clean up Notepad++
Delete "$INSTDIR\LINEDRAW.TTF"
Delete "$INSTDIR\SciLexer.dll"
Delete "$INSTDIR\change.log"
2015-05-08 17:39:51 +00:00
Delete "$INSTDIR\LICENSE"
2009-04-24 23:34:47 +00:00
Delete "$INSTDIR\notepad++.exe"
Delete "$INSTDIR\readme.txt"
Delete "$INSTDIR\config.xml"
Delete "$INSTDIR\config.model.xml"
Delete "$INSTDIR\langs.xml"
Delete "$INSTDIR\langs.model.xml"
Delete "$INSTDIR\stylers.xml"
Delete "$INSTDIR\stylers.model.xml"
Delete "$INSTDIR\stylers_remove.xml"
Delete "$INSTDIR\contextMenu.xml"
Delete "$INSTDIR\shortcuts.xml"
2013-06-29 21:18:45 +00:00
Delete "$INSTDIR\functionList.xml"
2009-04-24 23:34:47 +00:00
Delete "$INSTDIR\nativeLang.xml"
Delete "$INSTDIR\session.xml"
2013-04-02 23:28:43 +00:00
Delete "$INSTDIR\localization\english.xml"
2009-04-24 23:34:47 +00:00
SetShellVarContext current
2010-11-21 14:04:36 +00:00
Delete "$APPDATA\Notepad++\langs.xml"
2009-04-24 23:34:47 +00:00
Delete "$APPDATA\Notepad++\config.xml"
Delete "$APPDATA\Notepad++\stylers.xml"
Delete "$APPDATA\Notepad++\contextMenu.xml"
Delete "$APPDATA\Notepad++\shortcuts.xml"
2013-06-29 21:18:45 +00:00
Delete "$APPDATA\Notepad++\functionList.xml"
2009-04-24 23:34:47 +00:00
Delete "$APPDATA\Notepad++\nativeLang.xml"
Delete "$APPDATA\Notepad++\session.xml"
Delete "$APPDATA\Notepad++\insertExt.ini"
2011-01-31 01:46:36 +00:00
IfFileExists "$INSTDIR\NppHelp.chm" 0 +2
Delete "$INSTDIR\NppHelp.chm"
2009-04-24 23:34:47 +00:00
RMDir "$APPDATA\Notepad++"
StrCmp $1 "Admin" 0 +2
SetShellVarContext all
; Remove remaining directories
2011-01-31 01:46:36 +00:00
RMDir /r "$INSTDIR\plugins\disabled\"
RMDir "$INSTDIR\plugins\APIs\"
RMDir "$INSTDIR\plugins\"
RMDir "$INSTDIR\themes\"
RMDir "$INSTDIR\localization\"
2009-04-24 23:34:47 +00:00
RMDir "$INSTDIR\"
2011-01-31 01:46:36 +00:00
RMDir "$SMPROGRAMS\Notepad++"
2009-04-24 23:34:47 +00:00
RMDir "$APPDATA\Notepad++"
SectionEnd
Function un.onInit
!insertmacro MUI_UNGETLANGUAGE
FunctionEnd
BrandingText "Don HO"
; eof