-; * +------------------------------------+
-; * | 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/>.
+;
+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
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
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
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"
RMDir "$SMPROGRAMS\InspIRCd"
RMDir "$INSTDIR\modules"
+ RMDir "$INSTDIR\conf\aliases"
+ RMDir "$INSTDIR\conf\modules"
RMDir "$INSTDIR\conf"
RMDir "$INSTDIR\logs"
RMDir "$INSTDIR\data"