From 2faf1b981972962e224d026870a56ef2531c46ff Mon Sep 17 00:00:00 2001 From: kichik Date: Thu, 5 Dec 2002 19:42:11 +0000 Subject: [PATCH] NSIS_CONFIG_ENHANCEDUI_SUPPORT is a must for MUI git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1898 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Modern UI/System.nsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Contrib/Modern UI/System.nsh b/Contrib/Modern UI/System.nsh index 0c183e50..afc75683 100644 --- a/Contrib/Modern UI/System.nsh +++ b/Contrib/Modern UI/System.nsh @@ -6,6 +6,11 @@ ;directory for examples of usage. ;-------------------------------- + +!ifndef NSIS_CONFIG_ENHANCEDUI_SUPPORT + !error "To use Modern UI you must have a NSIS version compiled with NSIS_CONFIG_ENHANCEDUI_SUPPORT (in Source/exehead/config.h)!" +!endif + !verbose 3 !ifndef MUI_MACROS_USED