• Login
Community
  • Login

Updating to a new installed version vs. portable version

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
portableupdatingsettings
5 Posts 2 Posters 346 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.
  • G
    GitHubinatrix
    last edited by GitHubinatrix Jan 18, 2023, 1:48 PM Jan 18, 2023, 1:46 PM

    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

    P 1 Reply Last reply Jan 18, 2023, 1:55 PM Reply Quote 0
    • P
      PeterJones @GitHubinatrix
      last edited by Jan 18, 2023, 1:55 PM

      @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.

      G 1 Reply Last reply Jan 18, 2023, 2:15 PM Reply Quote 1
      • G
        GitHubinatrix @PeterJones
        last edited by Jan 18, 2023, 2:15 PM

        @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?

        P 1 Reply Last reply Jan 18, 2023, 2:27 PM Reply Quote 0
        • P
          PeterJones @GitHubinatrix
          last edited by Jan 18, 2023, 2:27 PM

          @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
          • G
            GitHubinatrix
            last edited by Jan 21, 2023, 12:42 PM

            OK, thank you for making it extra clear

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