sphinx588
23rd July 2007 18:34 UTC
Plugin with extra supporting dll
I want to create a plugin (say test.dll) which will use functions from another dll, say base.dll. test.dll will be automatically included because I referenced it in the script, i.e. test::myFunc. But, how can I add the base.dll into the install package?
Red Wine
23rd July 2007 18:38 UTC
After the initialization of $PLUGINSDIR and before any call to test.dll with File instruction.
sphinx588
23rd July 2007 18:44 UTC
Thanks for the quick response. I am new to NSIS. Would you please tell me which command I should use to include the dll?
Thanks.
Red Wine
23rd July 2007 18:49 UTC
Function .onInit
initpluginsdir
file /oname=$PLUGINSDIR\base.dll "local_path\base.dll"
# other needed actions here
FunctionEnd
sphinx588
23rd July 2007 19:02 UTC
It works great! Thanks a lot.