Categories

  • Announcements regarding our community
    297 Topics
    5k Posts
    Andrea GaviraghiA

    Hello,
    just tried to install the .msi version on a PC where I already had the .exe version.
    At the end both seems to be installed:

    (msi) Notepad++
    (exe) Notepad++ (64-bit x64)

    Then I removed the .exe one from Control Panel: the msi was still there but of cource it wasn’t as it was removed by the Uninstall of the exe one.

    Thanks,

    Andrea

  • Frequently Asked Questions and Guides (about Notepad++ and this Forum)

    37 Topics
    62 Posts
    PeterJonesP

    You have likely found this page, or been directed to this page, because you were wondering about how to

    The list of Operating Systems (OS) that Notepad++ supports is published at https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/SUPPORTED_SYSTEM.md

    There is a footnote regarding Windows Vista and Windows Server 2008, both of which are officially unsupported: The last release of Notepad++ that worked on those ancient OS versions was Notepad++ v8.4.6. However, the footnote indicates, “The current version of Notepad++ built by GCC can be run under Vista & Server 2008”. Some users, who are interested in preserving historic computing, or have working hardware that is old enough to only be able to run such old OS, are confused by that statement, or wonder how they can get “the current version of Notepad++ built by GCC”. (Two examples of such posts are here and here.)

    When updates are pushed to the Notepad++ repository, a slew of versions are built, including some built by the GCC compiler instead of Microsoft’s compiler used by Visual Studio. Those versions are not used in the published releases of Notpead++, however, they are built from the same source code, so have all the same functionality.

    Main Steps

    The steps for installing the newest Notepad++ onto Vista or Server 2008 are as follows:

    Install the newest Notpead++ normally, or unzip the newest portable edition of Notepad++, noting whether you are using the 32-bit or 64-bit Notepad++. Verify that notepad++.exe doesn’t run on your computer. (If it does, you don’t need to follow the remaining steps.) Obtain the notepad++.exe built by GCC using one of the two sections below: Recent Release or Older Release Replace your installed or portable notepad++.exe with the executable downloaded in step 3. Run the replaced notepad++.exe, and verify it does run on your computer. Artifacts

    When the GCC builds are automatically run on the GitHub servers, the executables are kept for up to 90 days from the time of the build; however, that retention period is also influenced by how many artifacts a project generates: Notepad++ generates a lot of artifacts, so sometimes the artifacts for a release are not available for the full 90-day period.

    If the artifacts are still retained for the most recent release, then you can follow the procedure in Recent Release (below) to obtain the GCC-built executable. If those artifacts are gone, you will have to use the similar procedure in Older Release, though make sure you read that section thoroughly for unique .

    Recent Release Go to https://github.com/notepad-plus-plus/notepad-plus-plus/releases/latest where it has the little -o- icon and 7-9 hex digits, click on that hex number
    2c11d2fe-18e2-4f48-b7d2-50e3ff54dc41-image.png It should have a green checkmark (or less likely, a red X): click it
    82185f3a-d05b-47c9-893c-1d2cfbac6305-image.png In the popup, click any of the Details links (it doesn’t matter which one)
    b116fae8-972b-4796-a0db-c3f4c3d97b88-image.png Click on the Summary button
    c5d81331-849f-4c5e-82aa-e57d54f088ce-image.png Scroll down to the Artifacts at the bottom of that Summary page, and pick the …GCC.i686.Release if you want 32-bit Notepad++, or …GCC.x86_64.Release if you want the 64-bit Notepad++
    0d0757f8-b8a1-4709-8c8b-05e5a237afe8-image.png That downloaded artifact will be a zipfile containing a single (unsigned) notepad++.exe

    Once you have unzipped the artifact, you can continue with step 4 in the Main Steps

    Older Release

    If the artifact from the most recent release is no longer stored in GitHub, you can instead grab the most-recent build. However, you need to understand that builds made since the most recent release have code in them that has never gone through the Release Candidate verification: it passes all the automated testing, but there may be edge cases that have not yet been found or fixed. One should only use the most-recent build instead of a release build when those risks are understood.

    Go to https://github.com/notepad-plus-plus/notepad-plus-plus/actions and find the most-recent commit to the master, and click on that row. Look for the Artifacts at the bottom. Find the link with “GCC” in the name with the right version (64-bit is x86_64, 32-bit is i686, or ARM64) – assuming you have 64-bit Vista, then it would be Notepad++.GCC.x86_64.Release. Click the appropriate artifact, which will download a zipfile. Open the zipfile and extract the executable from it

    Once you have unzipped the artifact, you can continue with step 4 in the Main Steps

    Build Your Own

    The Notepad++ repository includes BUILD instructions for GCC, so if you follow those instructions, you can build your own GCC-based Notepad++ from the source code. You will obviously need the GCC compiler (you will have to find and install that on your own, as such a procedure is beyond the scope of this FAQ or this Forum).

    Once you have the GCC compiler ready, you can download the source code for Notepad++: it is up to you whether you want to download the source code from the latest release, which will give you a snapshot of the code at the time it was released; or whether you want to grab the most recent commit from the main development branch of the repo which can have code/features that have been added since the last release.

    Building your own copy of Notepad++ using GCC is intended for people with coding experience, and experience with GCC in particular, and who know how to use GitHub and git – if this doesn’t describe you, you may wish to gain experience before trying to build your own using GCC.

    Caveat: This is Unsupported

    Rememeber: using Notepad++ on Windows Vista or Windows Server 2008 is not officially supported for new Notepad++ versions. If you can happen to get newer Notepad++ to work on those OS versions by following these instructions, that’s great for you.

    Otherwise, the best recommendation is to use an older version of Notepad++ that was officially tested on those operating systems – with v8.4.6 being the newest Notepad++ to be verified with those OS. Having been verified, it should work for you; however, there will never be any updates to the v8.4.6 code, so any bugs or security issues present in v8.4.6 will remain unfixed for you. (The same is true for most applications that stop supporting older OS, so this is not unique to Notepad++.)

  • Notepad++ discussions that don’t fit in other Categories

    4k Topics
    22k Posts
    PeterJonesP

    @bvklaveren said in sha512 certificate cannot be validated:

    I have seen the instructions, but installing the self-signed certificate on all computers in the organization is not a practical solution.

    Okay. Then ignore the self-signed, since there’s a commercially-signed alternative that can give you confidence that the binary is being distributed by the one who it claims to be.

    It only takes one certificate to give the confidence, but it also means that you can ignore any other certificate on the same file, because having two certificates (one self-signed that you choose to distrust and the other commerically-signed which you choose to trust) gives you exactly the same amount of confidence that the binary is valid as does having just the commercially-signed certificate with none others. Whereas for someone who does trust the self-signed, they can choose to trust that self-signed and ignore the commercially-signed as being tainted by money.

    Also, why would you include a self-signed certificate if you also have “real” one that can be validated without extra steps?

    The “why’s and wherefore’s” are all available in the public, in various discussions on this forum (search for certificate) and the relevant section of the User Manual and in the various announcement pages in the official website. But I’ll sum it up, from my outside perspective:

    Because for months, there wasn’t a commercial certificate available, because the corporations behind the certificates are set up to make things difficult to open source projects. And once he did get the new globalsign cert, he didn’t feel it was worth it to undo all the effort he had put into creating the self-signed certificate.

    Lastly, it is not in the msi, so why is it in the exe?

    apples and oranges?

    The MSI is a container, which can be signed, and is signed separately from any EXE or DLL that might be contined therein. So the developer apparently chose to only sign that MSI with the commercially-derived – probably because his system was already setup to sign the EXE with both (because it was setup to sign with just the self-signed, then he added the globalsign cert on top of that once it was available), whereas the MSI didn’t come until a month or two after the globalsign was available, so he probably didn’t think it was worth the extra effort to figure out how to sign the MSI with the self-signed as well.

  • 10k Topics
    54k Posts
    PeterJonesP

    @NolanNolan said in How to change file icon on txt files ?:

    @PeterJones
    thanks, i tied several of these suggestions no solution. The search shows more of a speculation than a solution unfortunately.

    From what I could see, all of those should have worked, depending on the era, and what OS the pages were about. (Unfortunately, even with windows 11 in the search term, often results include non-11-specific answers.) But which one is applicable to your situation depends on your situation, which those sites cannot know, so you have to make educated choices as to which are appropriate based on what you know.

    Any other suggestions of solutions to this ?

    My suggestion actually works. See description below.

    third party apps like filetypeman from nirsoft, types.exe or default program editor does not work.

    I highly doubt you tried all of those, or at least tried them correctly.

    Earlier, I mentioned HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\ . Since my brief description of what was needed was based on my Win11 experiments a year or two ago, and I’m on a fresh computer compared to those, I thought I’d experiment just to make sure, and it does in fact work.

    Below, when I mention “key”, it will be displayed as a “folder” in the Registry Editor treeview on the left.

    After installing Notepad++, and/or using MS Window’s “Open With” dialog to select Notepad++ as the default application for .txt files, my Windows Explorer shows Notepad++'s icon for .txt files:
    ad1606c6-6b18-4a88-95be-8bcebfef4f27-image.png Run regedit.exe and paste in that key name HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\ into the “address bar” of the regedit window:
    3fe5e2bd-ec05-4a60-9821-c1f9166e7b47-image.png I navigated to the UserChoice key to show that Applications\notepad++.exe is chosen, showing that Notepad++ is my default app for .txt files Go to HKCU\Software\Classes\Applications\ , and you should see notepad++.exe as one of the keys
    5e48ffff-dd5b-4320-9c38-53b87d8c9d30-image.png Right Click on notepad++.exe and choose to create a New > Key called DefaultIcon (no space) On the (Default) in the right panel, insert the path to the ICO file: 809d369f-f720-44df-b44b-d90cdc2dd48e-image.png This was just an example icon that I knew where it was on my PC. You could also use something like the MS Windows notepad.exe’s icon, using %SystemRoot%\System32\notepad.exe as the (Default) value there or %SystemRoot%\System32\imageres.dll,-102 will use icon #102 from imageres.dll, which for my version of imageres.dll is another “text file” icon. you just need to pick an icon you like, and point the registry entry there If you close all Windows Explorer windows and re-open, .txt files will probably show up with the new icon. Some users find that exiting Explorer isn’t sufficient. If that’s true for you, try one or both of log out and back in reboot Advanced users will be able to use nircmd shellrefresh or otherwise send SHChangeNotify( SHCNE_ASSOCCHANGED , SHCNF_IDLIST , NULL , NULL ); , and be able to avoid even closing the Explorer window(s) – but if you don’t understand either of what I said, then this option isn’t meant for you. Screenshots with it working for various of the above icons: cpan.ico: f18268c3-8204-495d-add6-07e5cc6001b9-image.png %SystemRoot%\System32\notepad.exe: 5ab06335-bd2f-4afd-902a-d9fccbf3a062-image.png %SystemRoot%\System32\imageres.dll,-102: daa0447c-b90f-419b-856f-dc4c19395642-image.png

    And to confirm which version of windows I am on, I will share excerpts from my Notepad++ ?-menu’s Debug Info:

    Notepad++ v8.8.8 (64-bit) Build time: Nov 16 2025 - 20:55:01 Scintilla/Lexilla included: 5.5.7/5.4.5 Boost Regex included: 1_85 Path: C:\Program Files\Notepad++\notepad++.exe ... OS Name: Windows 11 Home (64-bit) OS Version: 24H2 OS Build: 26100.7171 ...

    So these instructions do work for Windows 11.

    But this is all generic Windows OS behavior, so your favorite search engine and a little bit of effort on your part should have been able to come up with the same. This advice is completely tangential to Notepad++, and the answer would be the same whether you installed Notepad++ or SublimeText or any other text editor for Windows that tries to ask the OS to set it as the default editor for txt files, and didn’t like its icon.

    update: and when you try any of those icons, and see how ugly they all are, including the one you chose, you will be able to revert to Notepad++'s awesome textfile icon by deleting that DefaultIcon key, and doing another refresh/logout/reboot

  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    C

    after a look at jn-npp-plugin on github it seems Win32 API is not available in win x64 and i didn’t find other way to use openfiledialog…
    i am looking at python plugin now .

    thanks for your help

  • Security shouldn't be the privilege of rich people
    62 Topics
    295 Posts
    donhoD

    @John-Smith-4

    I see in v8.8.8 release there was an issue addressed with WinGup. Could you elaborate what caused this behavior?

    Unfortunately I can’t provide more facts than what we already know.
    We are not aware of any confirmed exploitation of this vulnerability in the wild.
    The fix in v8.8.8 is the best I could do to address the issue of WinGUp being hijacked.

  • All the issues (publications/questions) about binary translation
  • Say fuck to Notepad++ here, and only here
    91 Topics
    522 Posts
    James Burke 0J

    @Maurizio-Scian The real problem is that most Americans don’t know left from right. True right wingers wear BLUE ball hats. American right wingers wear RED ball hats. Now is that fucked-up or what? And what’s more, real communists restore old American cars and put diesel engines in them without catalytic converters. America communists ride electric bicycles and believe in climate change. Lets try to keep this in mind when discussing politics.

  • No support request and bug report here, only unconditional praise and worship

    1 Topics
    4 Posts
    Aubin HeroutA

    salut les petits gwerrrr

  • Share personal tips and cool uses for Notepad++, and similar

    59 Topics
    219 Posts
    guy038G

    Hello, All,

    In summary, a wedding is :

    Lots of preparation the day before

    Lots of celebrations in the evening and the night

    Lots of cleaning up the next day

    We were extremely fortunate to have beautiful weather and pleasant temperatures for the season.!

    My daughter, being a schoolteacher, had naturally chosen the All Saints’ Day school holidays.

    The wedding took place in the Chartreuse Mountains (1,000 m), near Grenoble.

    At the Town Hall :

    0aed2d1e-a6d0-48da-92f1-94fac8620ac7-20251018_19_C.jpg

    In Chartreuse :

    6af1599e-5a7a-4063-912e-389b35bf06c4-20251019_99_C.jpg

    Best Regards,

    guy038

  • Computer/Programming Jokes are welcome here

    57 Topics
    185 Posts
    xomxX

    @donho
    Good attempt, just for surety, why not ;-)

    And I’ve to admit that I used to “abuse” churches too - in the summer it was nice and cool there and, most importantly, quiet, so I could study there and prepare for my exams :-)

    @Terry-R @Lycan-Thrope

    Otherwise on topic - there are IMO no complete atheists (in the sense of believing in something that is beyond my reach or ordinary understanding), everyone has their own faith. But while someone believes e.g. that gravity will still work tomorrow when they wake up, someone else believes in the virgin conception of the Virgin Mary, when the Holy Spirit entered her. For me, religion just parasites on and shackles the natural human need to believe in something better/bigger, something that gives human existence true meaning and a greater dimension.