From 6c344ac24cb4d51be8e8d16733873c921a0f8c9f Mon Sep 17 00:00:00 2001 From: Don Ho Date: Sun, 6 Jan 2013 22:06:01 +0000 Subject: [PATCH] [UPDATE] Remove unstable plugin during the installation. . git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1002 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/installer/nppSetup.nsi | 5 +++++ PowerEditor/src/config.model.xml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/PowerEditor/installer/nppSetup.nsi b/PowerEditor/installer/nppSetup.nsi index 52b26f0c2..1a4d45ef6 100644 --- a/PowerEditor/installer/nppSetup.nsi +++ b/PowerEditor/installer/nppSetup.nsi @@ -546,6 +546,11 @@ Section -"Notepad++" mainSection Delete "$INSTDIR\plugins\Oberon2LexerU.dll" + 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" + ; Context Menu Management : removing old version of Context Menu module IfFileExists "$INSTDIR\nppcm.dll" 0 +3 Exec 'regsvr32 /u /s "$INSTDIR\nppcm.dll"' diff --git a/PowerEditor/src/config.model.xml b/PowerEditor/src/config.model.xml index 6a66064a0..e2ef28541 100644 --- a/PowerEditor/src/config.model.xml +++ b/PowerEditor/src/config.model.xml @@ -6,7 +6,7 @@ show - + vertical