aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2017-02-02 01:57:46 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2017-02-02 01:57:46 +0000
commite8afa250c6319a8471b8801922a735644d452578 (patch)
treeee00ef28bd1b79baaa2a2968b6a1ec476a69fadc
parent00ab74d6f7de694d47b10f3a2555e50c9b5db5e4 (diff)
updated NSIS scripts.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3524 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog13
-rw-r--r--nsis/COPYING.ja.txt46
-rw-r--r--nsis/COPYING.txt46
-rw-r--r--nsis/english.nsh6
-rw-r--r--nsis/japanese.nsh6
-rw-r--r--nsis/spanish.nsh6
-rw-r--r--nsis/sylpheed-defs.nsh5
-rw-r--r--nsis/sylpheed.nsi33
8 files changed, 152 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index e5390426..a9fef752 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2017-02-02
+
+ * nsis/COPYING.ja.txt
+ nsis/COPYING.txt
+ nsis/english.nsh
+ nsis/japanese.nsh
+ nsis/spanish.nsh
+ nsis/sylpheed-defs.nsh
+ nsis/sylpheed.nsi: updated NSIS scripts:
+ - Show notice about not removing user data before uninstall
+ - Add autoenc plugin definition
+ - Update license text
+
2016-07-29
* version 3.5.1
diff --git a/nsis/COPYING.ja.txt b/nsis/COPYING.ja.txt
index a08c7dee..4b13371f 100644
--- a/nsis/COPYING.ja.txt
+++ b/nsis/COPYING.ja.txt
@@ -1,4 +1,4 @@
-Sylpheed is copyrighted 1999-2011 by Hiroyuki Yamamoto and
+Sylpheed is copyrighted 1999-2017 by Hiroyuki Yamamoto and
Sylpheed Development Team, and distributed under the GNU GPL.
Specific permission is granted for the GPLed code in this distribition to
@@ -7,15 +7,57 @@ be linked to OpenSSL without invoking GPL clause 2(b).
GLib, GTK+, Pango, and LibSylph is distributed under the GNU LGPL.
-------------------------------------------------------------------------------
+ SylFilter - a message filter
+
+ Copyright (C) 2011-2012 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>
+ Copyright (C) 2011-2012 Sylpheed Development Team
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ * Neither the name of the Sylpheed Development Team nor the names of its
+ contributors may be used to endorse or promote products derived from this
+ software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+-------------------------------------------------------------------------------
bsfilter Copyright (C) 2003, 2004, 2005, 2006 NABEYA Kenichi
bsfilter is released under the GNU GPL.
+--------------------------------------------------------------------------
+ QDBM: Quick Database Manager
+ Copyright (C) 2000-2007 Mikio Hirabayashi
+
+QDBM is released under the terms of the GNU Lesser General Public
+License. See the file COPYING.LGPL.txt for details.
+
+QDBM was written by Mikio Hirabayashi. You can contact the author
+by e-mail to `mikio@fallabs.com'.
+
-------------------------------------------------------------------------------
Curl copyright notice
COPYRIGHT AND PERMISSION NOTICE
-Copyright (c) 1996 - 2009, Daniel Stenberg, <daniel@haxx.se>.
+Copyright (c) 1996 - 2011, Daniel Stenberg, <daniel@haxx.se>.
All rights reserved.
diff --git a/nsis/COPYING.txt b/nsis/COPYING.txt
index a08c7dee..4b13371f 100644
--- a/nsis/COPYING.txt
+++ b/nsis/COPYING.txt
@@ -1,4 +1,4 @@
-Sylpheed is copyrighted 1999-2011 by Hiroyuki Yamamoto and
+Sylpheed is copyrighted 1999-2017 by Hiroyuki Yamamoto and
Sylpheed Development Team, and distributed under the GNU GPL.
Specific permission is granted for the GPLed code in this distribition to
@@ -7,15 +7,57 @@ be linked to OpenSSL without invoking GPL clause 2(b).
GLib, GTK+, Pango, and LibSylph is distributed under the GNU LGPL.
-------------------------------------------------------------------------------
+ SylFilter - a message filter
+
+ Copyright (C) 2011-2012 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>
+ Copyright (C) 2011-2012 Sylpheed Development Team
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ * Neither the name of the Sylpheed Development Team nor the names of its
+ contributors may be used to endorse or promote products derived from this
+ software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+-------------------------------------------------------------------------------
bsfilter Copyright (C) 2003, 2004, 2005, 2006 NABEYA Kenichi
bsfilter is released under the GNU GPL.
+--------------------------------------------------------------------------
+ QDBM: Quick Database Manager
+ Copyright (C) 2000-2007 Mikio Hirabayashi
+
+QDBM is released under the terms of the GNU Lesser General Public
+License. See the file COPYING.LGPL.txt for details.
+
+QDBM was written by Mikio Hirabayashi. You can contact the author
+by e-mail to `mikio@fallabs.com'.
+
-------------------------------------------------------------------------------
Curl copyright notice
COPYRIGHT AND PERMISSION NOTICE
-Copyright (c) 1996 - 2009, Daniel Stenberg, <daniel@haxx.se>.
+Copyright (c) 1996 - 2011, Daniel Stenberg, <daniel@haxx.se>.
All rights reserved.
diff --git a/nsis/english.nsh b/nsis/english.nsh
index f4bbd3c1..a715ca8d 100644
--- a/nsis/english.nsh
+++ b/nsis/english.nsh
@@ -3,6 +3,7 @@ LangString readme ${LANG_ENGLISH} "Show README"
LangString jump ${LANG_ENGLISH} "Show ${INST_NAME}'s Website"
LangString plugins ${LANG_ENGLISH} "Sylpheed Plug-ins"
LangString attachment_tool_plugin ${LANG_ENGLISH} "attachment_tool"
+LangString autoenc_plugin ${LANG_ENGLISH} "autoenc plugin"
LangString desktop_shortcut ${LANG_ENGLISH} "Shortcut for Desktop"
LangString quick_shortcut ${LANG_ENGLISH} "Shortcut for Quick Launch"
LangString handler ${LANG_ENGLISH} "Register associations"
@@ -10,6 +11,7 @@ LangString sylpheed_description ${LANG_ENGLISH} "Sylpheed itself"
LangString plugins_description ${LANG_ENGLISH} "Plug-ins for Sylpheed"
LangString sylpheed_pro_description ${LANG_ENGLISH} "Sylpheed Pro Full-text Search Plug-in"
LangString attachment_tool_plugin_description ${LANG_ENGLISH} "attachment_tool plugin"
+LangString autoenc_plugin_description ${LANG_ENGLISH} "autoenc plugin"
LangString sylfilter_description ${LANG_ENGLISH} "SylFilter bayesian spam filter"
LangString bsfilter_description ${LANG_ENGLISH} "bsfilter bayesian spam filter"
LangString desktop_shortcut_description ${LANG_ENGLISH} "Create shortcut for Desktop (current user only)"
@@ -20,6 +22,7 @@ LangString un_sylpheed_description ${LANG_ENGLISH} "Sylpheed itself"
LangString un_plugins_description ${LANG_ENGLISH} "Plug-ins for Sylpheed"
LangString un_sylpheed_pro_description ${LANG_ENGLISH} "Sylpheed Pro Full-text Search Plug-in"
LangString un_attachment_tool_plugin_description ${LANG_ENGLISH} "attachment_tool plugin"
+LangString un_autoenc_plugin_description ${LANG_ENGLISH} "autoenc plugin"
LangString un_sylfilter_description ${LANG_ENGLISH} "SylFilter bayesian spam filter"
LangString un_bsfilter_description ${LANG_ENGLISH} "bsfilter bayesian spam filter"
LangString un_desktop_shortcut_description ${LANG_ENGLISH} "Delete shortcut for Desktop (current user only)"
@@ -48,7 +51,8 @@ LangString progress ${LANG_ENGLISH} "%skB (%d%%) of %skB @ %u.%01ukB/s"
LangString download_failed ${LANG_ENGLISH} "Download Failed:"
LangString update_confirm ${LANG_ENGLISH} "Update $(^NameDA)?"
LangString kill_and_update_confirm ${LANG_ENGLISH} "Quit Sylpheed, and update $(^NameDA)?"
-LangString MUI_UNTEXT_FINISH_INFO_TEXT ${LANG_ENGLISH} "$(^NameDA) has been uninstalled from your computer.$\r$\n$\r$\nBut the user data which exists in $APPDATA\Sylpheed has not been deleted.$\r$\n$\r$\nClick Finish to close this wizard."
+LangString un_confirmpage_text_top ${LANG_ENGLISH} "$(^NameDA) will be uninstalled from the following folder. $_CLICK$\r$\n* The user data which exists in $APPDATA\${PRODUCT_NAME} will not be deleted."
+LangString MUI_UNTEXT_FINISH_INFO_TEXT ${LANG_ENGLISH} "$(^NameDA) has been uninstalled from your computer.$\r$\n$\r$\nClick Finish to close this wizard."
;--------------------------------
; Localized strings for use with nsisunz
; The '%f' in the string is replaced with the filename on run-time.
diff --git a/nsis/japanese.nsh b/nsis/japanese.nsh
index 21e6bf38..a93b604f 100644
--- a/nsis/japanese.nsh
+++ b/nsis/japanese.nsh
@@ -3,6 +3,7 @@ LangString readme ${LANG_JAPANESE} "READMEを表示"
LangString jump ${LANG_JAPANESE} "${INST_NAME}のWebサイトを表示する"
LangString plugins ${LANG_JAPANESE} "Sylpheed プラグイン"
LangString attachment_tool_plugin ${LANG_JAPANESE} "attachment_tool"
+LangString autoenc_plugin ${LANG_JAPANESE} "autoencプラグイン"
LangString desktop_shortcut ${LANG_JAPANESE} "デスクトップのショートカット"
LangString quick_shortcut ${LANG_JAPANESE} "クイック起動のショートカット"
LangString handler ${LANG_JAPANESE} "関連付けの登録"
@@ -10,6 +11,7 @@ LangString sylpheed_description ${LANG_JAPANESE} "Sylpheed本体です"
LangString plugins_description ${LANG_JAPANESE} "Sylpheed用のプラグイン"
LangString sylpheed_pro_description ${LANG_JAPANESE} "Sylpheed Pro 全文検索プラグイン"
LangString attachment_tool_plugin_description ${LANG_JAPANESE} "attachment_tool プラグイン"
+LangString autoenc_plugin_description ${LANG_JAPANESE} "添付ファイル自動暗号化プラグイン"
LangString sylfilter_description ${LANG_JAPANESE} "SylFilter 迷惑メールフィルタ"
LangString bsfilter_description ${LANG_JAPANESE} "bsfilter 迷惑メールフィルタ"
LangString desktop_shortcut_description ${LANG_JAPANESE} "デスクトップにショートカットを作成します(現在のユーザのみ)"
@@ -20,6 +22,7 @@ LangString un_sylpheed_description ${LANG_JAPANESE} "Sylpheed本体です"
LangString un_plugins_description ${LANG_JAPANESE} "Sylpheed用のプラグイン"
LangString un_sylpheed_pro_description ${LANG_JAPANESE} "Sylpheed Pro 全文検索プラグイン"
LangString un_attachment_tool_plugin_description ${LANG_JAPANESE} "attachment_tool プラグイン"
+LangString un_autoenc_plugin_description ${LANG_JAPANESE} "添付ファイル自動暗号化プラグイン"
LangString un_sylfilter_description ${LANG_JAPANESE} "SylFilter 迷惑メールフィルタ"
LangString un_bsfilter_description ${LANG_JAPANESE} "bsfilter 迷惑メールフィルタ"
LangString un_desktop_shortcut_description ${LANG_JAPANESE} "デスクトップのショートカットを削除します(現在のユーザのみ)"
@@ -48,7 +51,8 @@ LangString progress ${LANG_JAPANESE} "%skB (%d%%) of %skB @ %u.%01ukB/s"
LangString download_failed ${LANG_JAPANESE} "ダウンロード失敗:"
LangString update_confirm ${LANG_JAPANESE} "$(^NameDA)をアップデートしますか?"
LangString kill_and_update_confirm ${LANG_JAPANESE} "Sylpheedを終了して、$(^NameDA)をアップデートしますか?"
-LangString MUI_UNTEXT_FINISH_INFO_TEXT ${LANG_JAPANESE} "$(^NameDA)は、このコンピュータからアンインストールされました。$\r$\n$\r$\nただし、$APPDATA\${PRODUCT_NAME} にあるユーザのデータは削除していません。$\r$\n$\r$\nウィザードを閉じるには [完了] を押してください。"
+LangString un_confirmpage_text_top ${LANG_JAPANESE} "$(^NameDA)は、以下のフォルダからアンインストールされます。$_CLICK$\r$\n※ $APPDATA\${PRODUCT_NAME} にあるユーザのデータは削除されません。"
+LangString MUI_UNTEXT_FINISH_INFO_TEXT ${LANG_JAPANESE} "$(^NameDA)は、このコンピュータからアンインストールされました。$\r$\n$\r$\nウィザードを閉じるには [完了] を押してください。"
;--------------------------------
; Localized strings for use with nsisunz
; The '%f' in the string is replaced with the filename on run-time.
diff --git a/nsis/spanish.nsh b/nsis/spanish.nsh
index 351eb65e..9a1b6afe 100644
--- a/nsis/spanish.nsh
+++ b/nsis/spanish.nsh
@@ -3,6 +3,7 @@ LangString readme ${LANG_SPANISH} "Ver README"
LangString jump ${LANG_SPANISH} "Ver la p疊ina web de ${INST_NAME}"
LangString plugins ${LANG_SPANISH} "Sylpheed Plug-ins"
LangString attachment_tool_plugin ${LANG_SPANISH} "attachment_tool"
+LangString autoenc_plugin ${LANG_SPANISH} "autoenc plugin"
LangString desktop_shortcut ${LANG_SPANISH} "Acceso directo en el escritorio"
LangString quick_shortcut ${LANG_SPANISH} "Acceso directo en la barra r疳ida"
LangString handler ${LANG_SPANISH} "Mantener asociado al protocolo mailto:"
@@ -10,6 +11,7 @@ LangString sylpheed_description ${LANG_SPANISH} "el propio Sylpheed"
LangString plugins_description ${LANG_SPANISH} "Plug-ins for Sylpheed"
LangString sylpheed_pro_description ${LANG_SPANISH} "Sylpheed Pro Full-text Search Plug-in"
LangString attachment_tool_plugin_description ${LANG_SPANISH} "attachment_tool Plug-in"
+LangString autoenc_plugin_description ${LANG_SPANISH} "autoenc Plug-in"
LangString sylfilter_description ${LANG_SPANISH} "SylFilter bayesian spam filter"
LangString bsfilter_description ${LANG_SPANISH} "bsfilter bayesian spam filter"
LangString desktop_shortcut_description ${LANG_SPANISH} "Se realiz el acceso directo al escritorio."
@@ -20,6 +22,7 @@ LangString un_sylpheed_description ${LANG_SPANISH} "el propio Sylpheed"
LangString un_plugins_description ${LANG_SPANISH} "Plug-ins for Sylpheed"
LangString un_sylpheed_pro_description ${LANG_SPANISH} "Sylpheed Pro Full-text Search Plug-in"
LangString un_attachment_tool_plugin_description ${LANG_SPANISH} "attachment_tool Plug-in"
+LangString un_autoenc_plugin_description ${LANG_SPANISH} "autoenc Plug-in"
LangString un_sylfilter_description ${LANG_SPANISH} "SylFilter bayesian spam filter"
LangString un_bsfilter_description ${LANG_SPANISH} "bsfilter bayesian spam filter"
LangString un_desktop_shortcut_description ${LANG_SPANISH} "Delete shortcut for Desktop (current user only)"
@@ -49,7 +52,8 @@ LangString progress ${LANG_SPANISH} "%skB (%d%%) of %skB @ %u.%01ukB/s"
LangString download_failed ${LANG_SPANISH} "Download Failed:"
LangString update_confirm ${LANG_SPANISH} "Update $(^NameDA)?"
LangString kill_and_update_confirm ${LANG_SPANISH} "Quit Sylpheed, and update $(^NameDA)?"
-LangString MUI_UNTEXT_FINISH_INFO_TEXT ${LANG_SPANISH} "$(^NameDA) ha sido desinstalado de su sistema.$\r$\n$\r$\nPero los datos de usuario existentes en $APPDATA\${PRODUCT_NAME} no han sido eliminados. $\r$\n$\r$\nPresione Terminar para cerrar este asistente."
+LangString un_confirmpage_text_top ${LANG_SPANISH} "$(^NameDA) will be uninstalled from the following folder. $_CLICK$\r$\n* The user data which exists in $APPDATA\${PRODUCT_NAME} will not be deleted."
+LangString MUI_UNTEXT_FINISH_INFO_TEXT ${LANG_SPANISH} "$(^NameDA) ha sido desinstalado de su sistema.$\r$\n$\r$\nPresione Terminar para cerrar este asistente."
;--------------------------------
; Localized strings for use with nsisunz
; The '%f' in the string is replaced with the filename on run-time.
diff --git a/nsis/sylpheed-defs.nsh b/nsis/sylpheed-defs.nsh
index b3bddd57..9e4fb63e 100644
--- a/nsis/sylpheed-defs.nsh
+++ b/nsis/sylpheed-defs.nsh
@@ -1,7 +1,8 @@
;!define SYLPHEED_PRO
+;!define HAVE_AUTOENC_PLUGIN
!define PRODUCT_NAME "Sylpheed"
-!define PRODUCT_VERSION "3.5"
+!define PRODUCT_VERSION "3.5.1"
!ifdef SYLPHEED_PRO
!define PRODUCT_PUBLISHER "SRA OSS, Inc. Japan"
@@ -19,7 +20,7 @@
!ifdef SYLPHEED_PRO
!define INST_NAME "Sylpheed Pro"
-!define INST_VERSION "2.5"
+!define INST_VERSION "2.5.1"
!define INST_FILENAME "Sylpheed_Pro"
!else
!define INST_NAME ${PRODUCT_NAME}
diff --git a/nsis/sylpheed.nsi b/nsis/sylpheed.nsi
index 5d65907d..86ae32a1 100644
--- a/nsis/sylpheed.nsi
+++ b/nsis/sylpheed.nsi
@@ -47,6 +47,7 @@ SetCompressor /SOLID lzma
; Uninstaller pages
!insertmacro MUI_UNPAGE_WELCOME
+!define MUI_UNCONFIRMPAGE_TEXT_TOP "$(un_confirmpage_text_top)"
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_COMPONENTS
!insertmacro MUI_UNPAGE_INSTFILES
@@ -131,6 +132,13 @@ ${MementoSection} "$(attachment_tool_plugin)" sec_attachment_tool_plugin
File "plugins\doc\plugins\README.attachment_tool.txt"
${MementoSectionEnd}
+!ifdef HAVE_AUTOENC_PLUGIN
+${MementoSection} "$(autoenc_plugin)" sec_autoenc_plugin
+ SetOutPath "$INSTDIR"
+ File /r "autoenc\"
+${MementoSectionEnd}
+!endif
+
SectionGroupEnd
${MementoSection} "sylfilter" sec_sylfilter
@@ -346,6 +354,18 @@ Section "un.$(attachment_tool_plugin)" sec_un_attachment_tool_plugin
Delete "$INSTDIR\doc\plugins\README.attachment_tool.txt"
SectionEnd
+!ifdef HAVE_AUTOENC_PLUGIN
+Section "un.$(autoenc_plugin)" sec_un_autoenc_plugin
+ Delete "$INSTDIR\plugins\autoenc.dll"
+ Delete "$INSTDIR\doc\autoenc\COPYING.txt"
+ Delete "$INSTDIR\doc\autoenc\README.autoenc.txt"
+ Delete "$INSTDIR\doc\autoenc\LICENSE.7-zip.txt"
+ RMDir "$INSTDIR\doc\autoenc"
+ Delete "$INSTDIR\7z.dll"
+ Delete "$INSTDIR\7z.exe"
+SectionEnd
+!endif
+
SectionGroupEnd
Section "un.sylfilter" sec_un_sylfilter
@@ -400,6 +420,9 @@ SectionEnd
!insertmacro MUI_DESCRIPTION_TEXT ${sec_sylpheed_pro} "$(sylpheed_pro_description)"
!endif
!insertmacro MUI_DESCRIPTION_TEXT ${sec_attachment_tool_plugin} "$(attachment_tool_plugin_description)"
+!ifdef HAVE_AUTOENC_PLUGIN
+ !insertmacro MUI_DESCRIPTION_TEXT ${sec_autoenc_plugin} "$(autoenc_plugin_description)"
+!endif
!insertmacro MUI_DESCRIPTION_TEXT ${sec_sylfilter} "$(sylfilter_description)"
!insertmacro MUI_DESCRIPTION_TEXT ${sec_bsfilter} "$(bsfilter_description)"
!insertmacro MUI_DESCRIPTION_TEXT ${sec_desktop_shortcut} "$(desktop_shortcut_description)"
@@ -413,6 +436,9 @@ SectionEnd
!insertmacro MUI_DESCRIPTION_TEXT ${sec_un_sylpheed_pro} "$(un_sylpheed_pro_description)"
!endif
!insertmacro MUI_DESCRIPTION_TEXT ${sec_un_attachment_tool_plugin} "$(un_attachment_tool_plugin_description)"
+!ifdef HAVE_AUTOENC_PLUGIN
+ !insertmacro MUI_DESCRIPTION_TEXT ${sec_un_autoenc_plugin} "$(un_autoenc_plugin_description)"
+!endif
!insertmacro MUI_DESCRIPTION_TEXT ${sec_un_sylfilter} "$(un_sylfilter_description)"
!insertmacro MUI_DESCRIPTION_TEXT ${sec_un_bsfilter} "$(un_bsfilter_description)"
!insertmacro MUI_DESCRIPTION_TEXT ${sec_un_desktop_shortcut} "$(un_desktop_shortcut_description)"
@@ -501,6 +527,13 @@ check_app_running:
!insertmacro SetSectionFlag ${sec_un_attachment_tool_plugin} ${SF_RO}
attachment_tool_plugin_file_exists:
+!ifdef HAVE_AUTOENC_PLUGIN
+ IfFileExists "$INSTDIR\plugins\autoenc.dll" autoenc_plugin_file_exists
+ !insertmacro UnselectSection ${sec_un_autoenc_plugin}
+ !insertmacro SetSectionFlag ${sec_un_autoenc_plugin} ${SF_RO}
+ autoenc_plugin_file_exists:
+!endif
+
IfFileExists "$INSTDIR\sylfilter.exe" sylfilter_file_exists
!insertmacro UnselectSection ${sec_un_sylfilter}
!insertmacro SetSectionFlag ${sec_un_sylfilter} ${SF_RO}