Community
    • Login

    Notepad++ 7.6 & new Plugins Admin

    Scheduled Pinned Locked Moved Announcements
    94 Posts 32 Posters 122.7k 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.
    • Andrew BriggsA
      Andrew Briggs
      last edited by Andrew Briggs

      I confirm as well. Notepad++ needs to use folder names based on architecture e.g. %USERPROFILE%\AppData\Local\Notepad++\x64\ and %USERPROFILE%\AppData\Local\Notepad++\x86 etc or some other structure that has unique folders for the 2 x64 and x86 architectures.

      donhoD 1 Reply Last reply Reply Quote 2
      • dinkumoilD
        dinkumoil @bveldkamp
        last edited by

        @bveldkamp

        Forget my last posting, here is a much better advice.

        1 Reply Last reply Reply Quote 1
        • bveldkampB
          bveldkamp @dinkumoil
          last edited by

          I see now that the menu is there when I run NP++ ‘As Administrator’, but not for my normal user account. I’d expect it to be available for all users especially now that plugins go into %LOCALAPPDATA%.

          A complete reinstall didn’t change anything.

          FWIW, I have installed 7.6 x64

          Meta ChuhM 1 Reply Last reply Reply Quote 0
          • Meta ChuhM
            Meta Chuh moderator @bveldkamp
            last edited by Meta Chuh

            @bveldkamp
            %LOCALAPPDATA% is personalized for each user, so if installed as Administrator, all other users won’t see any plugins

            the only workaround i found so far for using all plugins for all users is:
            install notepad++ to C:\Notepad++ with the option “Do not use %APPDATA%” selected
            (don’t install inside C:\Program Files\ when selecting “Dont use %APPDATA%” or you will not see plugins nor the plugins admin)

            hope it helps

            1 Reply Last reply Reply Quote 0
            • ZanzaraaaZ
              Zanzaraaa
              last edited by

              wow guys, this is a big step back.
              now its not possible anymore for sysadmins to provide plugins for all users in the notepad++ plugins directory in the program files install folder. now plugins are only in the current users profile? seriously?

              Meta ChuhM donhoD 2 Replies Last reply Reply Quote 4
              • Meta ChuhM
                Meta Chuh moderator @Zanzaraaa
                last edited by

                @Zanzaraaa
                i understand your point, but it’s not quite a big step back for np++ imho.

                multiuser installs was just something noone of us users had tested thoroughly enough prior to the 7.6 release, so it’s more our fault as “pre release testers”.

                the only thing needed to fix this behavior is that a present DoLocalConf.xml overrules the trigger that plugins manager ignores DoLocalConf.xml if the install is within %PROGRAMFILES% or %PROGRAMFILES(x86)%

                currently plugins manager and the plugin routine just ignores a DoLocalConf.xml (don’t use %APPDATA% setting at install) if notepad++ lies within %PROGRAMFILES% or %PROGRAMFILES(x86)%

                maybe @donho has a fix soon, maybe not, but anyway noone is really forced to use 7.6 instead of 7.5.9 or a later release, so it doesn’t seem that much of a problem

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

                  @dinkumoil said:

                  Point 1. is also nasty for users because currently they can not download easily a NppPluginList.dll and I already thought you will not refuse to change that.

                  Which folder is suitable for this enhancement?

                  dinkumoilD 1 Reply Last reply Reply Quote 0
                  • donhoD
                    donho @Andrew Briggs
                    last edited by

                    @Andrew-Briggs said:

                    I confirm as well. Notepad++ needs to use folder names based on architecture e.g. %USERPROFILE%\AppData\Local\Notepad++\x64\ and %USERPROFILE%\AppData\Local\Notepad++\x86 etc or some other structure that has unique folders for the 2 x64 and x86 architectures.

                    Please give me a reason that we need that.

                    NoMoreFoodN dinkumoilD 2 Replies Last reply Reply Quote 1
                    • dinkumoilD
                      dinkumoil @donho
                      last edited by dinkumoil

                      @donho said:

                      Which folder is suitable for this enhancement?

                      As @SinghRajenM already suggested here:

                      %allusersprofile% … or can it be kept in %programfiles% itself

                      NoMoreFoodN 1 Reply Last reply Reply Quote 2
                      • donhoD
                        donho @Zanzaraaa
                        last edited by

                        @Zanzaraaa said:

                        now its not possible anymore for sysadmins to provide plugins for all users in the notepad++ plugins directory in the program files install folder. now plugins are only in the current users profile? seriously?

                        IMO, every user has his/her need, so it makes sens that each user installs his/her plugins in his/her space. Or am I missing some cases?

                        ZanzaraaaZ 1 Reply Last reply Reply Quote 0
                        • ZanzaraaaZ
                          Zanzaraaa @donho
                          last edited by Zanzaraaa

                          @donho said:

                          IMO, every user has his/her need, so it makes sens that each user installs his/her plugins in his/her space. Or am I missing some cases?

                          yes this seems ok for home users.
                          but in company environment where you have some plugins that you want or have to provide to ALL users, you just had to copy the plugins into the program files plugin folder and every user has it when he starts notepad++. no need for users to manually mess around.
                          also normally i delete the plugin manager after installation because we dont want users to use it to manually install or update plugins. they should only use the ones we provide.

                          donhoD 1 Reply Last reply Reply Quote 2
                          • pnedevP
                            pnedev
                            last edited by

                            There is also the case when some plugins are needed by ALL users using the computer and some are for personal use.
                            Best would be to be able to install and load plugins from %ALLUSERSPROFILE% as well as from %LOCALAPPDATA%.

                            donhoD 1 Reply Last reply Reply Quote 3
                            • donhoD
                              donho @Zanzaraaa
                              last edited by donho

                              @Zanzaraaa said:

                              but in company environment where you have some plugins that you want or have to provide to ALL users, you just had to copy the plugins into the program files plugin folder and every user has it when he starts notepad++. no need for users to manually mess around.

                              OK, I see. How about an empty file pluginsForAllUser.xml makes Notepad++ load from %ALLUSERSPROFILE% ?

                              also normally i delete the plugin manager after installation because we dont want users to use it to manually install or update plugins. they should only use the ones we provide.

                              So I will provide a simpler way for the deployment of Notepad++ - could you test to see if it’s suitable for companies?

                              ZanzaraaaZ Fran FavoriniF Andrew S. BakerA 3 Replies Last reply Reply Quote 0
                              • ZanzaraaaZ
                                Zanzaraaa @donho
                                last edited by Zanzaraaa

                                @donho said:

                                @Zanzaraaa said:
                                OK, I see. How about an empty file pluginsForAllUser.xml makes Notepad++ load from %ALLUSERSPROFILE% ?

                                Yes that sounds good. Also pnedevs idea is good. it should be possible to define if you want plugins to be loaded from both paths or only one.
                                But why use %ALLUSERSPROFILE% and not keep the plugins folder in the program files install folder like in pre 5.7 versions?
                                Also i’m still concerned about migration of existing plugins. i wonder if it is possible to keep things like they were in pre 5.7. that you dont have to migration plugins from the plugin folder into their own subfolder.

                                So I will provide a simpler way for the deployment of Notepad++ - could you test to see if it’s suitable for companies?

                                Sure, i can test it.

                                1 Reply Last reply Reply Quote 0
                                • NoMoreFoodN
                                  NoMoreFood @donho
                                  last edited by

                                  @donho said:

                                  @Andrew-Briggs said:

                                  I confirm as well. Notepad++ needs to use folder names based on architecture e.g. %USERPROFILE%\AppData\Local\Notepad++\x64\ and %USERPROFILE%\AppData\Local\Notepad++\x86 etc or some other structure that has unique folders for the 2 x64 and x86 architectures.

                                  Please give me a reason that we need that.

                                  This was not my comment, but I agree with it. Since DLLs can only be loaded by a version of Notepad++ compiled for the same architecture, it makes sense to design it such it can safely execute the 32-bit version and a 64-bit version side-by-side on the same machine.

                                  1 Reply Last reply Reply Quote 0
                                  • NoMoreFoodN
                                    NoMoreFood @dinkumoil
                                    last edited by

                                    @dinkumoil said:

                                    @donho said:

                                    Which folder is suitable for this enhancement?

                                    As @SinghRajenM already suggested here:

                                    %allusersprofile% … or can it be kept in %programfiles% itself

                                    Use of the Notepad++ execution directory may also make Notepad++ running in portable mode more plugin friendly since it will all be self-contained.

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

                                      @pnedev said:

                                      There is also the case when some plugins are needed by ALL users using the computer and some are for personal use.
                                      Best would be to be able to install and load plugins from %ALLUSERSPROFILE% as well as from %LOCALAPPDATA%.

                                      The idea is good, but there’ll be some situation which make Plugins Admin behaviour inconsistent:
                                      If the same plugin foo.dll is in 2 different location, %ALLUSERSPROFILE%\Notepad++\plugins\foo\foo.dll and %LOCALAPPDATA%\Notepad++\plugins\foo\foo.dll
                                      Notepad++ will load only one (old behaviour). If user removes one of 2, the remain one will be loaded by Notepad++ - user will be confused.

                                      So the best behaviour (to me) is loading plugins only from one location.

                                      SinghRajenMS 1 Reply Last reply Reply Quote 1
                                      • donhoD
                                        donho @NoMoreFood
                                        last edited by

                                        @NoMoreFood said:

                                        @dinkumoil said:

                                        @donho said:

                                        Which folder is suitable for this enhancement?

                                        As @SinghRajenM already suggested here:

                                        %allusersprofile% … or can it be kept in %programfiles% itself

                                        Use of the Notepad++ execution directory may also make Notepad++ running in portable mode more plugin friendly since it will all be self-contained.

                                        Indeed, it’s the current behaviour - if Notepad++ is not installed in Program Files.

                                        1 Reply Last reply Reply Quote 0
                                        • pnedevP
                                          pnedev
                                          last edited by

                                          @NoMoreFood said:

                                          it makes sense to design it such it can safely execute the 32-bit version and a 64-bit version side-by-side on the same machine.

                                          Why, what is the justification behind that?
                                          Just curious.

                                          NoMoreFoodN 1 Reply Last reply Reply Quote 0
                                          • pnedevP
                                            pnedev
                                            last edited by

                                            @donho said:

                                            If user removes one of 2, the remain one will be loaded by Notepad++ - user will be confused.

                                            Hm, not sure about that, maybe you are right.

                                            I kind-of lost the reason behind the idea of moving all plugins out of Notepad++'s install folder. Keeping all plugin’s files under a separate sub-folder in plugins is nice but why in user’s personal folder?

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors