; * | 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.1"
+!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"
Section "Binary Executable" SEC01
Call IsDotNetInstalled
+ SetOutPath "$TEMP"
+ SetOverwrite ifnewer
+ File "vcredist_x86.exe"
+ ExecWait "$TEMP\vcredist_x86.exe"
SetOutPath "$INSTDIR"
SetOverwrite ifnewer
File "..\bin\${BUILD}\InspGUI.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-full.example"
File "..\conf\inspircd.helpop.example"
File "..\conf\inspircd.filter.example"
- File "..\docs\inspircd.conf.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
File "..\bin\${BUILD}\bin\libopencdk-8.dll"
File "..\bin\${BUILD}\bin\libtasn1-3.dll"
SetOutPath "$INSTDIR\modules"
- File "d:\temp\m_ssl_gnutls.so"
- File "d:\temp\m_sslinfo.so"
- File "d:\temp\m_ssl_oper_cert.so"
+ File "c:\temp\m_ssl_gnutls.so"
+ File "c:\temp\m_sslinfo.so"
+ File "c:\temp\m_ssl_oper_cert.so"
SetOutPath "$INSTDIR\conf"
SetOverwrite off
File "key.pem"
SetOverwrite ifnewer
File "..\bin\${BUILD}\bin\pcre.dll"
SetOutPath "$INSTDIR\modules"
- File "d:\temp\m_filter_pcre.so"
+ File "c:\temp\m_filter_pcre.so"
SectionEnd
Section -AdditionalIcons
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"