Updating to a new installed version vs. portable version
-
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 -
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.
-
@PeterJones But there are 11
XML
files in the portable and 7 in installed- so what about those 3 other ones? Plus I have foldersplugins
,themes
anduserDefineLangs
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?
-
@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 thetabContextMenu_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
anduserDefineLangs
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.
-
OK, thank you for making it extra clear