Page 1 of 3

How to migrate XnViewMP to new PC?

Posted: Sat Oct 29, 2022 5:04 pm
by Fres
Recently I had to replace my desktop (W10) for a new one which came with W11 (home). I had to reinstall all software including XnviewMP (version 1.3.1). I copied the old xnview.ini to its new location but still all my settings are defaults. I also cannot change these defaults; XnView does not seem to update Xnview.ini (although its time mark changes). The location of my Xnview db does not seem to by changeble (remains in Appdata/Roaming). Is there a migration instruction for XnViewMP that I could check? What other steps could I have skipped in the migration process?
Thanks in advance.

PS I checked the FAQ but couldn't find a post on migration to new installation.

Frans van Es

Re: How to migrate XnViewMP to new PC?

Posted: Tue Nov 01, 2022 1:23 pm
by xnview
do you have a xnview.ini in the program folder?

Re: How to migrate XnViewMP to new PC?

Posted: Thu Nov 03, 2022 8:20 pm
by Fres
Yes, I do have an xnview.ini in the programs folder. I even tried to replace the newly created one (by the new installation of XnViewMP) with a copy from the former installation. Nothing works so far. My Xnview database is in a separate partition together with my foto's. Could you mention the files that hold my specific installation settings? I still have the old version and have not changed anything in the database after the new installation yet.
Thanks for your help.

Re: How to migrate XnViewMP to new PC?

Posted: Fri Nov 04, 2022 8:30 am
by xnview
If XnView is installed in 'Program' folder, you need to remove it

Re: How to migrate XnViewMP to new PC?

Posted: Sat Nov 05, 2022 3:21 pm
by Fres
Your advice was just to remove the file. Is that all? XnViewMP requires Xnview.ini isn't it? Should the file not be installed in another location? I followed your advice (off course) but XnView still does not start up with my settings.

Re: How to migrate XnViewMP to new PC?

Posted: Mon Nov 07, 2022 11:29 am
by xnview
Fres wrote: Sat Nov 05, 2022 3:21 pm Your advice was just to remove the file. Is that all? XnViewMP requires Xnview.ini isn't it? Should the file not be installed in another location? I followed your advice (off course) but XnView still does not start up with my settings.
where do you have copied your xnview.ini? in settings>Integration - Paths, what do you have?

Re: How to migrate XnViewMP to new PC?

Posted: Tue Nov 08, 2022 10:10 am
by Fres
Thanks Pierre for your reactions. With the attached screenshots I'll try to describe the integration settings. My Xnview.ini is in the programsfolder (D:\Programs\XNView). My DB is on a separate partion (I:Media\Foto's\XnView\Xnview) this is stated in the settings and the correct location opens (re screenshot). However, when I click on 'open the Database location' XNview does not seem to 'recall' the location as it opens with the desktop. (re screenshot).
NB: all actions are executed under account with administrators rights. W11 Home/ 22H2

Frans van Es

Re: How to migrate XnViewMP to new PC?

Posted: Tue Nov 08, 2022 4:18 pm
by xnview
Fres wrote: Tue Nov 08, 2022 10:10 am My Xnview.ini is in the programsfolder (D:\Programs\XNView).
you must not have the .ini in the program folder (rights problem), but use C:\Users\...\AppData\Roaming\XnViewMP

Re: How to migrate XnViewMP to new PC?

Posted: Tue Nov 08, 2022 9:42 pm
by Fres
Following your advice I changed the location of the Xnview.ini file to the Appdatalocation. Now this location is found correctly. But would it work at all with a copy of the ini file from the old computer? Or do I have to go over all settings agian in a fresh ini file? I renamed the other Xnview files in Roaming as I prefer to have the db and Thumbs in a location that can be backup more easyly (same location as foto's). Re screenshot. Although I indicated the new location for the db (and coinsequntely thumb) in the integration settings, the db is not found (even after a save of the settings) and instead the desktop is shown as db location.
It seems also impossible to save the location of favourite files. These are not maintained after a program shut (via file menu).

Sorry to bother you again, but I would not see all my tagging work with a couple a thousand digitalized slides go down the drain just because of a computer switch.

Frans van Es

Re: How to migrate XnViewMP to new PC?

Posted: Wed Nov 09, 2022 7:36 am
by xnview
you can copy your old .ini in user settings

Re: How to migrate XnViewMP to new PC?

Posted: Sat Nov 12, 2022 12:48 pm
by Fres
Copying the o0ld XnView.ini wasn't enough to get the program working in W11. First I had to adjust all file references and paths in the .ini file. Secondly I had to change the location of both Thumb.db and XnView.db to the system user folder. It does not work with an ajusted folder location under integration settings. Seems strange a bit to me. So now my db file is in the W11 users file on C:\ ; not a favourite location. Do you have an explanation that the adjusted location doesn't work anymore? I used to have it under W10.
Thanks anyway

Frans van Es

Re: How to migrate XnViewMP to new PC?

Posted: Sun Nov 13, 2022 9:02 am
by xnview
the location for the .db wasn't kept after copying the .ini??? could you send me the old .ini?

Re: How to migrate XnViewMP to new PC?

Posted: Sun Nov 13, 2022 4:45 pm
by Fres
In the integration settings I can change the location of the db; but the new location is not maintained after shut down of the the program. When I click on 'open the location of the database' button in the settings screen the desktop is shown.
It seems that .ini files are not accepted as attachments in this forum. I have 2 versions available: the actuel under roaming and the orignal from the old computer. Could I send them to a specific emailadress?

Frans van Es

Re: How to migrate XnViewMP to new PC?

Posted: Sun Nov 13, 2022 9:10 pm
by Fres
Copied the .ini files to pdf's.

Frans van Es

Re: How to migrate XnViewMP to new PC?

Posted: Mon Nov 14, 2022 7:15 am
by xnview
folder for DB is 'I:/Foto's/XnView/XnView/XnView.db/', is it good?