summaryrefslogtreecommitdiff
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
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
-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"