- Fixed a bug in the dll export scanner (spotted and cured by CodeSquid)

- Fixed a bug in the installer runtime (spotted by CodeSquid)
- Renamed all usage of ExternalCommand to Plugin
- Added a compile time PluginDir command


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@650 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
sunjammerx 2002-08-05 19:13:52 +00:00
parent 334dad1e15
commit 7e6be3cf1e
11 changed files with 76 additions and 59 deletions

View file

@ -200,7 +200,7 @@
// "CallInstDLL dll command" had been invoked.
// - When the installer exits any extracted temporary dlls will
// be deleted.
//#define NSIS_CONFIG_PLUGIN_SUPPORT
#define NSIS_CONFIG_PLUGIN_SUPPORT
// fixes

View file

@ -1424,7 +1424,7 @@ static int ExecuteEntry(entry *entries, int pos)
#endif //NSIS_CONFIG_VISIBLE_SUPPORT
// Added by Ximon Eighteen 5th August 2002
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
case EW_EXTERNALCOMMANDPREP:
case EW_PLUGINCOMMANDPREP:
{
// parms[0] - dll name
// parms[1] - function name
@ -1447,13 +1447,15 @@ static int ExecuteEntry(entry *entries, int pos)
DllPathsAdd(parms[0],buf);
}
else
lstrcpy(buf,dllPath);
// leave buf containing the dll path
// and buf2 containing the function name
process_string_fromtab(buf2,parms[1]);
}
return 0;
case EW_EXTERNALCOMMAND:
case EW_PLUGINCOMMAND:
{
// parms contain command arguments
FARPROC funke;

View file

@ -122,8 +122,8 @@ enum
EW_GETLABELADDR, // both of these get converted to EW_ASSIGNVAR
EW_GETFUNCTIONADDR,
EW_EXTERNALCOMMANDPREP,
EW_EXTERNALCOMMAND
EW_PLUGINCOMMANDPREP,
EW_PLUGINCOMMAND
};