diff --git a/Contrib/Modern UI/System.nsh b/Contrib/Modern UI/System.nsh index 2844976a..e8acb7f9 100644 --- a/Contrib/Modern UI/System.nsh +++ b/Contrib/Modern UI/System.nsh @@ -2048,7 +2048,9 @@ Var MUI_TEMP2 !macro MUI_INSERT - !insertmacro MUI_NSISCONF + !ifdef MUI_INSERT_NSISCONF + !insertmacro MUI_NSISCONF + !endif !ifdef MUI_PRODUCT | MUI_VERSION !warning "The MUI_PRODUCT and MUI_VERSION defines have been removed. Use a normal Name command now." diff --git a/nsisconf.nsh b/nsisconf.nsh index 12eede50..a550fd7a 100644 --- a/nsisconf.nsh +++ b/nsisconf.nsh @@ -48,6 +48,8 @@ ;------------------------ +!define MUI_INSERT_NSISCONF + !macro MUI_NSISCONF ;Example: Change the default Modern UI icons