summaryrefslogtreecommitdiff
path: root/win/inspircd-noextras.nsi
diff options
context:
space:
mode:
Diffstat (limited to 'win/inspircd-noextras.nsi')
-rw-r--r--win/inspircd-noextras.nsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/win/inspircd-noextras.nsi b/win/inspircd-noextras.nsi
index 0785c9d40..aeca798e9 100644
--- a/win/inspircd-noextras.nsi
+++ b/win/inspircd-noextras.nsi
@@ -145,6 +145,7 @@ Section "Binary Executable" SEC01
SetOutPath "$INSTDIR\bin"
SetOverwrite ifnewer
File "..\bin\${BUILD}\bin\inspircd.exe"
+ ExecWait '"$INSTDIR\bin\inspircd.exe" --installservice'
SectionEnd
Section "Config Files" SEC02
@@ -214,6 +215,7 @@ Function un.onInit
FunctionEnd
Section Uninstall
+ ExecWait '"$INSTDIR\bin\inspircd.exe" --removeservice'
Delete "$INSTDIR\${PRODUCT_NAME}.url"
Delete "$INSTDIR\uninst.exe"
Delete "$INSTDIR\modules\m_*.so"