Archive: Plugin with extra supporting dll


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?


After the initialization of $PLUGINSDIR and before any call to test.dll with File instruction.


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.


Function .onInit
initpluginsdir
file /oname=$PLUGINSDIR\base.dll "local_path\base.dll"
# other needed actions here
FunctionEnd

It works great! Thanks a lot.