diff options
-rw-r--r-- | win/inspircd.nsi | 5 |
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
|