]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - win/inspircd.nsi
Merge pull request #437 from SaberUK/insp20+doxygen-update
[user/henk/code/inspircd.git] / win / inspircd.nsi
index 421a6492e248671ad8b8dec70061b08d1b3bf2bd..e1ce0159f3fd5bd8f6f5e42c2bff69d2d12a204e 100644 (file)
@@ -1,14 +1,23 @@
-; *       +------------------------------------+
-; *       | Inspire Internet Relay Chat Daemon |
-; *       +------------------------------------+
-; *
-; *  InspIRCd: (C) 2002-2011 InspIRCd Development Team
-; * See: http://wiki.inspircd.org/Credits
-; *
-; * This program is free but copyrighted software; see
-; *            the file COPYING for details.
-; *
-; * ---------------------------------------------------
+;
+; InspIRCd -- Internet Relay Chat Daemon
+;
+;   Copyright (C) 2011 Adam <Adam@anope.org>
+;   Copyright (C) 2007 Dennis Friis <peavey@inspircd.org>
+;   Copyright (C) 2007 Craig Edwards <craigedwards@brainbox.cc>
+;
+; This file is part of InspIRCd.  InspIRCd is free software: you can
+; redistribute it and/or modify it under the terms of the GNU General Public
+; License as published by the Free Software Foundation, version 2.
+;
+; This program is distributed in the hope that it will be useful, but WITHOUT
+; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+; FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+; details.
+;
+; You should have received a copy of the GNU General Public License
+; along with this program.  If not, see <http://www.gnu.org/licenses/>.
+;
+
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
@@ -143,7 +152,11 @@ SectionEnd
 
 Section "Config Files" SEC02
   SetOutPath "$INSTDIR\conf"
-  File "..\docs\*.example"
+  File "..\docs\conf\*.example"
+  SetOutPath "$INSTDIR\conf\aliases"
+  File "..\docs\conf\aliases\*.example"
+  SetOutPath "$INSTDIR\conf\modules"
+  File "..\docs\conf\modules\*.example"
 SectionEnd
 
 Section "Command Handlers" SEC03
@@ -154,6 +167,10 @@ SectionEnd
 Section "Modules" SEC04
   SetOutPath "$INSTDIR\modules"
   File "..\bin\${BUILD}\modules\m_*.so"
+  ; Copy DLLs required for modules
+  SetOutPath "$INSTDIR"
+  File /nonfatal "*.dll"
+  File "make_gnutls_cert.bat"
 SectionEnd
 
 Section -AdditionalIcons
@@ -207,9 +224,15 @@ Section Uninstall
   Delete "$INSTDIR\uninst.exe"
   Delete "$INSTDIR\modules\*.so"
   Delete "$INSTDIR\conf\*.example"
+  Delete "$INSTDIR\conf\aliases\*.example"
+  Delete "$INSTDIR\conf\modules\*.example"
+  Delete "$INSTDIR\conf\modules\modules.conf.charybdis"
+  Delete "$INSTDIR\conf\modules\modules.conf.unreal"
   Delete "$INSTDIR\*.log"
   Delete "$INSTDIR\logs\*"
   Delete "$INSTDIR\data\*"
+  Delete "$INSTDIR\*.dll"
+  Delete "$INSTDIR\make_gnutls_cert.bat"
   Delete "$INSTDIR\inspircd.exe"
   Delete "$SMPROGRAMS\InspIRCd\Uninstall.lnk"
   Delete "$SMPROGRAMS\InspIRCd\InspIRCd Website.lnk"
@@ -217,6 +240,8 @@ Section Uninstall
 
   RMDir "$SMPROGRAMS\InspIRCd"
   RMDir "$INSTDIR\modules"
+  RMDir "$INSTDIR\conf\aliases"
+  RMDir "$INSTDIR\conf\modules"
   RMDir "$INSTDIR\conf"
   RMDir "$INSTDIR\logs"
   RMDir "$INSTDIR\data"