summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win/inspircd-noextras.nsi6
-rw-r--r--win/inspircd.nsi6
2 files changed, 8 insertions, 4 deletions
diff --git a/win/inspircd-noextras.nsi b/win/inspircd-noextras.nsi
index aeca798e9..8115f1e14 100644
--- a/win/inspircd-noextras.nsi
+++ b/win/inspircd-noextras.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
@@ -215,7 +216,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"
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"