How to migrate XnViewMP to new PC?

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

Moderators: helmut, XnTriq, xnview, Dreamer

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

Re: How to migrate XnViewMP to new PC?

Post by Fres »

That is the location I would prefer, but for now XnViewMP only works correctly with the DB in C:\Users\<username>\appdata\roaming\XNViewMP.

Frans van Es
User avatar
xnview
Author of XnView
Posts: 46253
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to migrate XnViewMP to new PC?

Post by xnview »

Fres wrote: Mon Nov 14, 2022 4:47 pm That is the location I would prefer, but for now XnViewMP only works correctly with the DB in C:\Users\<username>\appdata\roaming\XNViewMP.
In previous ini it was 'I:/Foto's/XnView/XnView/' not 'I:/Foto's/XnView/XnView/XnView.db/'
Pierre.
Fres
Posts: 44
Joined: Sat Jan 14, 2017 5:43 pm

Re: How to migrate XnViewMP to new PC?

Post by Fres »

That is a correct observation, but when I want to stipulate the (adjusted) location in W11 XnViewMP requires to name a file; a folder isn't enough any more apparently. Re enclosed screenshot.
Attachments
Location of db requires db filename
Location of db requires db filename
User avatar
xnview
Author of XnView
Posts: 46253
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to migrate XnViewMP to new PC?

Post by xnview »

Fres wrote: Thu Nov 17, 2022 8:18 pm That is a correct observation, but when I want to stipulate the (adjusted) location in W11 XnViewMP requires to name a file; a folder isn't enough any more apparently. Re enclosed screenshot.
right, it's a bug, so you can edit the xnview.ini. Is it working now?
Pierre.
Fres
Posts: 44
Joined: Sat Jan 14, 2017 5:43 pm

Re: How to migrate XnViewMP to new PC?

Post by Fres »

It does not change the result whether I take out the filename Xnview.db in the .ini file or not. The open db location button comes back with the desktop. Only when I stipulate the db location as 'user/system' XnviewMP works correctly.
User avatar
xnview
Author of XnView
Posts: 46253
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to migrate XnViewMP to new PC?

Post by xnview »

if you edit and change in the xnview.ini, it should work...
Pierre.
Fres
Posts: 44
Joined: Sat Jan 14, 2017 5:43 pm

Re: How to migrate XnViewMP to new PC?

Post by Fres »

Could you please be more specific on what I should change in .ini file? In my former reply I mentioned already that simply eliminating (or adding) the file name xnview.db in the file location of the db did not have any effect. Perhaps you want more or other changes?
User avatar
xnview
Author of XnView
Posts: 46253
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to migrate XnViewMP to new PC?

Post by xnview »

Fres wrote: Mon Nov 21, 2022 3:27 pm Could you please be more specific on what I should change in .ini file? In my former reply I mentioned already that simply eliminating (or adding) the file name xnview.db in the file location of the db did not have any effect. Perhaps you want more or other changes?
you can change otherFolder/dbFolder
Pierre.
Fres
Posts: 44
Joined: Sat Jan 14, 2017 5:43 pm

Re: How to migrate XnViewMP to new PC?

Post by Fres »

This suggestion does not affect the location of the db. In settings/paths I can only succesfully open the db location button if the setting is 'system(user)' i.e in the appdata location.

Kind regards
Frans van Es
User avatar
xnview
Author of XnView
Posts: 46253
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to migrate XnViewMP to new PC?

Post by xnview »

you need to change dbFlag too, for exmaple

Code: Select all

dbFlag=2
dbFolder=C:/tmp/
Pierre.
Fres
Posts: 44
Joined: Sat Jan 14, 2017 5:43 pm

Re: How to migrate XnViewMP to new PC?

Post by Fres »

Sorry to reply to you negatively once more: Changing dbFag to 2 and maintaining my db location on I: does not seem to have any effect. Even after a cold reboot. XnView does not maintain the changes in the location settings.

Frans van Es
User avatar
xnview
Author of XnView
Posts: 46253
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to migrate XnViewMP to new PC?

Post by xnview »

Please send me your new xnview.ini, and which folder do you want to use?
Pierre.
Fres
Posts: 44
Joined: Sat Jan 14, 2017 5:43 pm

Re: How to migrate XnViewMP to new PC?

Post by Fres »

My Xnview.ini is enclosed (as pdf-file). My preferred db location is I:\Foto's\XnView\XnView.

Frans van Es.
Attachments
xnview.ini - Kladblok.pdf
Xnview.ini
(44.44 KiB) Downloaded 10 times
User avatar
xnview
Author of XnView
Posts: 46253
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to migrate XnViewMP to new PC?

Post by xnview »

your dbfolder is I:/Foto's/XnView/XnView/XnView.db/ so change it to dbFolder=I:/Foto's/XnView/XnView/
Pierre.
Fres
Posts: 44
Joined: Sat Jan 14, 2017 5:43 pm

Re: How to migrate XnViewMP to new PC?

Post by Fres »

Dear Pierre,
Re to your latest advice: we have gone through that already. Re to my post on Nov 17th 9.198PM it did not work. Apparently XnViewMP (under W11) requires a filename for the DB. A foldername was not enough.
Frans van Es
Post Reply