diff options
-rw-r--r-- | win/inspircd-noextras.nsi | 2 | ||||
-rw-r--r-- | win/inspircd.nsi | 2 |
2 files changed, 4 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" diff --git a/win/inspircd.nsi b/win/inspircd.nsi index 764658209..f21a8dd12 100644 --- a/win/inspircd.nsi +++ b/win/inspircd.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 @@ -244,6 +245,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" |