question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to add plugin for nsis package?

See original GitHub issue
  • Version: 19.49.2
  • Target: I want to use a plugin: http://nsis.sourceforge.net/ExecDos_plug-in.

My step:

  • I download the plugin zip
  • unzip and got “Plugins” dir
  • I copy the “Plugins” dir to my custom include file location dir
  • In my custom include file, I add !addplugindir '.\Plugins'
  • use Exec-dosc::exec.
  • throw Error: Plugin not found, cannot call ExecDos::exec

so, how to add plugin correctly?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
agjscommented, May 1, 2019

@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.

  1. Putting plugins in the build folder doesn’t work.
  2. Also, even if it did, keeping this stuff in the build folder makes no sense because for many people, build folder is an eventual target where production files are built.

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.

1reaction
wuulicommented, Apr 8, 2022

Works for me. use !addplugindir ${PROJECT_DIR}\installer\plugins, and put plugin into directory ${PROJECT_DIR}\installer\plugins. You can change installer\plugins to any directory you want in project

Read more comments on GitHub >

github_iconTop Results From Across the Web

Talk:How can I install a plugin? - NSIS Wiki
I needed to install "Dialogs" plugin, which is not included in NSIS distribution; Installation information is missing in the plugin's "readme.
Read more >
New to NSIS, Installing a plugin - NSIS Forums
In the Inetc package you get 3 folders - \Contrib, \Plugins, and \Unicode. I've left the Unicode one there, and copied the Contrib...
Read more >
How to add a DLL Plugin without NSH file into my NSIS script?
Plugin I'm trying to use is HwInfo plug-in (Official Link). The ZIP file comes with some source codes and a DLL file. I...
Read more >
NSIS Plug-ins - Visual Studio Marketplace
Visual Studio Code 1.7 (and higher) will automatically install the NSIS extension as dependency. If you're using an older version, ...
Read more >
How to use InstallOptions plugin in NSIS - YouTube
The code used in the video is ; Let's start by creating new nsis script … Show more. Show more. Show less. Comments....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found