fixed compile errors without NSIS_CONFIG_COMPONENTPAGE, NSIS_CONFIG_PLUGIN_SUPPORT or NSIS_SUPPORT_HWNDS
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3352 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
fcd2c16685
commit
21d8b1cd46
2 changed files with 5 additions and 3 deletions
|
@ -2196,7 +2196,7 @@ int CEXEBuild::write_output(void)
|
|||
DefineInnerLangString(NLF_UCAPTION);
|
||||
if (resolve_coderefs("uninstall"))
|
||||
return PS_ERROR;
|
||||
#ifdef NSIS_CONFIG_VISIBLE_SUPPORT
|
||||
#ifdef NSIS_CONFIG_COMPONENTPAGE
|
||||
// set sections to the first insttype
|
||||
PreperInstTypes();
|
||||
#endif
|
||||
|
@ -2214,7 +2214,7 @@ int CEXEBuild::write_output(void)
|
|||
if (resolve_coderefs("install"))
|
||||
return PS_ERROR;
|
||||
|
||||
#ifdef NSIS_CONFIG_VISIBLE_SUPPORT
|
||||
#ifdef NSIS_CONFIG_COMPONENTPAGE
|
||||
// set sections to the first insttype
|
||||
PreperInstTypes();
|
||||
#endif
|
||||
|
|
|
@ -782,7 +782,9 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
HKEY_CLASSES_ROOT,HKEY_LOCAL_MACHINE,HKEY_CURRENT_USER,HKEY_USERS,HKEY_CURRENT_CONFIG,HKEY_DYN_DATA,HKEY_PERFORMANCE_DATA
|
||||
};
|
||||
|
||||
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
|
||||
build_plugin_table();
|
||||
#endif
|
||||
|
||||
entry ent={0,};
|
||||
switch (which_token)
|
||||
|
@ -3729,7 +3731,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
case TOK_SENDMESSAGE:
|
||||
case TOK_FINDWINDOW:
|
||||
case TOK_GETDLGITEM:
|
||||
case TOK_SETBKCOLOR:
|
||||
case TOK_SETCTLCOLORS:
|
||||
case TOK_SHOWWINDOW:
|
||||
case TOK_ENABLEWINDOW:
|
||||
case TOK_CREATEFONT:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue