summaryrefslogtreecommitdiff
path: root/win/inspircd.nsi
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-25 16:11:01 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-25 16:11:01 +0000
commitf94a7ed598fab292f8c36bfe0f30aa08d9cc9594 (patch)
treee388bea20e24f8d0481c52365b57a1d37734597f /win/inspircd.nsi
parentc64ea906b98ba22962b31316f6ea06cdd48e75b3 (diff)
Tidy up in the nsis scripts, how it installs the service and removes it (hide the dos box, display informational text in the installer window)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10283 e03df62e-2008-0410-955e-edbf42e46eb7
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"