Cannot install plugins at all



  • Hello,

    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



  • @schwaben-github

    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



  • @schwaben-github ,

    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)



  • @Ekopalypse , @PeterJones

    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…

    Manual installation
    I have downloaded the Compare plugin from Sourceforge and extracted it in the folder \plugins:
    Plugins Folder

    After Settings->Import->Import plugin(s) and restart, installation is failing:
    Error Message

    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!

    Plugins Admin
    Removed the manually copied folders/files and tried again the installation of Compare plugin (v2.0) with Plugins Admin:
    Notepad++ is about to exit

    During the installation nothing is changing in the folder and after restart, the plugin is not installed!

    Notepad++ folder
    Notepad++ installation folder

    I think, the next I’ll try is to install Notepad++ v7.6…

    Thank you in advance!



  • @schwaben-github

    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.



  • @Ekopalypse

    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!



  • @schwaben-github

    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 proxy as 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++.

    Imgur



  • Inlining your images from your manual install using the syntax:

    ![](https://i.imgur.com/V454gzT.jpg)
    ![](https://i.imgur.com/lQB8ao8.jpg)
    

    (notice that you have to give the full real URL to the jpg/png/gif, not just their short https://imgur.com/V454gzT URL, 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 c:\program files\ hierarchy

    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 npp32.7.6.3 and npp64.7.6.3. 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).



  • @Meta-Chuh , @PeterJones , thank you guys for your help!

    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.

    Thanks again!



  • @schwaben-github said:

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



  • @PeterJones

    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 ;-)

    @schwaben-github

    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.



  • Guys,

    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?



  • @pnedev
    Good idea!



  • @PeterJones

    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…

    @Meta-Chuh

    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!



  • @Daniel-Stingl

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



  • @pnedev

    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

    good idea, i second that.

    This will save us (you mainly as I don’t frequently answer) a lot of time answering the same questions again and again.

    maybe not hyper-frequently in the past, but very active and always very useful as well as productive … and you are more active lately, which i personally encourage and enjoy a lot ;-)

    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.

    @PeterJones , @guy038 and me have started a little brainstorming discussion about that >>> here <<< and guy has some ideas to improvements, which we can do autonomously.
    you are very invited to join with anything that’s on your mind … or just for the fun of it ;-)

    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.

    a request for the old plugin manager was submitted.
    Remove the “Plugin Manager” plugin on Notepad++ 7.6.x and above due to incompatibility. #5409
    i chose the removal option, fearing that a message will be clicked away and ignored by many users.

    What do you think?

    i’m completely with you.



  • @Meta-Chuh ,

    Thank you, I appreciate your kindness ;)



  • @pnedev said:


    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

    Thanks @pnedev , this helped.
    For anyone else who’s got the same problem - notice that the folder name should be exactly the same as the DLL name (as actually mentioned in the quote above)



  • I had similar issue with the proxy preventing me from installing any plugins. I was able to resolve it by manually creating a gupOptions.xml file with the proxy address. I used the following to help https://notepad-plus-plus.org/community/topic/13030/problem-with-set-updater-proxy/5


Log in to reply