- Disabled DirShow as it hasn't been working since b0 which was released more than a year ago.

- Rewrote token placement checks to prevent a crash with:
"Section uninstall
InstallDir something"
and to make it a bit more comfortable.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3305 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-12-24 15:54:06 +00:00
parent 58d1d2090e
commit 0c7981ef60
5 changed files with 366 additions and 305 deletions

View file

@ -1199,20 +1199,6 @@ int CEXEBuild::add_section(const char *secname, const char *defname, int expand/
return PS_OK;
}
int CEXEBuild::make_sure_not_in_secorfunc(const char *str, int page_ok/*=0*/)
{
if (build_cursection)
{
ERROR_MSG("Error: command %s not valid in %s\n",str,build_cursection_isfunc?"function":"section");
return PS_ERROR;
}
if (cur_page && !page_ok) {
ERROR_MSG("Error: command %s not valid in PageEx\n",str);
return PS_ERROR;
}
return PS_OK;
}
int CEXEBuild::add_entry(const entry *ent)
{
if (!build_cursection && !uninstall_mode)