How to migrate XnViewMP to new PC?

*** Please report new bugs here! ***

Moderators: xnview, Dreamer

Fres
Posts: 44
Joined: Sat Jan 14, 2017 5:43 pm

How to migrate XnViewMP to new PC?

Post 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
User avatar
xnview
Author of XnView
Posts: 47726
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How to migrate XnViewMP to new PC?

Post by xnview »

do you have a xnview.ini in the program folder?
Pierre.
Fres
Posts: 44
Joined: Sat Jan 14, 2017 5:43 pm

Re: How to migrate XnViewMP to new PC?

Post 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.
User avatar
xnview
Author of XnView
Posts: 47726
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How to migrate XnViewMP to new PC?

Post by xnview »

If XnView is installed in 'Program' folder, you need to remove it
Pierre.
Fres
Posts: 44
Joined: Sat Jan 14, 2017 5:43 pm

Re: How to migrate XnViewMP to new PC?

Post 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.
User avatar
xnview
Author of XnView
Posts: 47726
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How to migrate XnViewMP to new PC?

Post 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?
Pierre.
Fres
Posts: 44
Joined: Sat Jan 14, 2017 5:43 pm

Re: How to migrate XnViewMP to new PC?

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 47726
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How to migrate XnViewMP to new PC?

Post 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
Pierre.
Fres
Posts: 44
Joined: Sat Jan 14, 2017 5:43 pm

Re: How to migrate XnViewMP to new PC?

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 47726
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How to migrate XnViewMP to new PC?

Post by xnview »

you can copy your old .ini in user settings
Pierre.
Fres
Posts: 44
Joined: Sat Jan 14, 2017 5:43 pm

Re: How to migrate XnViewMP to new PC?

Post 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
User avatar
xnview
Author of XnView
Posts: 47726
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How to migrate XnViewMP to new PC?

Post by xnview »

the location for the .db wasn't kept after copying the .ini??? could you send me the old .ini?
Pierre.
Fres
Posts: 44
Joined: Sat Jan 14, 2017 5:43 pm

Re: How to migrate XnViewMP to new PC?

Post 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
Fres
Posts: 44
Joined: Sat Jan 14, 2017 5:43 pm

Re: How to migrate XnViewMP to new PC?

Post by Fres »

Copied the .ini files to pdf's.

Frans van Es
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 47726
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How to migrate XnViewMP to new PC?

Post by xnview »

folder for DB is 'I:/Foto's/XnView/XnView/XnView.db/', is it good?
Pierre.