X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=win%2Finspircd.nsi;h=117d1bc63b4f5183a2cb59de0aa88f297e5fa5d6;hb=82a3069c5604a8b815021532ebfcc98cb50c9c7d;hp=cafbd38b9d304544bcdeb5c9c9b6d0e8367943a9;hpb=02d9c24db72922923aa21752e9ac03c3c54afc5c;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/win/inspircd.nsi b/win/inspircd.nsi index cafbd38b9..117d1bc63 100644 --- a/win/inspircd.nsi +++ b/win/inspircd.nsi @@ -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" @@ -133,16 +133,20 @@ FunctionEnd Section "Binary Executable" SEC01 Call IsDotNetInstalled - SetOutPath "$INSTDIR" + SetOutPath "$TEMP" SetOverwrite ifnewer File "vcredist_x86.exe" - ExecWait "$INSTDIR\vcredist_x86.exe" + ExecWait "$TEMP\vcredist_x86.exe" + SetOutPath "$INSTDIR" + SetOverwrite ifnewer File "..\bin\${BUILD}\InspGUI.exe" CreateDirectory "$SMPROGRAMS\InspIRCd" CreateShortCut "$SMPROGRAMS\InspIRCd\InspIRCd.lnk" "$INSTDIR\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 @@ -151,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 @@ -242,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"