; * | Inspire Internet Relay Chat Daemon |
; * +------------------------------------+
; *
-; * InspIRCd: (C) 2002-2007 InspIRCd Development Team
-; * See: http://www.inspircd.org/wiki/index.php/Credits
+; * InspIRCd: (C) 2002-2009 InspIRCd Development Team
+; * See: http://wiki.inspircd.org/Credits
; *
; * This program is free but copyrighted software; see
; * the file COPYING for details.
; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "InspIRCd"
-!define PRODUCT_VERSION "1.2"
+!define PRODUCT_VERSION "2.0"
!define PRODUCT_PUBLISHER "InspIRCd Development Team"
!define PRODUCT_WEB_SITE "http://www.inspircd.org/"
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\inspircd.exe"
SetOutPath "$INSTDIR\bin"
SetOverwrite ifnewer
File "..\bin\${BUILD}\bin\inspircd.exe"
+ DetailPrint "Installing InspIRCd service..."
+ nsExec::Exec /TIMEOUT=30000 '"$INSTDIR\bin\inspircd.exe" --installservice'
SectionEnd
Section "Config Files" SEC02
File "..\conf\inspircd.helpop.example"
File "..\conf\inspircd.filter.example"
File "..\conf\inspircd.conf.example"
+ File "..\conf\opers.conf.example"
+ File "..\conf\modules.conf.example"
+ File "..\conf\links.conf.example"
File "..\conf\inspircd.censor.example"
File "..\conf\inspircd.rules.example"
File "..\conf\inspircd.quotes.example"
+ SetOutPath "$INSTDIR\conf\test"
+ File "..\conf\test\test.conf"
SectionEnd
Section "Command Handlers" SEC03
FunctionEnd
Section Uninstall
+ DetailPrint "Uninstalling InspIRCd service..."
+ nsExec::Exec /TIMEOUT=30000 '"$INSTDIR\bin\inspircd.exe" --removeservice'
Delete "$INSTDIR\${PRODUCT_NAME}.url"
Delete "$INSTDIR\uninst.exe"
Delete "$INSTDIR\modules\m_*.so"