size optimization - lzma exehead is now 33.5kb

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3593 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-08-06 11:05:48 +00:00
parent 09d09d59d7
commit 3181bf4b4d
4 changed files with 40 additions and 12 deletions

View file

@ -309,6 +309,28 @@ typedef struct
int install_directory_auto_append; // auto append part
} header;
#ifdef NSIS_SUPPORT_CODECALLBACKS
// callback indices
enum
{
CB_ONINIT,
CB_ONINSTSUCCESS,
CB_ONINSTFAILED,
CB_ONUSERABORT,
#ifdef NSIS_CONFIG_ENHANCEDUI_SUPPORT
CB_ONGUIINIT,
CB_ONGUIEND,
#endif
CB_ONVERIFYINSTDIR,
#ifdef NSIS_CONFIG_ENHANCEDUI_SUPPORT
CB_ONMOUSEOVERSECTION,
#endif
#ifdef NSIS_CONFIG_COMPONENTPAGE
CB_ONSELCHANGE
#endif//NSIS_CONFIG_COMPONENTPAGE
};
#endif//NSIS_SUPPORT_CODECALLBACKS
// used for section->flags
#define SF_SELECTED 1
#define SF_SUBSEC 2