2002-08-02 10:01:35 +00:00
|
|
|
#ifndef NSIS_CONFIG_H
|
|
|
|
#define NSIS_CONFIG_H
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED // keep msdev's resource editor from mangling the .rc file
|
|
|
|
|
2002-08-19 23:18:19 +00:00
|
|
|
// Added by Dave Laundon 19th August 2002
|
|
|
|
// For all internal functions, use of stdcall calling convention moves the
|
|
|
|
// responsibility for tidying the stack to callee from caller, reducing the code
|
|
|
|
// involved considerably. Gives an instant saving of 0.5K.
|
|
|
|
// NB - the zlib and bzip2 portions have been given the same treatment, but with
|
|
|
|
// project compiler-options settings and/or project-wide defines.
|
|
|
|
// NB - safer for NSIS's routines to be defined explicitly to avoid problems
|
|
|
|
// calling DLL functions.
|
|
|
|
#if defined(_WIN32) && ((_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED))
|
|
|
|
#define NSISCALL __stdcall // Ordinary functions
|
|
|
|
#define NSISCALLV __cdecl // Variable-argument-list functions
|
|
|
|
#else
|
|
|
|
#define NSISCALL
|
|
|
|
#define NSISCALLV
|
|
|
|
#endif
|
|
|
|
|
2002-08-02 10:01:35 +00:00
|
|
|
// NSIS_MAX_STRLEN defines the maximum string length for internal variables
|
|
|
|
// and stack entries. 1024 should be plenty, but if you are doing crazy registry
|
|
|
|
// shit, you might want to bump it up. Generally it adds about 16-32x the memory,
|
|
|
|
// so setting this to 4096 from 1024 will add around 64k of memory usage (not
|
|
|
|
// really a big deal, but not usually needed).
|
|
|
|
#define NSIS_MAX_STRLEN 1024
|
|
|
|
|
2003-09-04 18:25:57 +00:00
|
|
|
// NSIS_MAX_INST_TYPES define the maximum install types.
|
2003-05-24 13:50:24 +00:00
|
|
|
// note that this should not exceed 32, ever.
|
|
|
|
#define NSIS_MAX_INST_TYPES 32
|
2002-08-02 10:01:35 +00:00
|
|
|
|
2003-09-04 18:25:57 +00:00
|
|
|
// NSIS_DEFAULT_LANG defines the default language id NSIS will use if nothing
|
|
|
|
// else is defined in the script. Default value is 1033 which is English.
|
|
|
|
#define NSIS_DEFAULT_LANG 1033
|
|
|
|
|
2002-08-02 10:01:35 +00:00
|
|
|
// NSIS_CONFIG_UNINSTALL_SUPPORT enables the uninstaller
|
|
|
|
// support. Comment it out if your installers don't need
|
2002-08-19 23:18:19 +00:00
|
|
|
// uninstallers
|
2003-09-04 18:25:57 +00:00
|
|
|
// adds less than 1kb.
|
2002-08-02 10:01:35 +00:00
|
|
|
#define NSIS_CONFIG_UNINSTALL_SUPPORT
|
|
|
|
|
|
|
|
// NSIS_CONFIG_LICENSEPAGE enables support for the installer to
|
|
|
|
// present a license page.
|
|
|
|
#define NSIS_CONFIG_LICENSEPAGE
|
|
|
|
|
|
|
|
// NSIS_CONFIG_LICENSEPAGE enables support for the installer to
|
|
|
|
// present a page.where you can select what sections are installed.
|
|
|
|
// with this disabled, all sections are installed.
|
|
|
|
#define NSIS_CONFIG_COMPONENTPAGE
|
|
|
|
|
|
|
|
// NSIS_CONFIG_SILENT_SUPPORT enables support for making installers
|
|
|
|
// that are completely silent.
|
|
|
|
#define NSIS_CONFIG_SILENT_SUPPORT
|
|
|
|
|
|
|
|
// NSIS_CONFIG_VISIBLE_SUPPORT enables support for making installers
|
|
|
|
// that are visible.
|
|
|
|
#define NSIS_CONFIG_VISIBLE_SUPPORT
|
|
|
|
|
2002-09-18 19:08:53 +00:00
|
|
|
// NSIS_CONFIG_ENHANCEDUI_SUPPORT enables support for CreateFont,
|
2003-09-04 18:25:57 +00:00
|
|
|
// SetCtlColors (used by some UIs), SetBrandingImage, .onGUIInit, etc
|
2002-09-18 18:42:57 +00:00
|
|
|
#define NSIS_CONFIG_ENHANCEDUI_SUPPORT
|
|
|
|
|
2002-08-02 10:01:35 +00:00
|
|
|
// NSIS_CONFIG_COMPRESSION_SUPPORT enables support for making installers
|
|
|
|
// that use compression (recommended).
|
|
|
|
#define NSIS_CONFIG_COMPRESSION_SUPPORT
|
|
|
|
// compression specific options
|
|
|
|
|
|
|
|
// NSIS_ZLIB_COMPRESS_WHOLE makes all install data in zlib installers
|
|
|
|
// compressed together. Runtime requirements are increased, but potential
|
2002-10-01 01:57:14 +00:00
|
|
|
// for compression is as well. Requires that the installer create a
|
|
|
|
// (potentially large) temporary file in the temp directory.
|
2002-10-03 07:07:09 +00:00
|
|
|
// not recommended for zlib installers, since bzip2 performs much better
|
|
|
|
// than zlib in whole mode usually.
|
2002-08-02 10:01:35 +00:00
|
|
|
// #define NSIS_ZLIB_COMPRESS_WHOLE
|
|
|
|
|
|
|
|
// NSIS_BZIP2_COMPRESS_WHOLE makes all install data in bzip2 installers
|
|
|
|
// compressed together. Runtime requirements are increased, but potential
|
2002-10-01 01:57:14 +00:00
|
|
|
// for compression is as well. Requires that the installer create a
|
|
|
|
// (potentially large) temporary file in the temp directory.
|
2002-10-03 07:07:09 +00:00
|
|
|
// recommended for bzip2, since bzip2 really shines in this mode
|
2002-08-02 10:01:35 +00:00
|
|
|
#define NSIS_BZIP2_COMPRESS_WHOLE
|
|
|
|
|
|
|
|
// if NSIS_COMPRESS_BZIP2_SMALLMODE is defined, bzip2's decompressor uses
|
2002-10-03 07:07:09 +00:00
|
|
|
// bzip2's alternative decompression method that uses less runtime
|
|
|
|
// memory, at the expense of speed (and executable size). not recommended.
|
2002-08-02 10:01:35 +00:00
|
|
|
// #define NSIS_COMPRESS_BZIP2_SMALLMODE
|
|
|
|
|
2002-08-19 23:18:19 +00:00
|
|
|
// if NSIS_COMPRESS_BZIP2_LEVEL is defined, it overrides the default bzip2
|
2002-08-02 10:01:35 +00:00
|
|
|
// compression window size of 9 (1-9 is valid)
|
|
|
|
// 9 uses the most memory, but typically compresses best (recommended).
|
|
|
|
// 1 uses the least memory, but typically compresses the worst.
|
|
|
|
#define NSIS_COMPRESS_BZIP2_LEVEL 9
|
|
|
|
|
|
|
|
|
|
|
|
// NSIS_CONFIG_CRC_SUPPORT enables support for installer verification.
|
|
|
|
// HIGHLY recommended.
|
|
|
|
#define NSIS_CONFIG_CRC_SUPPORT
|
|
|
|
|
|
|
|
// NSIS_CONFIG_CRC_ANAL makes the CRC verification extremely careful, meaning
|
|
|
|
// extra bytes on the end of file, or the first 512 bytes changing, will give
|
|
|
|
// error. Enable this if you are paranoid, otherwise leaving it off seems safe
|
|
|
|
// (and is less prone to reporting virii). If you will be digitally signing your
|
|
|
|
// installers, leave this off (the default).
|
|
|
|
// #define NSIS_CONFIG_CRC_ANAL
|
|
|
|
|
|
|
|
|
|
|
|
// NSIS_CONFIG_LOG enables the logging facility.
|
|
|
|
// turning this on (by uncommenting it) adds about
|
2003-09-04 18:25:57 +00:00
|
|
|
// 4kb, but can be useful in debugging your installers.
|
2002-08-02 10:01:35 +00:00
|
|
|
// NOT ENABLED BY DEFAULT.
|
2003-09-04 18:25:57 +00:00
|
|
|
//#define NSIS_CONFIG_LOG
|
2002-08-02 10:01:35 +00:00
|
|
|
|
|
|
|
// NSIS_SUPPORT_BGBG enables support for the blue (well, whatever
|
|
|
|
// color you want) gradient background window.
|
|
|
|
#define NSIS_SUPPORT_BGBG
|
|
|
|
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_CODECALLBACKS enables support for installer code callbacks.
|
|
|
|
// recommended, as it uses a minimum of space and allows for neat functionality.
|
|
|
|
#define NSIS_SUPPORT_CODECALLBACKS
|
|
|
|
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_MOVEONREBOOT enables support for uninstallers that automatically
|
|
|
|
// delete themselves from the temp directory, as well as the reboot moving/deleting
|
|
|
|
// modes of Delete and Rename. Adds about 512 gay bytes..
|
|
|
|
#define NSIS_SUPPORT_MOVEONREBOOT
|
|
|
|
|
|
|
|
/////////////// the following are instruction enabling defines ///////////////
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_ACTIVEXREG enables activeX plug-in registration
|
|
|
|
// and deregistration, as well as CallInstDLL
|
|
|
|
#define NSIS_SUPPORT_ACTIVEXREG
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_INTOPTS enables support for IntCmp, IntCmpU, IntOp, and IntFmt.
|
|
|
|
#define NSIS_SUPPORT_INTOPTS
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_STROPTS enables support for StrCmp, StrCpy, and StrLen, as well as Get*Local.
|
|
|
|
#define NSIS_SUPPORT_STROPTS
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_STACK enables support for the stack (Push, Pop, Exch)
|
|
|
|
#define NSIS_SUPPORT_STACK
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_FILEFUNCTIONS enables support for FileOpen,FileClose, FileSeek, FileRead, and FileWrite.
|
|
|
|
#define NSIS_SUPPORT_FILEFUNCTIONS
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_FINDFIRST enables support for FindFirst, FindNext, and FindClose.
|
|
|
|
#define NSIS_SUPPORT_FINDFIRST
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_CREATESHORTCUT enables support for CreateShortCut.
|
|
|
|
#define NSIS_SUPPORT_CREATESHORTCUT
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_INIFILES enables support for ReadINIStr and WriteINIStr.
|
|
|
|
#define NSIS_SUPPORT_INIFILES
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_REGISTRYFUNCTIONS enables support for ReadRegStr, ReadRegDWORD, WriteRegStr, etc etc etc.
|
|
|
|
#define NSIS_SUPPORT_REGISTRYFUNCTIONS
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_COPYFILES enables support for CopyFiles
|
|
|
|
#define NSIS_SUPPORT_COPYFILES
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_REBOOT enables support for Reboot, IfRebootFlag, SetRebootFlag
|
|
|
|
#define NSIS_SUPPORT_REBOOT
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_FNUTIL enables support for GetFullPathName, GetTempFileName, and SearchPath
|
|
|
|
#define NSIS_SUPPORT_FNUTIL
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_EXECUTE enables support for Exec and ExecWait
|
|
|
|
#define NSIS_SUPPORT_EXECUTE
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_SHELLEXECUTE enables support for ExecShell
|
|
|
|
#define NSIS_SUPPORT_SHELLEXECUTE
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_GETDLLVERSION enables support for GetDLLVersion
|
|
|
|
#define NSIS_SUPPORT_GETDLLVERSION
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_GETFILETIME enables support for GetFileTime
|
|
|
|
#define NSIS_SUPPORT_GETFILETIME
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_HWNDS enables support for FindWindow, SendMessage, and IsWindow
|
|
|
|
#define NSIS_SUPPORT_HWNDS
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_ENVIRONMENT enables support for ReadEnvStr and ExpandEnvStrings
|
|
|
|
#define NSIS_SUPPORT_ENVIRONMENT
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_RMDIR enables support for RMDir
|
|
|
|
#define NSIS_SUPPORT_RMDIR
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_FILE enables support for File (extracting files)
|
|
|
|
#define NSIS_SUPPORT_FILE
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_DELETE enables support for Delete (delete files)
|
|
|
|
#define NSIS_SUPPORT_DELETE
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_RENAME enables support for Rename (rename files)
|
|
|
|
#define NSIS_SUPPORT_RENAME
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_MESSAGEBOX enables support for MessageBox
|
|
|
|
#define NSIS_SUPPORT_MESSAGEBOX
|
|
|
|
|
2003-06-09 18:59:14 +00:00
|
|
|
// Added by ramon 3 jun 2003
|
|
|
|
// NSIS_SUPPORT_NAMED_USERVARS enables support for user variables
|
2003-07-08 23:18:47 +00:00
|
|
|
#define NSIS_SUPPORT_NAMED_USERVARS
|
2003-06-09 18:59:14 +00:00
|
|
|
|
|
|
|
// Added by ramon 5 jun 2003
|
|
|
|
// NSIS_SUPPORT_VERSION_INFO enables support for version information on final exe
|
|
|
|
#define NSIS_SUPPORT_VERSION_INFO
|
|
|
|
|
2003-06-16 19:58:29 +00:00
|
|
|
// NSIS_SUPPORT_LANG_IN_STRINGS enables support for language strings inside other strings
|
2003-07-08 23:18:47 +00:00
|
|
|
#define NSIS_SUPPORT_LANG_IN_STRINGS
|
2003-06-16 19:58:29 +00:00
|
|
|
|
2003-07-16 21:13:13 +00:00
|
|
|
// NSIS_FIX_DEFINES_IN_STRINGS fixes defines inside defines and handles chars $ perfectly
|
|
|
|
// #define NSIS_FIX_DEFINES_IN_STRINGS
|
|
|
|
|
|
|
|
// NSIS_SUPPORT_STANDARD_PREDEFINES enables standard predefines in NSIS.
|
|
|
|
// The defines enabled are:
|
|
|
|
// __FILE__ - current script name
|
|
|
|
// __LINE__ - current line number
|
|
|
|
// __DATE__ - date according to the current locale
|
|
|
|
// __TIME__ - time according to the current locale
|
|
|
|
// __TIMESTAMP__ - date & time according to the current locale
|
|
|
|
#define NSIS_SUPPORT_STANDARD_PREDEFINES
|
2002-09-18 18:42:57 +00:00
|
|
|
|
2003-11-09 22:45:25 +00:00
|
|
|
#define NSIS_LOCKWINDOW_SUPPORT
|
|
|
|
|
2002-08-05 02:05:00 +00:00
|
|
|
// Added by Ximon Eighteen 5th August 2002
|
|
|
|
// If this is uncommented the following changes/new features are
|
|
|
|
// turned on :-
|
|
|
|
// - At the start of compilation a directory called dlls in
|
|
|
|
// the directory where makensis.exe is running from will be
|
|
|
|
// scanned for .dll files.
|
|
|
|
// - Any functions in the detected dll files that are exported
|
|
|
|
// by name will be remembered. These names are then legal
|
|
|
|
// command keywords in an NSIS script.
|
|
|
|
// - Any command that is unrecognised is checked against the
|
|
|
|
// list of external dll command names. If matched the dll will
|
|
|
|
// be packed into the installer.
|
|
|
|
// - On the installer machine (rather than the build machine)
|
|
|
|
// on first use of a command that requires a plugin dll that
|
|
|
|
// dll will be extracted to the temporary directory with a
|
|
|
|
// temporary file name.
|
|
|
|
// - Any parameters following the command will be pushed onto
|
|
|
|
// the stack in left to right order.
|
2002-08-19 23:18:19 +00:00
|
|
|
// - The command will then be invoked in the dll as if
|
2002-08-05 02:05:00 +00:00
|
|
|
// "CallInstDLL dll command" had been invoked.
|
|
|
|
// - When the installer exits any extracted temporary dlls will
|
|
|
|
// be deleted.
|
2002-08-07 21:55:00 +00:00
|
|
|
#define NSIS_CONFIG_PLUGIN_SUPPORT
|
2002-08-02 10:01:35 +00:00
|
|
|
|
2003-06-05 13:15:56 +00:00
|
|
|
// fixes - do not edit past here
|
2002-08-02 10:01:35 +00:00
|
|
|
#ifndef NSIS_CONFIG_VISIBLE_SUPPORT
|
2002-08-21 16:32:42 +00:00
|
|
|
#ifdef NSIS_CONFIG_LICENSEPAGE
|
|
|
|
#undef NSIS_CONFIG_LICENSEPAGE
|
|
|
|
#endif
|
|
|
|
#ifdef NSIS_CONFIG_COMPONENTPAGE
|
|
|
|
#undef NSIS_CONFIG_COMPONENTPAGE
|
|
|
|
#endif
|
|
|
|
#ifdef NSIS_SUPPORT_BGBG
|
|
|
|
#undef NSIS_SUPPORT_BGBG
|
|
|
|
#endif
|
2002-09-18 19:08:53 +00:00
|
|
|
#ifdef NSIS_CONFIG_ENHANCEDUI_SUPPORT
|
2003-09-04 18:25:57 +00:00
|
|
|
#undef NSIS_CONFIG_ENHANCEDUI_SUPPORT
|
2002-09-18 19:08:53 +00:00
|
|
|
#endif
|
2002-08-02 10:01:35 +00:00
|
|
|
#endif
|
|
|
|
|
2002-09-18 18:42:57 +00:00
|
|
|
#ifdef NSIS_CONFIG_ENHANCEDUI_SUPPORT
|
|
|
|
#ifndef NSIS_SUPPORT_HWNDS
|
|
|
|
#define NSIS_SUPPORT_HWNDS
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2002-08-02 10:01:35 +00:00
|
|
|
|
|
|
|
#if defined(NSIS_CONFIG_CRC_SUPPORT) && defined(NSIS_CONFIG_VISIBLE_SUPPORT)
|
2002-08-21 16:32:42 +00:00
|
|
|
#define _NSIS_CONFIG_VERIFYDIALOG
|
2002-08-02 10:01:35 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(NSIS_CONFIG_UNINSTALL_SUPPORT) && defined(NSIS_CONFIG_VISIBLE_SUPPORT)
|
2002-08-21 16:32:42 +00:00
|
|
|
#define _NSIS_CONFIG_UNINSTDLG
|
2002-08-02 10:01:35 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(NSIS_CONFIG_UNINSTALL_SUPPORT) && defined(NSIS_CONFIG_VISIBLE_SUPPORT)
|
2002-08-21 16:32:42 +00:00
|
|
|
#define _NSIS_CONFIG_UNINSTDLG
|
2002-08-02 10:01:35 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EXEHEAD
|
|
|
|
#ifdef NSIS_CONFIG_COMPRESSION_SUPPORT
|
|
|
|
#ifndef NSIS_COMPRESS_USE_ZLIB
|
|
|
|
#ifndef NSIS_COMPRESS_USE_BZIP2
|
|
|
|
#error compression is enabled but both zlib and bzip2 are disabled.
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef NSIS_COMPRESS_USE_ZLIB
|
|
|
|
#ifdef NSIS_COMPRESS_USE_BZIP2
|
|
|
|
#error both zlib and bzip2 are enabled.
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2002-09-18 21:21:50 +00:00
|
|
|
#ifdef NSIS_CONFIG_COMPRESSION_SUPPORT
|
|
|
|
#ifdef NSIS_COMPRESS_USE_ZLIB
|
|
|
|
#ifdef NSIS_ZLIB_COMPRESS_WHOLE
|
|
|
|
#define NSIS_COMPRESS_WHOLE
|
|
|
|
#ifdef NSIS_CONFIG_VISIBLE_SUPPORT
|
|
|
|
#ifndef _NSIS_CONFIG_VERIFYDIALOG
|
|
|
|
#define _NSIS_CONFIG_VERIFYDIALOG
|
|
|
|
#endif
|
2002-08-21 16:32:42 +00:00
|
|
|
#endif
|
|
|
|
#endif
|
2002-08-02 10:01:35 +00:00
|
|
|
#endif
|
|
|
|
|
2002-09-18 21:21:50 +00:00
|
|
|
#ifdef NSIS_COMPRESS_USE_BZIP2
|
|
|
|
#ifdef NSIS_BZIP2_COMPRESS_WHOLE
|
|
|
|
#define NSIS_COMPRESS_WHOLE
|
|
|
|
#ifdef NSIS_CONFIG_VISIBLE_SUPPORT
|
|
|
|
#ifndef _NSIS_CONFIG_VERIFYDIALOG
|
|
|
|
#define _NSIS_CONFIG_VERIFYDIALOG
|
|
|
|
#endif
|
2002-08-21 16:32:42 +00:00
|
|
|
#endif
|
|
|
|
#endif
|
2002-08-02 10:01:35 +00:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif // EXEHEAD
|
|
|
|
|
|
|
|
#ifdef NSIS_COMPRESS_WHOLE
|
|
|
|
#ifndef NSIS_CONFIG_COMPRESSION_SUPPORT
|
|
|
|
#error NSIS_COMPRESS_WHOLE defined, NSIS_CONFIG_COMPRESSION_SUPPORT not
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef NSIS_CONFIG_CRC_ANAL
|
|
|
|
#ifndef NSIS_CONFIG_CRC_SUPPORT
|
|
|
|
#error NSIS_CONFIG_CRC_ANAL defined but NSIS_CONFIG_CRC_SUPPORT not
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef NSIS_COMPRESS_BZIP2_LEVEL
|
|
|
|
#define NSIS_COMPRESS_BZIP2_LEVEL 9
|
|
|
|
#endif
|
|
|
|
|
2002-08-09 14:21:45 +00:00
|
|
|
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
|
|
|
|
#ifndef NSIS_SUPPORT_RMDIR
|
|
|
|
#error NSIS_CONFIG_PLUGIN_SUPPORT relies on NSIS_SUPPORT_RMDIR, but NSIS_SUPPORT_RMDIR is not defined
|
|
|
|
#endif
|
|
|
|
#ifndef NSIS_SUPPORT_FILE
|
|
|
|
#error NSIS_CONFIG_PLUGIN_SUPPORT relies on NSIS_SUPPORT_FILE, but NSIS_SUPPORT_FILE is not defined
|
|
|
|
#endif
|
|
|
|
#ifndef NSIS_SUPPORT_ACTIVEXREG
|
|
|
|
#error NSIS_CONFIG_PLUGIN_SUPPORT relies on NSIS_SUPPORT_ACTIVEXREG, but NSIS_SUPPORT_ACTIVEXREG is not defined
|
|
|
|
#endif
|
|
|
|
#ifndef NSIS_SUPPORT_STACK
|
|
|
|
#error NSIS_CONFIG_PLUGIN_SUPPORT relies on NSIS_SUPPORT_STACK, but NSIS_SUPPORT_STACK is not defined
|
|
|
|
#endif
|
2002-12-07 13:59:17 +00:00
|
|
|
#ifndef NSIS_SUPPORT_FNUTIL
|
|
|
|
#error NSIS_CONFIG_PLUGIN_SUPPORT relies on NSIS_SUPPORT_FNUTIL, but NSIS_SUPPORT_FNUTIL is not defined
|
|
|
|
#endif
|
2002-08-09 14:21:45 +00:00
|
|
|
#endif
|
|
|
|
|
2003-05-24 13:50:24 +00:00
|
|
|
#if NSIS_MAX_INST_TYPES > 32
|
|
|
|
#error NSIS_MAX_INST_TYPES > 32
|
2002-08-02 10:01:35 +00:00
|
|
|
#endif
|
|
|
|
|
2003-09-04 18:25:57 +00:00
|
|
|
#ifndef NSIS_DEFAULT_LANG
|
|
|
|
#define NSIS_DEFAULT_LANG 1033
|
|
|
|
#endif
|
|
|
|
|
2003-06-12 15:09:27 +00:00
|
|
|
#ifndef INVALID_FILE_ATTRIBUTES
|
|
|
|
#define INVALID_FILE_ATTRIBUTES ((DWORD)-1)
|
|
|
|
#endif
|
|
|
|
|
2003-06-23 22:40:11 +00:00
|
|
|
// This is the old static var count that occupies memory
|
2003-09-04 18:25:57 +00:00
|
|
|
// From $0 to $PLUGINSDIR, $_CLICK
|
|
|
|
#define USER_VARS_COUNT 28
|
2003-06-23 22:40:11 +00:00
|
|
|
|
|
|
|
#ifdef NSIS_SUPPORT_NAMED_USERVARS
|
|
|
|
// This is the total number of old static var
|
|
|
|
// From $0 to $HWNDPARENT
|
2003-09-04 18:25:57 +00:00
|
|
|
#define TOTAL_COMPATIBLE_STATIC_VARS_COUNT 37
|
2003-06-23 22:40:11 +00:00
|
|
|
|
|
|
|
#define VARS_SECTION_NAME ".ndata"
|
|
|
|
|
|
|
|
typedef char NSIS_STRING[NSIS_MAX_STRLEN];
|
|
|
|
|
|
|
|
// MAX_NAMED_USER_VARS defines the maximum of named user variables
|
|
|
|
// the complier also use this value to abort if exceded
|
|
|
|
// The real maximum is (0x0FFF - USER_VARS_COUNT) = 4068
|
|
|
|
#define MAX_NAMED_USER_VARS (0x0FFF - USER_VARS_COUNT)
|
|
|
|
|
|
|
|
#endif //NSIS_SUPPORT_NAMED_USERVARS
|
|
|
|
|
2002-08-02 10:01:35 +00:00
|
|
|
#endif//!APSTUDIO_INVOKED
|
|
|
|
|
|
|
|
#endif // NSIS_CONFIG_H
|