summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-13 21:08:56 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-13 21:08:56 +0000
commit77c1607bfc5297238cfbb54091e05f87b1f5188a (patch)
treef82eda2350163150df7a01ccad0ae66019a9675f /win
parent577e48e540b3a02a5dd1f24a04b985e31a20ec48 (diff)
Nasty kludge to allow for optional install of ssl:
If the user doesnt have the ssl box ticked, the ssl modules are installed but immediately deleted by the installer, and the gnutls dlls are not installed. If the user does have the box ticked (default) the ssl section immediately puts the ssl modules back again, and then installs the gnutls libs (ick) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7294 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'win')
-rw-r--r--win/inspircd.nsi16
1 files changed, 12 insertions, 4 deletions
diff --git a/win/inspircd.nsi b/win/inspircd.nsi
index 1e208345d..abbaef1d1 100644
--- a/win/inspircd.nsi
+++ b/win/inspircd.nsi
@@ -162,7 +162,17 @@ SectionEnd
Section "Modules" SEC04
SetOutPath "$INSTDIR\modules"
- File "..\bin\${BUILD}\modules\*.so"
+ File "..\bin\${BUILD}\modules\m_*.so"
+ Delete "$INSTDIR\bin\*.dll"
+ Delete "$INSTDIR\modules\m_ssl*.so"
+SectionEnd
+
+Section "SSL Modules" SEC05
+ SetOutPath "$INSTDIR\bin"
+ SetOverwrite ifnewer
+ File "..\bin\${BUILD}\bin\*.dll"
+ SetOutPath "$INSTDIR\modules"
+ File "..\bin\${BUILD}\modules\m_ssl*.so"
SectionEnd
Section -AdditionalIcons
@@ -223,8 +233,8 @@ Section Uninstall
Delete "$INSTDIR\conf\inspircd.helpop-full.example"
Delete "$INSTDIR\conf\inspircd.motd.example"
Delete "$INSTDIR\bin\inspircd.exe"
+ Delete "$INSTDIR\bin\*.dll"
Delete "$INSTDIR\InspGUI.exe"
-
Delete "$SMPROGRAMS\InspIRCd\Uninstall.lnk"
Delete "$SMPROGRAMS\InspIRCd\InspIRCd Website.lnk"
Delete "$SMPROGRAMS\InspIRCd\InspIRCd.lnk"
@@ -240,5 +250,3 @@ Section Uninstall
DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
SetAutoClose true
SectionEnd
-
-Page directory