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:
kichik 2004-01-04 17:25:59 +00:00
parent fcd2c16685
commit 21d8b1cd46
2 changed files with 5 additions and 3 deletions

View file

@ -2196,7 +2196,7 @@ int CEXEBuild::write_output(void)
DefineInnerLangString(NLF_UCAPTION); DefineInnerLangString(NLF_UCAPTION);
if (resolve_coderefs("uninstall")) if (resolve_coderefs("uninstall"))
return PS_ERROR; return PS_ERROR;
#ifdef NSIS_CONFIG_VISIBLE_SUPPORT #ifdef NSIS_CONFIG_COMPONENTPAGE
// set sections to the first insttype // set sections to the first insttype
PreperInstTypes(); PreperInstTypes();
#endif #endif
@ -2214,7 +2214,7 @@ int CEXEBuild::write_output(void)
if (resolve_coderefs("install")) if (resolve_coderefs("install"))
return PS_ERROR; return PS_ERROR;
#ifdef NSIS_CONFIG_VISIBLE_SUPPORT #ifdef NSIS_CONFIG_COMPONENTPAGE
// set sections to the first insttype // set sections to the first insttype
PreperInstTypes(); PreperInstTypes();
#endif #endif

View file

@ -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 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(); build_plugin_table();
#endif
entry ent={0,}; entry ent={0,};
switch (which_token) switch (which_token)
@ -3729,7 +3731,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
case TOK_SENDMESSAGE: case TOK_SENDMESSAGE:
case TOK_FINDWINDOW: case TOK_FINDWINDOW:
case TOK_GETDLGITEM: case TOK_GETDLGITEM:
case TOK_SETBKCOLOR: case TOK_SETCTLCOLORS:
case TOK_SHOWWINDOW: case TOK_SHOWWINDOW:
case TOK_ENABLEWINDOW: case TOK_ENABLEWINDOW:
case TOK_CREATEFONT: case TOK_CREATEFONT: