Notepad++ UWP package in Windows store - almost there

  • I have a testing build up and with instructions. :)

    It is configured to open .rtf, .txt, and .xml files from File Explorer, if installed. You can see it at the bottom of the GitHub issue (link above)

  • I am on fire today. Sorry for inundating your email boxes!

    I released Revision 6 of a build. It supports all extensions except 3 (which I talked about on the GitHub issue). Removed updater as well. It works very well - good enough to publish! :)

    This is not a pure Desktop App Converter build. Rather, I take the files Desktop App Converter creates, then modify them to support a few additional, crucial features.

    • You can right-click any Notepad++ supported extension (except .cmd, .bat, and .hta) and find Notepad++ under the “Open With” menu, or set it as default. This is important because the conversion bridge does not support the old way of setting supported extensions (in fact, the whole File Extensions settings panel in Notepad++ doesn’t do anything with the UWP Bridge on). If this did not work, you could only open files from within Notepad++, and never from File Explorer.
    • Added the “Edit with Notepad++” menu item when right-clicking items. Unfortunately, due to the stronger security model on UWP Bridge apps, Notepad++ must have been set to default for that file extension already for the “Edit with Notepad++” menu item to appear. This makes it a little redundant, but I added it for backward-compatibility sake.

    I will make a few more revisions before I am happy with it. After that, I will either

    • Make a guide, explaining how the APPX design works best, and how to do this manually OR
    • (Hopefully) become a maintainer and submit APPX packages every time a new release comes out to @donho to manually upload to the Windows Store.

  • @donho

    I hope that the Windows store (ugh!) won’t be the ONLY way to get Notepad++ moving forward…

  • @Alan-Kilborn No, it shouldn’t be. This takes the .exe file (already generated) that is currently used, and then packages it up. So you would have to make a regular installer anyway to use this method. Which, at that point, why stop supplying it if you are going to do it anyway?

  • Besides, Windows 7 still has 46.63% usage, according to, and Windows 10 only has 29.26% usage.

    You don’t want to abandon more than half the market overnight, now do you? :)

  • I just posted all of my instructions to build an AppX with my tweaks and improvements on GitHub. I will post a copy here.


    1. Make sure a proper base image is installed, run DesktopAppConverter app as Admin.
    2. In this example, directory system looks like:
    • Downloads
      • npp.7.5.1.Installer.exe
      • notepad++ (folder)
        • (folder, always use for current build)
          • cert.pfx
          • mynamehere.cer
          • PackageFiles (folder)
            • Assets (folder)
            • localization (folder)
            • plugins (folder)
            • VFS (folder)
            • notepad++.exe
            • AppxManifest.xml
            • [Various other system-generated files…]
        • […]
        • […]
    1. Always rename a build, once completed, to have the date added at the end. This is important - the “” folder should only be used for latest build.
    2. Run command similar to this from Downloads folder:
    DesktopAppConverter.exe -Installer npp.7.5.1.Installer.exe -InstallerArguments "/S /noUpdater" -Destination notepad++ -PackageName "" -Publisher "CN=GJSMan" -Version
    cd notepad++\\PackageFiles
    1. Now, copy the AppxManifest.xml file from the previous build, overwriting the AppxManifest.xml that is in the current folder. If this is your first build, don’t do this, and edit AppxManifest.xml to match the file listed at the bottom of this post.
    cp ../../ AppxManifest.xml
    1. Edit the newly-copied AppxManifest.xml file, updating the version number on line 3. Don’t make any other modifications.

    2. Make the AppX:

    cd ..
    MakeAppx pack /v /h SHA256 /d "PackageFiles" /p Notepad++.appx

    NOTE: When doing this for the first time, you must add C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x86 to the Path attribute in Environment Variables for this to work, and restart PowerShell.
    If you are using a different build than 16299, you should open the folder in File Explorer and adjust accordingly.

    1. Sign the AppX, so you can install and test:
      A) Copy the certificate already generated (see below if this is your first time) from your previous build into the folder.
      B) Run:
    signtool sign /fd SHA256 /a /f mycert.pfx /p MYSECRETPASSWORDHERE MyPackage.appx

    If doing this for the first time, you must generate a private certificate on your computer, then copy the .pfx and .cer files into the folder, then use that to sign.

    • To clarify, the .cer is the public key (the exported one), whereas the .pfx is used for signing and is private.
    • You must have the Environment Variable in Step 7 set for this to work.
    • You only need to generate the certificate one time. After this, again, just copy-and-paste the certificate from the previous build into the new one.

    To generate the certificate (if this is your first build):
    A) New-SelfSignedCertificate -Type Custom -Subject "CN=<YourNameHere>" -KeyUsage DigitalSignature -FriendlyName <Your Friendly Name> -CertStoreLocation "Cert:\LocalMachine\My"
    B) Set-Location Cert:\LocalMachine\My
    C) Get-ChildItem | Format-Table Subject, FriendlyName, Thumbprint
    D) $pwd = ConvertTo-SecureString -String <Your Password> -Force -AsPlainText
    E) Export-PfxCertificate -cert "Cert:\LocalMachine\My\<Certificate Thumbprint>" -FilePath C:\Users\myname\Downloads\notepad++\\cert.pfx -Password $pwd
    F) cd C:\Users\myname\Downloads\notepad++\
    G) Open “Manage Computer Certificates” from Search box in Windows 10.
    H) Double click “Personal” > “Certificates”
    I) Right click, “All Tasks” > Export
    J) Next, “No, I do not want to export the private key”, “DER Encoded Binary”, and save to C:\Users\myname\Downloads\notepad++\\mynamehere.cer. “Next”, “Finish.”
    K) Update your AppxManifest.xml file to use “CN=YourNameHere” and update your publisher names in that file.
    L) Go to the top, part B above this. Run signtool using your newly-generated .pfx.

    1. Double click the .cer once signed, and Install it to “Trusted People.”
    2. Double click the .appx just generated, and click Install.

    Additional Notes:

    This is the default AppX. When building a build for the first time, you must copy and paste this AppX over the generated one.

    <?xml version="1.0" encoding="utf-8"?>
    <Package xmlns="" xmlns:uap="" xmlns:uap2="" xmlns:uap3="" xmlns:uap4="" xmlns:rescap="" xmlns:rescap3="" xmlns:desktop="" xmlns:desktop2="" xmlns:com="" xmlns:wincap3="" IgnorableNamespaces="uap4 wincap3 rescap3 desktop2 com">
      <Identity Name="" ProcessorArchitecture="x86" Publisher="CN=GJSMan" Version="" />
        <Resource Language="en-us" />
        <Resource uap:Scale="100" />
        <Resource uap:Scale="125" />
        <Resource uap:Scale="150" />
        <Resource uap:Scale="200" />
        <Resource uap:Scale="400" />
        <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14393.0" MaxVersionTested="10.0.16299.15" />
        <rescap:Capability Name="runFullTrust" />
        <Capability Name="internetClient" />
        <Application Id="" Executable="notepad++.exe" EntryPoint="Windows.FullTrustApplication">
          <uap:VisualElements DisplayName="Notepad++" Description="" BackgroundColor="transparent" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png">
            <uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" Square310x310Logo="Assets\Square310x310Logo.png" Square71x71Logo="Assets\Square71x71Logo.png">
                <uap:ShowOn Tile="square150x150Logo" />
                <uap:ShowOn Tile="wide310x150Logo" />
                <uap:ShowOn Tile="square310x310Logo" />
            <uap3:Extension Category="windows.appExecutionAlias" Executable="notepad++.exe" EntryPoint="Windows.FullTrustApplication">
                <desktop:ExecutionAlias Alias="notepad++.exe" />
    		<uap:Extension Category="windows.fileTypeAssociation">
              <uap3:FileTypeAssociation Name="">
                  <uap3:Verb Id="Edit" Parameters="&quot;%1&quot;">Edit with Notepad++</uap3:Verb>

    Copy and paste this in to AppxManifest.xml for the first build.
    To clarify, you must copy this over the AppxManifest.xml file on your first build, then copy the AppxManifest.xml from the previous build every time you make a new build.

  • @Alan-Kilborn

    I hope that the Windows store (ugh!) won’t be the ONLY way to get Notepad++ moving forward…

    Not sure about what are you talking about. If you’re talking about the way to get Notepad++ installed, there will be the same distribution way via, plus Windows Store’s distribution. So users have more choice.

  • @Claudia-Frank

    DesktopAppConverter -Cleanup "All" -Verbose

    works well, and install the new image without problem. Thank you.

    I’ll let you know if I can make an UWP package.

  • @gjsman

    I have tried Windows convension Bridge several times, I have never managed to get UWP from it. In anyway, it’s impossible to build any distribution from a 3rd party server, not only for the reliability reason, but also for the security reason.

    Thank you very much for the very detail info. It helps me a lot.

  • @donho

    “In anyway, it’s impossible to build any distribution from a 3rd party server, not only for the reliability reason, but also for the security reason.”

    What do you mean? Do you mean that Notepad++ remixes can’t be built? Or are you talking about something else?

    “Thank you very much for the very detail info. It helps me a lot.”

    Great! I don’t want to make things to complicated, and you can just use that simple command, but it won’t be an ideal experience without the modifications I put in those instructions (the main change is that you can open files from File Explorer, because file associations as they were done in the past don’t work, and without this you would have to go File > Open for every file you wanted to open).

    If you need additional help let me know. :)

  • “I have tried Windows convension Bridge several times, I have never managed to get UWP from it.”

    @donho With the conversion bridge, you CAN use UWP APIs, XAML, and more features (You just have to code for it)

    Here is some supplied (example) C++:

    DllExport bool __stdcall LaunchMap(double lat, double lon)
        String ^str = ref new String(L"desktopbridgemapsample://");
        Uri ^uri = ref new Uri(
          str + L"location?lat=" + lat.ToString() + L"&?lon=" + lon.ToString());
        // now launch the UWP component
      catch (Exception^ ex) { return false; }
      return true;

  • @donho If you meant that you never got a successful result from the bridge, that is odd. In my case, the biggest issue I had was needing Windows 10 Pro (because Home doesn’t include Hyper-V).

    So, goal here: Getting the basic UWP package working. When you get basic UWP builds working (without modifications), I would actually publish it to the Store like that. Improvements that require more build steps (like my modifications) can come later. :)

    Remember, Desktop-converted apps require special permission from Microsoft to be published. They charge $19 for an Individual’s Store account (this is for everyone), and they don’t charge for publishing converted Desktop apps, but they do require you fill out a special form asking for permission. After all, desktop apps (even packaged as UWP) still have far more control over the system than regular, new UWP apps do.

    In fact, Microsoft would prefer you filled out this form sooner than later, by the sound of it. It is also implied that they will help with any problems or questions. Also, they have a tendency to actually seek out apps they deem important and ask their developers to bring them to the store - they would probably really want you to bring Notepad++ to the store and would probably be more than happy to help you.

  • @donho Any luck?

  • I @donho I’m Francesco from UWP Open Source Community, I see that you are working hard on conversion…but I don’t understand why you can’t complete the first step…would you restart from a blank canvass with us( @gjsman @claudia-frank )?
    Futhermore, with the last windows update (Fall Creator Update) is possible distribute UWP also in your own website, check here:[link text](link url)

  • @Francesco-Venuti

    Just wanted to let you know that I’m not really up to date about UWP
    because I stopped using windows operating systems some time ago.
    So I don’t think that I can bring in useful knowledge but if there is, I will certainly do.


  • @donho @Francesco-Venuti

    I have packaged it successfully… more trying to get @donho to successfully package it.

    Any luck at all?


    Just saw this today. Is this official? Should I be worried if it isn’t by the original team?


  • @Nobel-Harvards

    it is from windows store so … I guess it is safe … somehow,
    but don’t know which version they provide and how often they build new packages
    but if this is irrelevant to you I would think you can go for it.

    Just my two cents.


  • @Claudia-Frank @Nobel-Harvards You might have seen my posts above about how I packaged it. I am not the person who put it on the store, however. I have no idea who NightRise is. Just letting you know - even though I posted a lot on how to do it, I am not the same person.

  • Hi folks - that would be me who put it in the store… i really really really really needed it for a not-for-profit I am helping out (thank you Windows 10S).

    Code modifications were required to get Microsoft to approve it… so I did have to fork the code. Modifications, and the packaged application (so folks can verify it) is all located here:

    Any questions do let me know, also happy to transfer this app to the official “notepad++” team to maintain if they would like it. Until then… I am happy to keep it going on the store.

Log in to reply