{"id":23997,"date":"2021-05-06T20:32:55","date_gmt":"2021-05-06T15:02:55","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=23997"},"modified":"2023-08-05T23:21:33","modified_gmt":"2023-08-05T17:51:33","slug":"cannot-install-notepad-plugins-fix","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/cannot-install-notepad-plugins-fix\/","title":{"rendered":"[Fix] Cannot Install Notepad++ Plugins &#8211; Installation Failed"},"content":{"rendered":"<p>Notepad++ is one of the excellent open-source text editors available. Many users replace the plain old Notepad <a href=\"https:\/\/www.winhelponline.com\/blog\/replace-notepad-text-editor-notepad-plus-association\/\">with Notepad++<\/a>, as the latter has a lot of features and is also lightweight. You may be knowing that the functionality of Notepad++ can be extended by installing third-party plugins into it using the built-in Plugins Admin feature.<\/p>\n<p>On some computers, you may be unable to install any plugins using the Plugins Admin feature. When trying to install a plugin, it restarts Notepad but does not install the chosen plugin even though you&#8217;ve tried both x86 and 64-bit versions. On some versions you may see the following error:<\/p>\n<pre class=\"err\">Installation Error: Installation of plugin failed<\/pre>\n<p>This issue may persist even if the<br \/>\nWe&#8217;ll see how to resolve the Notepad++ plugins installation issue.<\/p>\n<p><!--more--><\/p>\n<div id=\"toc\">\n<div class=\"newline\"><strong>Expected behavior during plugin installation<\/strong><\/div>\n<p>When you attempt to install a Notepad++ plugin via Plugins Admin dialog, the following happens:<\/p>\n<ol>\n<li>The user sees the &#8220;Notepad++ is about to exit&#8221; prompt.<\/li>\n<li>Notepad++ starts the command-line updater <code>gup.exe<\/code> elevated (run as admin) after getting the UAC consent from the user.<\/li>\n<li>The current instance of Notepad++ is closed.<\/li>\n<li>The command-line updater module (<code>gup.exe<\/code>) downloads the chosen extension from the source website in the background, and the extension file (.dll) is copied to the Plugins folder.<\/li>\n<li>Notepad++ process is launched again.<\/li>\n<\/ol>\n<p>When the user clicks on the Plugins menu or opens the Plugins Admin page, the chosen plugin should show up in the Installed list.<\/p>\n<\/div>\n<h2>[Fix] Cannot Install Notepad++ Plugins<\/h2>\n<p>First, make sure if you&#8217;re using the latest version of Notepad++. If you&#8217;re running an outdated version, install the latest version from <code>https:\/\/notepad-plus-plus.org\/<\/code><\/p>\n<p>If that doesn&#8217;t resolve the issue, one of the following fixes should help you install Notepad++ plugins successfully.<\/p>\n<h3>1) Configure your Proxy server or Firewall accordingly<\/h3>\n<p>The Notepad++ plugin installation may silently fail if the firewall or proxy server is not allowing the outbound connection by WinGup (<code>gup.exe<\/code>).<\/p>\n<p><em>WinGup for Notepad++ is a Generic Updater whose purpose is to provide a ready-to-use and configurable updater that downloads an update package then installs it. WinGup is capable of dealing with <code>http<\/code> protocol and process XML data. For more information, check out the project&#8217;s <a href=\"https:\/\/github.com\/notepad-plus-plus\/wingup\" target=\"_blank\" rel=\"noopener\">GitHub page<\/a>.<\/em><\/p>\n<p>Make sure that your proxy\/firewall allows outbound access for <code>gup.exe<\/code>. The module is located under the <code>Notepad++\\Updater<\/code> directory. Unless you&#8217;re using the portable copy of Notepad++, and the typical paths (for installed versions) are below:<\/p>\n<pre>C:\\Program Files\\Notepad++\\updater\\GUP.exe\r\n\r\nC:\\Program Files (x86)\\Notepad++\\updater\\GUP.exe<\/pre>\n<p>When Windows Firewall blocks this file, and logging is enabled using security policy, the dropped connection entry appears like this in <code>pfirewall.log<\/code>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23998\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/05\/notepad-plus-plugin-install-1.png\" alt=\"notepad++ plugin cannot install - firewall\" width=\"700\" height=\"241\" \/><\/p>\n<p><em>(The Remote IP, in this case, is <code>13.234.210.38<\/code> which resolves to github.com where most Notepad++ plugins are hosted.)<\/em><\/p>\n<p>So, if you&#8217;re the administrator of your computer or network, make sure to allow WinGup to access the internet.<\/p>\n<p><strong>Proxy server<\/strong><\/p>\n<p>If your network uses a proxy server, make sure you enter the details via the <code>?<\/code> menu option in Notepad. Click on the <code>?<\/code> menu and select <strong>Set Updater Proxy&#8230;<\/strong><\/p>\n<p>You&#8217;ll need to do this when Notepad++ is elevated (run as administrator). Or else, it shows the message &#8220;<em><strong>Please relaunch Notepad++ in Admin mode to configure proxy<\/strong><\/em>.&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24000\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/05\/notepad-plus-plugin-install-2.png\" alt=\"notepad++ plugin cannot install - firewall\" width=\"338\" height=\"164\" \/><\/p>\n<p>The entry is updated into the file named <code>gupOptions.xml<\/code> under <code>Notepad++\\updater<\/code> directory. Alternately, using Notepad (run as administrator), you may edit the file manually and type in the proxy server configuration directly.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23999\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/05\/notepad-plus-plugin-install-3.png\" alt=\"notepad++ plugin cannot install - firewall\" width=\"701\" height=\"375\" \/><\/p>\n<p>Assuming that your proxy or firewall is reconfigured correctly, restart Notepad++ and try installing the plugin(s) now. Unlike earlier versions, it should work even without TLS 1.0 &#038; TLS 1.1 options enabled in Internet Explorer Options.<\/p>\n<div class=\"qt\">\n<h4>Proxy error?<\/h4>\n<p>Note that if your company&#8217;s proxy requires Windows authentication, Notepad++ doesn&#8217;t support it.\u00a0If it throws the error code <code>Received HTTP code 407 from proxy after CONNECT<\/code>, it means that the proxy requires authentication. Unfortunately, Notepad++ (the latest version is <code>7.9.5<\/code> as of this writing) doesn&#8217;t support proxy authentication.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-6338 alignleft\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2018\/07\/icotip.gif\" alt=\"tips bulb icon\" width=\"34\" height=\"34\" \/>Alternatively, you may disconnect from your company network, connect to the internet via mobile WiFi or USB tethering. Then, try to install the plugin.<\/p>\n<\/div>\n<hr \/>\n<h3>2) Install Notepad++ Plugins manually<\/h3>\n<p>If reconfiguring the proxy or firewall still doesn&#8217;t let you install plugins via the Plugins Admin option, you may install them manually. Before 2015, Notepad++ plugins were hosted at <code>sourceforge.net<\/code>. After that, GitHub is now the central platform for development and bug reporting. Still, some plugins are hosted at <code>sourceforge.net<\/code>.<\/p>\n<ol>\n<li>Visit the following official Notepad++ GitHub page, which lists all the plugins. You can get the direct download links (for both x86 and x64) for every Notepad++ plugin available.\n<pre>GitHub - notepad-plus-plus\/nppPluginList: The official collection of Notepad++ plugins:\r\nhttps:\/\/github.com\/notepad-plus-plus\/nppPluginList<\/pre>\n<p>Let&#8217;s say you want to install the Compare plugin. The direct download URL for the current version is below:<\/p>\n<pre>https:\/\/github.com\/pnedev\/compare-plugin\/releases\/download\/v2.0.1\/ComparePlugin_v2.0.1_x86.zip  [32-bit]\r\n\r\n(or)\r\n\r\nhttps:\/\/github.com\/pnedev\/compare-plugin\/releases\/download\/v2.0.1\/ComparePlugin_v2.0.1_X64.zip  [64-bit]<\/pre>\n<\/li>\n<li>Download the above zip file and extract the contents to a folder.<\/li>\n<li>Visit the plugin homepage. For the <strong>Compare<\/strong> plugin, the homepage is <code>https:\/\/github.com\/jsleroy\/compare-plugin<br \/>\n<\/code><em><br \/>\nNote: You can also find the homepage of the plugin via Plugins Admin.<\/em><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24001\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/05\/notepad-plus-plugin-install-4.png\" alt=\"notepad++ plugin cannot install - manual install\" width=\"750\" height=\"514\" \/><\/li>\n<li>From that page, note down the installation instructions for this plugin and follow the steps exactly as given. The official instructions say:\n<pre style=\"white-space: pre-wrap;\">\"To install the plugin manually for usage with Notepad++, copy ComparePlugin.dll and ComparePlugin subfolder into the plugins directory (Notepad++ installation dir)\\Notepad++\\Plugins. The ComparePlugin subfolder contains the libs libgit2.dll and sqlite.dll for the Diff against Git and SVN (please use the correct library versions - x86 or x64).\"<\/pre>\n<h4>Hold on! There is a small change on the plugins path in the recent versions of Notepad++. Read below.<\/h4>\n<div class=\"qt\">\n<h3>Caveat!<\/h3>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Each plugin needs to be added to its own folder. Placing the plugin (.dll) file under the <code>Notepad++\\plugins<\/code> parent directory won&#8217;t work.<\/li>\n<li>The folder name should be the same as the DLL name (without extension). For instance, the module name is <code>ComparePlugin.dll<\/code>, the folder name should be <code>ComparePlugin<\/code>. The following is the folder hierarchy:\n<pre>C:\\PROGRAM FILES (X86)\\NOTEPAD++\r\n+---plugins\r\n|   +---ComparePlugin\r\n|   |   |   ComparePlugin.dll\r\n|   |   |   \r\n|   |   \\---ComparePlugin\r\n|   |           git2.dll\r\n|   |           sqlite3.dll\r\n<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24003\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/05\/notepad-plus-plugin-install-6.png\" alt=\"notepad++ plugin cannot install - manual install\" width=\"585\" height=\"129\" \/><\/p>\n<p>The files <code>sqlite3.dll<\/code> and <code>git2.dll<\/code> go into the <code>Plugins\\ComparePlugin\\ComparePlugin<\/code> subfolder, instead of <code>Plugins\\ComparePlugin<\/code>. It&#8217;s an <strong>important<\/strong> step!<\/p>\n<\/div>\n<\/li>\n<li>Close Notepad++ and relaunch it.<\/li>\n<\/ol>\n<p>If you&#8217;ve followed the instructions correctly, the plugin (&#8220;Compare&#8221;) should be listed under the Plugins menu and the Plugins Admin dialog.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24002\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/05\/notepad-plus-plugin-install-5.png\" alt=\"notepad++ plugin cannot install - manual install\" width=\"749\" height=\"436\" \/><\/p>\n<p><em>Were you able to install the Notepad++ plugin(s) now? Let&#8217;s know your comments.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Notepad++ is one of the excellent open-source text editors available. Many users replace the plain old Notepad with Notepad++, as the latter has a lot of features and is also lightweight. You may be knowing that the functionality of Notepad++ can be extended by installing third-party plugins into it using the built-in Plugins Admin feature. &#8230; <a title=\"[Fix] Cannot Install Notepad++ Plugins &#8211; Installation Failed\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/cannot-install-notepad-plugins-fix\/\" aria-label=\"Read more about [Fix] Cannot Install Notepad++ Plugins &#8211; Installation Failed\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[339],"class_list":["post-23997","post","type-post","status-publish","format-standard","hentry","category-utilities","tag-notepad"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":19535,"url":"https:\/\/www.winhelponline.com\/blog\/unable-to-create-new-document-wordpad-mspaint\/","url_meta":{"origin":23997,"position":0},"title":"WordPad\/Paint &#8220;Unable to create new document&#8221; Error","author":"Ramesh","date":"October 26, 2020","format":false,"excerpt":"When you start WordPad or Microsoft Paint on a Windows 10 computer, the error \"Unable to create new document\" occurs and the program doesn't launch. The error occurs whether you launch WordPad by running wordpad.exe or write.exe. Workaround There are two wordpad.exe and mspaint.exe executables in a Windows 10 x64\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"uninstall wordpad optional features","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/10\/wordpad-uninstall-features.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/10\/wordpad-uninstall-features.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/10\/wordpad-uninstall-features.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/10\/wordpad-uninstall-features.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":26647,"url":"https:\/\/www.winhelponline.com\/blog\/restore-old-classic-notepad-windows\/","url_meta":{"origin":23997,"position":1},"title":"How to Restore Old Classic Notepad in Windows 11","author":"Ramesh","date":"May 7, 2022","format":false,"excerpt":"Windows 11 comes with the modern Notepad app that automatically replaces the old\/classic Notepad program. The new Notepad UWP app supports color emojis, dark mode, RichEdit editing enhancements, Ctrl+} for toggling between matching brackets\/parentheses, multilevel undo, drag & drop, and automatic URL detection. However, many users prefer classic\/win32 apps instead\u2026","rel":"","context":"In &quot;Windows 11&quot;","block_context":{"text":"Windows 11","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-11\/"},"img":{"alt_text":"install notepad using dism in windows 11","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/05\/notepad-install-dism-windows-11.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/05\/notepad-install-dism-windows-11.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/05\/notepad-install-dism-windows-11.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/05\/notepad-install-dism-windows-11.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":75064,"url":"https:\/\/www.winhelponline.com\/blog\/vclibs-140-bad-image-error\/","url_meta":{"origin":23997,"position":2},"title":"[Fix] VCLibs 14.0.33519.0 &#8220;Bad Image&#8221; Error in Windows 11","author":"Ramesh","date":"May 4, 2024","format":false,"excerpt":"When you open Notepad or any other Store app in Windows 11, the following errors may appear: Bad Image C:\\Program Files\\WindowsApps\\Microsoft.VCLibs.140.00_14.0.33519.0_x64__8wekyb3d8bbwe\\VCRUNTIME140_1_APP.dll is either not designed to run on windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or\u2026","rel":"","context":"In &quot;Windows 11&quot;","block_context":{"text":"Windows 11","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-11\/"},"img":{"alt_text":"vclibs 140 x64 install appx - 0x80070005","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/05\/vclibs-140-install-appx-error.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/05\/vclibs-140-install-appx-error.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/05\/vclibs-140-install-appx-error.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/05\/vclibs-140-install-appx-error.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":23607,"url":"https:\/\/www.winhelponline.com\/blog\/notepad-does-not-open-in-windows-10-reinstall\/","url_meta":{"origin":23997,"position":3},"title":"[Fix] Notepad is missing or does not open in Windows 10","author":"Ramesh","date":"April 14, 2021","format":false,"excerpt":"On a Windows 10 computer, when you attempt to launch Notepad by running Notepad.exe or clicking on the taskbar shortcut, nothing may happen. In some cases, you'll see one of the following errors: Windows cannot find 'notepad.exe'. Make sure you typed the name correctly, and then try again. The item\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"notepad does not open - uninstall and reinstall notepad","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2021\/04\/notepad-missing-shortuct-target.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":5732,"url":"https:\/\/www.winhelponline.com\/blog\/replace-notepad-text-editor-notepad-plus-association\/","url_meta":{"origin":23997,"position":4},"title":"How to Replace Notepad With Notepad++ or Other Editor","author":"Ramesh","date":"November 2, 2017","format":false,"excerpt":"If you\u2019re looking at how to replace Notepad with Notepad++ or any third-party editor, this post explains how to do it. Notepad++ is a free source code editor and Notepad replacement that supports several languages. Let\u2019s see how you can replace Notepad with Notepad++ without replacing any system files. Notepad\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"notepad plus replace debugger notepad.exe","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/debugger-notepad-plus-switch.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/debugger-notepad-plus-switch.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/debugger-notepad-plus-switch.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/debugger-notepad-plus-switch.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":67047,"url":"https:\/\/www.winhelponline.com\/blog\/notepad-opens-recent-files-everytime\/","url_meta":{"origin":23997,"position":5},"title":"Notepad Opens Recent Text Files Everytime in Windows 11","author":"Ramesh","date":"December 5, 2023","format":false,"excerpt":"When you open a .txt file using Notepad, it may automatically open all the recent text files you have opened -- e.g., files opened yesterday or the day before. When you close all the open files and open Notepad again, it also opens the most recent .txt file. This behavior\u2026","rel":"","context":"In &quot;Windows 11&quot;","block_context":{"text":"Windows 11","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-11\/"},"img":{"alt_text":"notepad open recent text files automatically","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/12\/notepad-previous-session-open.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/12\/notepad-previous-session-open.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/12\/notepad-previous-session-open.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/23997","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=23997"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/23997\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=23997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=23997"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=23997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}