Community
    • Login

    Notepad++ 7 - 64-bit Available

    Scheduled Pinned Locked Moved Announcements
    48 Posts 27 Posters 111.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Eric WinnE
      Eric Winn
      last edited by Eric Winn

      Installing 64-bit on 64-bit Windows with 32-bit Notepad++ already installed ends up with two installations because the 64-bit installer doesn’t check to see if there is already a 32-bit version installed.

      The 32-bit install ends up in C:\Program Files (x86)\Notepad++ and the 64-bit install ends up in C:\Program Files\Notepad++ as you would expect.

      Not necessarily a problem but when you then uninstall the 32-bit version it also removes the various configuration files like config.xml, session.xml, etc. located in C:\Users\%username%\AppData\Roaming\Notepad++.

      I would have preferred to keep my history and session data.

      In other words, both 32-bit and 64-installs point to the same C:\Users\%username%\AppData\Roaming\Notepad++ path so running either uninstall will remove all of these files.

      On another machine I copied the existing 32-bit NPP config.xml and session.xml files to a temporary location and then removed 32-bit NPP before installing 64-bit NPP. Then I opened the old config.xml and session.xml and copied in the session data and history data into the new 64-bit installed ones which worked fine and didn’t seem to trouble NPP. Note I was careful with what I copied and where I pasted.

      It would be nice if the 64-bit installer handled an existing config.xml and/or session.xml file differently. Maybe ask if you want to preserve you current session and history data?

      donhoD Caerwyn PearceC 2 Replies Last reply Reply Quote 0
      • donhoD
        donho @jNizM
        last edited by

        @jNizM Thank you for making Notepad++ crash !
        it’ll be fixed in the next release.

        1 Reply Last reply Reply Quote 0
        • Salimsg IbrahimS
          Salimsg Ibrahim
          last edited by

          In addition to the issues brought up by Eric Winn, the file association is unable to switched to the 64-bit version, even if I rename the 32-bit version folder to something else. Not sure if this is a Windows 7 64 bit problem or Notepad++ problem.

          donhoD 1 Reply Last reply Reply Quote 0
          • donhoD
            donho @Salimsg Ibrahim
            last edited by

            @Salimsg-Ibrahim Could you povide the step-by-step instuctions so I can repoduce it?

            1 Reply Last reply Reply Quote 0
            • donhoD
              donho
              last edited by

              @dail Thank you for infos. I cannot reproduce it either.
              I’ll stay tightly on this issue.

              1 Reply Last reply Reply Quote 1
              • Rickard JonssonR
                Rickard Jonsson
                last edited by

                Hi i’m try to install notepad++ 7 x64 from command line with this switches but it will not install in this folder why? npp.7.Installer.x64.exe /S /D=C:\Program Files\Plus!\Notepad++

                1 Reply Last reply Reply Quote 0
                • Salimsg IbrahimS
                  Salimsg Ibrahim
                  last edited by

                  Thank you for the response. I am using Windows 7 64-bit and Notepad++ 6.9.2, which is located at C:\notepad++\notepad++.exe. After installing Notepad++ 7 64-bit, it is now located at C:\Program Files\notepad++\notepad++.exe. Right-click a .txt file to open with> choose a default program> open notepad++.exe in C:\Program Files\notepad++.
                  However it is the 6.9.2 version that is called up. What I did was to rename C:\notepad++ folder to something else. Try right-click again to open with> choose a default program> goes to C:\Program Files\notepad++ folder. Problem is notepad++.exe does not appear in windows 7 open with windows anymore.

                  1 Reply Last reply Reply Quote 0
                  • Salimsg IbrahimS
                    Salimsg Ibrahim
                    last edited by

                    Hi Don, I solved my problem. This is the solution:

                    The program that you’re pointing to isn’t registered correctly.

                    In regedit: Navigate to Computer\HKEY_CLASSES_ROOT\Applications and find your .exe name.
                    Navigate under its name to shell>open>command. In the Default change its location to the actual location of the executable, hit okay and then try and reassociate the file type as you normally would.

                    kawingaK 1 Reply Last reply Reply Quote 1
                    • donhoD
                      donho @Eric Winn
                      last edited by

                      @Eric-Winn
                      You are pointing out an issue where there may be some incoherence.

                      Indeed there are 2 scenarios :
                      if user download installer for 64-bit and install it without remove old 32-bit one, both 32-bit and 64-bit binaries will stay in C:\Program Files (x86)\ and C:\Program Files\ respectively.

                      OTOH, if user uninstalls 32-bit version before installing 64-bit version, all the settings will be gone. But user is aware of what they do so it’s a normal behaviour to me.

                      I have no yet idea to solve this issue. If anyone in here has a thought, please let me know.

                      1 Reply Last reply Reply Quote 0
                      • dailD
                        dail
                        last edited by

                        @donho

                        I’ve seen some uninstallers ask the user whether they’d like to keep their configuration files. Not sure how easy this would be.

                        donhoD 2 Replies Last reply Reply Quote 1
                        • donhoD
                          donho @dail
                          last edited by

                          @dail How about remove automatically the 32-bit version while installing 64-bit version and vice versa?

                          1 Reply Last reply Reply Quote 1
                          • dailD
                            dail
                            last edited by

                            I’m curious how other applications work that have both 32bit and 64bit installations.

                            How about remove automatically the 32-bit version while installing 64-bit version and vice versa?

                            That might be a good solution (possibly ask/warn the user?). Either way, I think a couple of things have to be considered:

                            1. If 32bit and 64bit are allowed to be installed simultaneously:
                            • Users might get confused. Using the windows shell to edit a file with Notepad++ might not always use the one they want.
                            • At least all the config files should be compatible between 32bit and 64bit which is good.
                            • Plugins will be different between the two. Also, if plugins are allowed to be loaded from %APPDATA% do 32 and 64bit try to load the same plugins? This could be a problem.
                            1. If only one of either 32bit or 64bit is allowed to be install:
                            • I’m sure someone will complain, but you can’t please all users :)
                            • I’ve found it useful so that I can test 32bit and 64bit plugins…but there are several other ways to do this so not a big deal.
                            donhoD 1 Reply Last reply Reply Quote 0
                            • Tibi DezseT
                              Tibi Dezse
                              last edited by

                              Macro recording, hang the whole

                              donhoD 1 Reply Last reply Reply Quote 1
                              • donhoD
                                donho @Tibi Dezse
                                last edited by

                                @Tibi-Dezse it should be fixed in the latest snapshot:
                                https://ci.appveyor.com/project/donho/notepad-plus-plus/build/job/tv72aehq0plqabdn/artifacts

                                1 Reply Last reply Reply Quote 0
                                • Paul SlaterP
                                  Paul Slater
                                  last edited by

                                  Crashes when recording a macro. Usually when you type a \ for a special character.

                                  I’ve reverted to 6.9.2

                                  donhoD 1 Reply Last reply Reply Quote 1
                                  • donhoD
                                    donho @Paul Slater
                                    last edited by

                                    @Paul-Slater It has been fixed in:
                                    https://ci.appveyor.com/project/donho/notepad-plus-plus/build/job/tv72aehq0plqabdn/artifacts

                                    Could you check it and confirm us the fix?

                                    1 Reply Last reply Reply Quote 0
                                    • Sean McPolandS
                                      Sean McPoland
                                      last edited by

                                      No PlugIn Manager?

                                      I assume it’s been left out until PlugIns are available…but shouldn’t it just list those available for 64 bit…meaning it should be there.

                                      Many thanks by the way,

                                      Mohammad MasoumiM 1 Reply Last reply Reply Quote 2
                                      • donhoD
                                        donho @dail
                                        last edited by

                                        @dail Good point!
                                        What’s your suggestion then?

                                        1 Reply Last reply Reply Quote 0
                                        • dailD
                                          dail
                                          last edited by

                                          @donho Under normal circumstances I don’t think users will need both. However, forcing a user to use just one might not be a good idea since there may be good reason to have both installed.

                                          So this is my suggestion (feel free to use it, or do something completely different :))

                                          • During installation (e.g. of 64bit Notepad++ version)
                                            • Check to see if 32bit version is currently installed.
                                            • If so, warn the user that installing both may cause problems.
                                            • Ask the user if they want to uninstall the 32bit version.
                                            • During uninstall of 32bit version, give the user the option to keep their current settings. This would probably be easy if they are using %APPDATA% but if they are using a local conf mode then the xml files won’t be in the right place, they would be under C:\Program Files (x86)\...

                                          Again this is just my suggestion so feel free to do whatever you feel is appropriate, and others may have better ideas. I am not familiar with NSIS so I don’t know the details of how hard or easy all this would be.

                                          1 Reply Last reply Reply Quote 2
                                          • kawingaK
                                            kawinga @Salimsg Ibrahim
                                            last edited by

                                            @Salimsg-Ibrahim i just wanted to point out the same solution, i found it on myself

                                            In regedit: Navigate to Computer\HKEY_CLASSES_ROOT\Applications\notepad++ and find your .exe name.
                                            Navigate under its name to shell>open>command. In the Default change its location to the actual location of the executable, hit okay and then try and reassociate the file type as you normally would.

                                            @donho i fear there will be a lot of users experiencing this problem, maybe you should try to get a fix before the automatic update causes a lot of troubles

                                            i like @dail solution

                                            @dail said:

                                            • During installation (e.g. of 64bit Notepad++ version)
                                              • Check to see if 32bit version is currently installed.
                                              • If so, warn the user that installing both may cause problems.
                                              • Ask the user if they want to uninstall the 32bit version.
                                              • During uninstall of 32bit version, give the user the option to keep their current settings. This would probably be easy if they are using %APPDATA% but if they are using a local conf mode then the xml files won’t be in the right place, they would be under C:\Program Files (x86)\...
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors