From bfa92c64a9da75639272f4574cfc7af47b3fd795 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Sat, 28 May 2011 18:15:02 +0000 Subject: [PATCH] [ENHANCE] Enhance the packaging procedure. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@762 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/installer/packageAll.bat | 58 +++++++++++++++++++++++++--- 1 file changed, 52 insertions(+), 6 deletions(-) diff --git a/PowerEditor/installer/packageAll.bat b/PowerEditor/installer/packageAll.bat index 25fe23795..6b077af8d 100644 --- a/PowerEditor/installer/packageAll.bat +++ b/PowerEditor/installer/packageAll.bat @@ -72,22 +72,42 @@ copy /Y ..\bin\"notepad++.exe" .\zipped.package.release\unicode\ If ErrorLevel 1 PAUSE copy /Y ..\bin\SciLexer.dll .\zipped.package.release\unicode\ If ErrorLevel 1 PAUSE -copy /Y "..\bin\plugins\*.*" .\zipped.package.release\unicode\plugins\ + +rem Plugins +copy /Y "..\bin\plugins\SpellChecker.dll" .\zipped.package.release\unicode\plugins\ If ErrorLevel 1 PAUSE -xcopy /Y /E /S "..\bin\plugins\doc" .\zipped.package.release\unicode\plugins\doc +copy /Y "..\bin\plugins\NppFTP.dll" .\zipped.package.release\unicode\plugins\ +If ErrorLevel 1 PAUSE +copy /Y "..\bin\plugins\NppExport.dll" .\zipped.package.release\unicode\plugins\ +If ErrorLevel 1 PAUSE +copy /Y "..\bin\plugins\ComparePlugin.dll" .\zipped.package.release\unicode\plugins\ If ErrorLevel 1 PAUSE -copy /Y "..\bin\plugins\Config\tidy\*.*" .\zipped.package.release\unicode\plugins\Config\tidy\ + +rem plugins manager and its updater +copy /Y "..\bin\plugins\PluginManager.dll" .\zipped.package.release\unicode\plugins\ If ErrorLevel 1 PAUSE copy /Y "..\bin\updater\gpup.exe" .\zipped.package.release\unicode\updater\ If ErrorLevel 1 PAUSE +rem document +xcopy /Y /E /S "..\bin\plugins\doc" .\zipped.package.release\unicode\plugins\doc +If ErrorLevel 1 PAUSE + +rem localizations copy /Y ".\nativeLang\*.xml" .\zipped.package.release\unicode\localization\ If ErrorLevel 1 PAUSE + +rem files API copy /Y ".\APIs\*.xml" .\zipped.package.release\unicode\plugins\APIs\ If ErrorLevel 1 PAUSE + +rem theme copy /Y ".\themes\*.xml" .\zipped.package.release\unicode\themes\ If ErrorLevel 1 PAUSE + + + rem Notepad++ ANSI package del /F /S /Q .\zipped.package.release\ansi\npp.pdb del /F /S /Q .\zipped.package.release\ansi\config.xml @@ -100,8 +120,6 @@ copy /Y ..\bin\license.txt .\zipped.package.release\ansi\ If ErrorLevel 1 PAUSE copy /Y ..\bin\readme.txt .\zipped.package.release\ansi\ If ErrorLevel 1 PAUSE -xcopy /Y /S ..\bin\user.manual .\zipped.package.release\ansi\user.manual -If ErrorLevel 1 PAUSE copy /Y ..\bin\change.log .\zipped.package.release\ansi\ If ErrorLevel 1 PAUSE copy /Y ..\src\config.model.xml .\zipped.package.release\ansi\ @@ -116,10 +134,38 @@ copy /Y ..\src\shortcuts.xml .\zipped.package.release\ansi\ If ErrorLevel 1 PAUSE copy /Y ..\bin\doLocalConf.xml .\zipped.package.release\ansi\ If ErrorLevel 1 PAUSE -copy /Y "..\bin\plugins\Config\tidy\*.*" .\zipped.package.release\ansi\plugins\Config\tidy\ +copy /Y ..\bin-ansi\"notepad++.exe" .\zipped.package.release\ansi\ If ErrorLevel 1 PAUSE + +rem Plugins +copy /Y "..\bin-ansi\plugins\NppTextFXA.dll" .\zipped.package.release\ansi\plugins\ +If ErrorLevel 1 PAUSE +copy /Y "..\bin-ansi\plugins\doc\NPPTextFXdemo.TXT" .\zipped.package.release\ansi\plugins\doc\ +If ErrorLevel 1 PAUSE +copy /Y "..\bin-ansi\plugins\NppExec.dll" .\zipped.package.release\ansi\plugins\ +If ErrorLevel 1 PAUSE +copy /Y "..\bin-ansi\plugins\SpellChecker.dll" .\zipped.package.release\ansi\plugins\ +If ErrorLevel 1 PAUSE +copy /Y "..\bin-ansi\plugins\NppExportA.dll" .\zipped.package.release\ansi\plugins\ +If ErrorLevel 1 PAUSE +copy /Y "..\bin-ansi\plugins\LightExplorer.dll" .\zipped.package.release\ansi\plugins\ +If ErrorLevel 1 PAUSE +copy /Y "..\bin-ansi\plugins\ComparePlugin.dll" .\zipped.package.release\ansi\plugins\ +If ErrorLevel 1 PAUSE +copy /Y "..\bin-ansi\plugins\PluginManager.dll" .\zipped.package.release\ansi\plugins\ +If ErrorLevel 1 PAUSE +copy /Y "..\bin-ansi\updater\gpup.exe" .\zipped.package.release\ansi\updater\ +If ErrorLevel 1 PAUSE + +rem document +xcopy /Y /S ..\bin\user.manual .\zipped.package.release\ansi\user.manual +If ErrorLevel 1 PAUSE + +rem files API copy /Y ".\APIs\*.xml" .\zipped.package.release\ansi\plugins\APIs\ If ErrorLevel 1 PAUSE + +rem theme copy /Y ".\themes\*.xml" .\zipped.package.release\ansi\themes\ If ErrorLevel 1 PAUSE