summaryrefslogtreecommitdiff
path: root/win/inspircd.nsi
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-07-09 01:53:07 -0400
committerAdam <Adam@anope.org>2012-07-09 01:53:07 -0400
commit6735f2da27df23ee34936a4b17727f4ba44c04e8 (patch)
treef98dfad166bc687843a38f40d43826ad4f3033a4 /win/inspircd.nsi
parent33b908aedc61d2bce3dcf8f062d6522e3bd14dfa (diff)
Fixed Windows build, int32_t is already defined in stdint.h.
Add GnuTLS support for Windows. Made NSIS script include extra DLL files if supplied and include the conf/aliases and conf/modules example configuration files. Added make_gnutls_cert.bat to generate GnuTLS certificates on Windows. Fixed typo in gnutlscert.pm.
Diffstat (limited to 'win/inspircd.nsi')
-rw-r--r--win/inspircd.nsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/win/inspircd.nsi b/win/inspircd.nsi
index e263f4561..1fa21c6f9 100644
--- a/win/inspircd.nsi
+++ b/win/inspircd.nsi
@@ -153,6 +153,10 @@ SectionEnd
Section "Config Files" SEC02
SetOutPath "$INSTDIR\conf"
File "..\docs\conf\*.example"
+ SetOutPath "$INSTDIR\conf\aliases"
+ File "..\docs\conf\aliases\*.example"
+ SetOutPath "$INSTDIR\conf\modules"
+ File "..\docs\conf\modules\modules.*"
SectionEnd
Section "Command Handlers" SEC03
@@ -163,6 +167,10 @@ SectionEnd
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
@@ -216,9 +224,13 @@ Section Uninstall
Delete "$INSTDIR\uninst.exe"
Delete "$INSTDIR\modules\*.so"
Delete "$INSTDIR\conf\*.example"
+ Delete "$INSTDIR\conf\aliases\*.example"
+ Delete "$INSTDIR\conf\modules\*.example"
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"