summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-26 13:58:28 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-26 13:58:28 +0000
commit59fc682eb16c386ceee2ae13b19dbf5cdac05bc8 (patch)
treec4705c34dd6167ded4b5eec8c0262c60b0635903 /win
parent574474463aedad20b662935e969564fd7ddfdbbb (diff)
Make two sections "Binaries" and "command handlers" manditory - you won't have a working ircd if you don't install them
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7148 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'win')
-rw-r--r--win/inspircd.nsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/win/inspircd.nsi b/win/inspircd.nsi
index 7750cc83a..9fb79c0dd 100644
--- a/win/inspircd.nsi
+++ b/win/inspircd.nsi
@@ -187,6 +187,11 @@ Function un.onUninstSuccess
MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer."
FunctionEnd
+Function .onInit
+ SectionSetFlags ${SEC01} 17
+ SectionSetFlags ${SEC03} 17
+FunctionEnd
+
Function un.onInit
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES +2
Abort