Cannot install plugins at all
recently I noticed that I had problems installing a plugin via plugin manager. So I de- and reinstalled notepad++. Now I cannot install plugins with plugin manager not manually. When I try with plugin manager, it signs off with the message that it will shutdown to do the install, but when np++ comes up again, nothing is done, there is not even a new entry in the plugin folder. When I try to do it manually and copy the necessary files in /plugins and /plugins/config nothing happens at all too, there is no new entry in plugins.
But: I can deinstall the default plugins, there is no problem at all, they are removed from the disk. I cannot reinstall them though.
I tried with and without admin mode several times.
[Notepad++ v7.6.4 (64-bit)
Build time : Mar 6 2019 - 02:58:24
Path : D:\tools\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : NppConverter.dll
Did you try the install via Plugin Manager plugin or through the plugins menu - Plugin Admin ?
Plugin Manager does not work with Notepad++ v.7.6.4.
If you install plugins manually you need to create separate plugin folder per plugin,
So you need to have D:\tools\Notepad++\plugins\PluginXName\PluginXName.dll
Is there anything stopping the developers from flat out just not allowing PluginManager to run in 7.6.x ? Might save a lot of support effort. Or maybe not. :)
good point, i second that.
it could be removed or moved to the
plugins\disabled folderon notepad++ update.
just like the other plugins with issues get removed, like the hexedit plugin.
i’ve just opened a request for that:
same issue here!
Installing both manually (separate subfolder per each plugin in the \plugins folder) or with Plugin Manager, in Admin mode or not, 32-bit or 64-bit plugin (e.g. Compare v1.5.6 or v2) - no matter what I tried:
I can not install a single plugin!
…and it’s not the newest version of Notepad++!
Notepad++ v7.6.3 (64-bit)
Build time : Jan 27 2019 - 17:16:47
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll
if you want to stay with Plugin Manger you have to stay with Npp version 7.5.9.
Everything newer needs to use Plugin Admin
can you show us a
dir C:\Program Files\Notepad++\and
dir C:\Program Files\Notepad++\plugins\after trying to do the manual install, and/or after trying to install with Plugins Admin. (If you really tried to install with Plugins Manager in v7.6.3, it won’t work. Plugin Manager and Plugins Admin are not the same thing. Plugin Manager = old, only compatible with 7.5.9 and earlier; Plugins Admin = new builtin, works correctly for v7.6.3 and later. Since your Debug Info shows that Plugin Manager is not installed, I don’t think that’s what you really meant)
Sorry, my mistake: of course I was using Plugins Admin! It’s just that I got used to Manager, so I have used it wrongly here…
I have downloaded the Compare plugin from Sourceforge and extracted it in the folder \plugins:
After Settings->Import->Import plugin(s) and restart, installation is failing:
Important: plugin installation is failing (simply no plugin installed although at the first sight everything is fine, even if I use both 32-bit Npp and plugin!
Removed the manually copied folders/files and tried again the installation of Compare plugin (v2.0) with Plugins Admin:
During the installation nothing is changing in the folder and after restart, the plugin is not installed!
I think, the next I’ll try is to install Notepad++ v7.6…
Thank you in advance!
I would say go with Npp 7.6.4 and use the Plugins Admin to install Compare plugin and it
should work - just tried it and it did work for me.
I have already tried it - didn’t work fine with me, it’s a company machine I’m using and obviously UAC prevented the installation of plugins (Unknown software…), even when I tried starting the Notepad++ in Admin mode (with nagging UAC, of course…)!
I’ll try the v7.6 I was using before all the mess started and I will let you know how it worked!
it’s a company machine I’m using and obviously UAC prevented the installation of plugins (Unknown software…), even when I tried starting the Notepad++ in Admin mode (with nagging UAC, of course…)!
in your case trying 7.6.3 or 7.6.4 will not make a difference.
if you know your company’s corporate proxy ip and port, you will have to set them at the menu:
? > set updater proxyas seen at the screenshot below, to use plugins admin to install any plugins.
but this will only work, as long as your proxy/corporate firewall does not require credentials, as this is currently not supported in notepad++.
Inlining your images from your manual install using the syntax:
(notice that you have to give the full real URL to the jpg/png/gif, not just their short
https://imgur.com/V454gzTURL, which is imgur’s display-page-with-ads – ie, HTML – not an image that can be embedded in a post)
I see , which shows you are in the
and , which shows that you tried to put a 32-bit DLL in that hierarchy.
You quoted above that your OS is a 64-bit Windows 10, so the
c:\program files\hierarchy is where 64-bit programs go, and
c:\program files (x86)\hierarchy is where 32-bit programs go. If you download the 32-bit DLL and try to place it in
c:\program files\notepad++\plugins\ComparePlugin\ComparePlugin.dll, it will not work, because the 64-bit Notepad++ executable cannot recognize a 32-bit DLL, and the error message told you as much.
even if I use both 32-bit Npp and plugin!
Unfortunately, you said that, but didn’t show that circumstance in any of your screenshots. That makes it hard to analyze what went wrong with that attempt.
@Meta-Chuh is probably on the right path for your failure when you used Plugin Admin.
However, when I got tired of fighting UAC at work (they not only have UAC, but watchdog software which makes me give a reason whenever I try to elevate a task), I gave in and switched to purely portable versions. I put them in my
c:\usr\local\apps\hierarchy, and I have multiple versions under directories named liked npp220.127.116.11 and npp18.104.22.168. Once I decide I’m going to switch to a version as my primary Notepad++, I copy it to
\usr\local\apps\notepad++\. I have all my file associations (in regedit’s
HKCU\Software\Classes) pointing to
\usr\local\apps\notepad++\notepad++.exe, so whatever version I put in that path will be my default/normal version. I have no difficulty using Plugin Admin to install plugins in that portable version. The only two “downsides” of the portable are that settings are in the portable directory rather than
%AppData%\Notepad++(which I do consider a downside), and not having auto-update on Notepad++ (which isn’t a downside to me; I prefer deciding when to update a tool like this, rather than letting the tool’s author force it down my throat).
Indeed, I didn’t consider the fact that I need to configure Proxy! As soon as I got home and plugged the machine into my home network, I could install plugins whichever I wanted!
@PeterJones , the moment you wrote “can you show us a
dir C:\Program Files\Notepad++and…” it was the moment you confronted me with markdown for the first time… I’m happy that at least something came out, but next time I’ll know!
Your solution is very interesting, but it’s also a bit time intensive. But you are right, the mess with my plugin installation started after an update unintended erased all the plugins I was using! That’s why I will consider your solution sooner or later.
Your solution is very interesting, but it’s also a bit time intensive
There was a one-time setup cost, but it was probably less than half an hour of work for me. But really, compare that to the ~5hr delay you just experienced between when you first joined this conversation, and when you confirmed that networking/Proxy settings were the cause of your difficulty.
(And the only reason I evaluate and keep so many versions of Notepad++ is because I frequent this forum, and often need to test alternate versions to figure out why a user is having the problem they explain. Otherwise, I tend to not upgrade unless there’s a good feature/bugfix reason for me to.)
But really, compare that to the ~5hr delay you just experienced between when you first joined this conversation, and when you confirmed that networking/Proxy settings were the cause of your difficulty.
maybe this was my bad, as i could have saved @schwaben-github a few hours, if i wouldn’t always be offline for so long ;-)
i usually suggest the portable versions as well, for peter’s reasons, but in this case, if it is really an existing proxy, i guess it wouldn’t have made much of a difference if portable or not (at least not for using the built in plugins admin).
ps: let’s hope your proxy doesn’t require credentials, or blocks downloads from github, sourceforge, or other sites that might be disallowed by a policy.
Since here we are getting quite a lot "I-cannot-install-plugins" kind of help requests recently perhaps it will be good to make pinned thread in https://notepad-plus-plus.org/community/category/4/help-wanted and https://notepad-plus-plus.org/community/category/5/plugin-development shortly describing the most common problems and solutions. Something like FAQ. This will save us (you mainly as I don’t frequently answer) a lot of time answering the same questions again and again.
I suppose if Plugin Install Problems FAQ thread is written Don can pin it so it shows in the very beginning of Help Wanted and Plugins Development.
I would also suggest a small addition to Notepad++'s future versions - on startup to check the plugins folder for any DLLs. If such are present to show message saying that those are not supposed to be there and will not be loaded.
What do you think?
There was a one-time setup cost
You are right, after the initial setup is done, it gets no-brainer. I will definitely try it out in the new setup, soon my machine is getting EoL and I will anyway need to install all the software again…
In this case it wouldn’t have made any difference, but initially I wouldn’t loose all of the plugins because of failed update! And yes, our proxy do require credentials… At least github and sourceforge are not blocked.
Thanks again, guys!
I am also behind a company proxy, this was causing the problem. So I swaped to a free WLAN for plugin installation and all worked fine. Just curious why this did not cause any problems in the past…
Thanks all for the help!
Just curious why this did not cause any problems in the past…
because the old “plugin manager” from david bruderstein automatically used the proxy settings from the windows internet options (microsoft internet explorer lan settings).