My step:
!addplugindir '.\Plugins'Plugin not found, cannot call ExecDos::execso, how to add plugin correctly?
Please put plugin to build/ARCH directory where ARCH it is x86-unicode or x86-ansi.
build dir it is build resources directory.
Please put plugin to
build/ARCHdirectory whereARCHit isx86-unicodeorx86-ansi.
builddir it is build resources directory.
I had put plugin into build directory, but still not found the plugin.
Error output:
Plugin not found, cannot call SimpleSC::InstallService
@develar First of all, this shouldn't be closed because it doesn't work. There are multiple issues opened and I'm not sure why no one is trying to fix them.
So, can you please make an optional flag somewhere in the yml file where we can provide a custom path in which we can keep plugins, includes etc? Would really appreciate the answer on this one and I'm sure, many other people.
This problem blocked me too
PR or donation welcome. Currently I am overwhelmed.
electron-builder cache nsis stuff in AppData, so copy plugins into that dir will work.
Maybe download nsis into the current project build directory is better. It doesn't take much disk space, and convenient to modify installer.
I have the same problem
when I use "script": "setup.nsi" in the electron-builder.json file, the plugin folder is not recognized from build/x86-ansi, its searching for plugins in AppData\Local\electron-builder\Cache\nsis\nsis-3.0.4.1\Pluginsx86-ansi
and when I use "include": "installer.nsh", the plugins are loaded from build/x86-ansi (or x86-unicode)
I tried !addPlugindir with no success
Most helpful comment
@develar First of all, this shouldn't be closed because it doesn't work. There are multiple issues opened and I'm not sure why no one is trying to fix them.
So, can you please make an optional flag somewhere in the yml file where we can provide a custom path in which we can keep plugins, includes etc? Would really appreciate the answer on this one and I'm sure, many other people.