Archive: using a plugin, which uses another dll


using a plugin, which uses another dll
Hi,

I have written an NSIS plugin. In its simple form, it is not linked with any other dlls, and works fine. When more features are added, I had to link this plugin with another dll. The plugin is generated successfully. When I use it in my NSIS script, the functionality is not performed, because it does not have the "dll", the plugin is refering.

One solution to this problem would be to link it statically. But I am not in a position to do that.

If I copy the dll to the Installer directory, the installer works fine. So I understand that the problem is with the dll. So can I distribute this dll with the installer? Or whats is the clean solution to this kind of problems?

Thanks a lot,
Lloyd


When you call a plug-in using the Plugin::Func syntax, the installer extracts the DLL to $PLUGINSDIR. Just extract the other DLL to $PLUGINSDIR first.

Stu


Thanks, it worked...