\r
; MUI Settings\r
!define MUI_ABORTWARNING\r
-!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\arrow2-install.ico"\r
-!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\arrow2-uninstall.ico"\r
+!define MUI_ICON "inspircd.ico"\r
+!define MUI_UNICON "inspircd.ico"\r
\r
; Welcome page\r
!insertmacro MUI_PAGE_WELCOME\r
MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer."\r
FunctionEnd\r
\r
+Function .onInit\r
+ SectionSetFlags ${SEC01} 17\r
+ SectionSetFlags ${SEC03} 17\r
+FunctionEnd\r
+\r
Function un.onInit\r
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES +2\r
Abort\r