summaryrefslogtreecommitdiff
path: root/win/inspircd.nsi
diff options
context:
space:
mode:
Diffstat (limited to 'win/inspircd.nsi')
-rw-r--r--win/inspircd.nsi6
1 files changed, 4 insertions, 2 deletions
diff --git a/win/inspircd.nsi b/win/inspircd.nsi
index f21a8dd12..907b5082c 100644
--- a/win/inspircd.nsi
+++ b/win/inspircd.nsi
@@ -145,7 +145,8 @@ Section "Binary Executable" SEC01
SetOutPath "$INSTDIR\bin"
SetOverwrite ifnewer
File "..\bin\${BUILD}\bin\inspircd.exe"
- ExecWait '"$INSTDIR\bin\inspircd.exe" --installservice'
+ DetailPrint "Installing InspIRCd service..."
+ nsExec::Exec /TIMEOUT=30000 '"$INSTDIR\bin\inspircd.exe" --installservice'
SectionEnd
Section "Config Files" SEC02
@@ -245,7 +246,8 @@ Function un.onInit
FunctionEnd
Section Uninstall
- ExecWait '"$INSTDIR\bin\inspircd.exe" --removeservice'
+ 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"