Community
    • Login

    Updating to a new installed version vs. portable version

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    portableupdatingsettings
    5 Posts 2 Posters 341 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.
    • GitHubinatrixG
      GitHubinatrix
      last edited by GitHubinatrix

      Hi, I am new here

      [Please do not throw me out to the wolves for this noob question, but I have not found an answer to it in Help and FAQ]

      I have been using Notepad++ as an installed version. And every time I needed my settings to be saved / restored what I needed to do was to go to

      C:\Users\YOUR-USER-NAME\AppData\Roaming\Notepad++

      and copy / replace files which are located there. But how do I do this with portable version?

      I can see that those files are located in the folder with it, but they are apparently mixed in with other files, including notepad++.exe. I could of course copy whole portable version’s folder to secure it- but that would not solve the problem of using updated version with my previous settings

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @GitHubinatrix
        last edited by

        @GitHubinatrix ,

        how do I do this with portable version?

        For the portable, to copy settings, just copy *.xml from the portable directory and then the appropriate subdirectories.

        GitHubinatrixG 1 Reply Last reply Reply Quote 1
        • GitHubinatrixG
          GitHubinatrix @PeterJones
          last edited by

          @PeterJones But there are 11 XML files in the portable and 7 in installed- so what about those 3 other ones? Plus I have folders plugins, themes and userDefineLangs in my copies of settings - so that would mean I also have to copy / replace them every time, right?

          And also: to migrate from installed to portable version I just need to replace the above files and folder in the main folder of portable?

          PeterJonesP 1 Reply Last reply Reply Quote 0
          • PeterJonesP
            PeterJones @GitHubinatrix
            last edited by

            @GitHubinatrix said in Updating to a new installed version vs. portable version:

            But there are 11 XML files in the portable and 7 in installed- so what about those 3 other ones?

            11-7=4.

            Three of those four “extra” XML are found in the installed directory when you do an installation (the .model. versions and the tabContextMenu_example.xml). The fourth file, doLocalConf.xml is what tells the portable version to use the local (portable) directory for looking for config files, instead of using the AppData folder. It’s fine (and probably even a good idea) to include those in the backup you make.

            The purpose of every single one of those files is described in the user manual’s Configuration File Details page.

            Plus I have folders plugins, themes and userDefineLangs in my copies of settings - so that would mean I also have to copy / replace them every time, right?

            That’s why I said, “and then the appropriate subdirectories”

            And also: to migrate from installed to portable version I just need to replace the above files and folder in the main folder of portable?

            Correct, if you take the AppData XML files and the subfolders, and write over the same files/folders in your portable unzip, you will migrate your settings from the installed version to the portable version.

            1 Reply Last reply Reply Quote 2
            • GitHubinatrixG
              GitHubinatrix
              last edited by

              OK, thank you for making it extra clear

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