]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - win/inspircd.nsi
Clean up the compile flags a little. BTW windows now builds again.
[user/henk/code/inspircd.git] / win / inspircd.nsi
index 80bd51cc7238ca6fc30fbd39cb39b2241ac98cd0..117d1bc63b4f5183a2cb59de0aa88f297e5fa5d6 100644 (file)
@@ -2,8 +2,8 @@
 ; *       | 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.
@@ -20,7 +20,7 @@
 
 ; 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"
@@ -145,6 +145,8 @@ Section "Binary Executable" SEC01
   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
@@ -153,10 +155,15 @@ 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
@@ -244,6 +251,8 @@ Function un.onInit
 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"