SF.net SVN: geany-plugins:[998] branches/geany-plugins/geany-plugins-0.18/ build/geany-plugins.nsi
eht16 at users.sourceforge.net
eht16 at xxxxx
Mon Oct 12 20:04:06 UTC 2009
Revision: 998
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=998&view=rev
Author: eht16
Date: 2009-10-12 20:04:06 +0000 (Mon, 12 Oct 2009)
Log Message:
-----------
Update for 0.18, install plugin dependencies as well
Modified Paths:
--------------
branches/geany-plugins/geany-plugins-0.18/build/geany-plugins.nsi
Modified: branches/geany-plugins/geany-plugins-0.18/build/geany-plugins.nsi
===================================================================
--- branches/geany-plugins/geany-plugins-0.18/build/geany-plugins.nsi 2009-10-12 19:47:07 UTC (rev 997)
+++ branches/geany-plugins/geany-plugins-0.18/build/geany-plugins.nsi 2009-10-12 20:04:06 UTC (rev 998)
@@ -31,14 +31,14 @@
; helper defines ;
;;;;;;;;;;;;;;;;;;;
!define PRODUCT_NAME "Geany-Plugins"
-!define PRODUCT_VERSION "0.17"
-!define PRODUCT_VERSION_ID "0.17.0.0"
+!define PRODUCT_VERSION "0.18"
+!define PRODUCT_VERSION_ID "0.18.0.0"
!define PRODUCT_PUBLISHER "The Geany developer team"
!define PRODUCT_WEB_SITE "http://www.geany.org/"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_DIR_REGKEY "Software\Geany-Plugins"
!define GEANY_DIR_REGKEY "Software\Geany"
-!define REQUIRED_GEANY_VERSION "0.17"
+!define REQUIRED_GEANY_VERSION "0.18"
!define RESOURCEDIR "geany-plugins-${PRODUCT_VERSION}"
;;;;;;;;;;;;;;;;;;;;;
@@ -99,6 +99,9 @@
SectionIn RO 1 2
SetOverwrite ifnewer
+ SetOutPath "$INSTDIR\"
+ File "${RESOURCEDIR}\ReadMe.Windows.txt"
+
SetOutPath "$INSTDIR\lib"
File /r "${RESOURCEDIR}\lib\*"
@@ -119,6 +122,13 @@
File /r "${RESOURCEDIR}\doc"
SectionEnd
+Section "Dependencies" SEC04
+ SectionIn 1
+ SetOverwrite ifnewer
+ SetOutPath "$INSTDIR"
+ File /r "contrib\"
+SectionEnd
+
Section -Post
WriteUninstaller "$INSTDIR\uninst-plugins.exe"
WriteRegStr SHCTX "${PRODUCT_DIR_REGKEY}" Path "$INSTDIR"
@@ -136,6 +146,7 @@
SectionEnd
Section Uninstall
+ Delete "$INSTDIR\ReadMe.Windows.txt"
Delete "$INSTDIR\uninst-plugins.exe"
Delete "$INSTDIR\lib\addons.dll"
Delete "$INSTDIR\lib\geanylatex.dll"
@@ -144,10 +155,16 @@
Delete "$INSTDIR\lib\geanysendmail.dll"
Delete "$INSTDIR\lib\geanyvc.dll"
Delete "$INSTDIR\lib\shiftcolumn.dll"
+ Delete "$INSTDIR\lib\spellcheck.dll"
+ Delete "$INSTDIR\bin\libenchant.dll"
+ Delete "$INSTDIR\bin\lua5.1.dll"
+
RMDir /r "$INSTDIR\doc\plugins"
RMDir /r "$INSTDIR\lib\geany-plugins"
RMDir /r "$INSTDIR\share\geany-plugins"
+ RMDir /r "$INSTDIR\lib\enchant"
+ RMDir /r "$INSTDIR\share\enchant"
FindFirst $0 $1 "$INSTDIR\share\locale\*"
loop:
@@ -182,6 +199,7 @@
!insertmacro MUI_DESCRIPTION_TEXT ${SEC01} "Required plugin files. You cannot skip these files."
!insertmacro MUI_DESCRIPTION_TEXT ${SEC02} "Various translations for the included plugins."
!insertmacro MUI_DESCRIPTION_TEXT ${SEC03} "Various documentation files for the included plugins."
+!insertmacro MUI_DESCRIPTION_TEXT ${SEC04} "Dependency files for various plugins (currently libenchant for Spell Check)."
!insertmacro MUI_FUNCTION_DESCRIPTION_END
;;;;;;;;;;;;;;;;;;;;;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list