Page 1 of 1

Backup and restore

Posted: Sat Aug 27, 2011 6:00 am
by mrwul
Say I need to install Windows from scratch and also XnView.
I want to re-instate XnView like it was before: toolbar, .ini + I don't what else.

Q:
1. what files do I have to backup and restore to have XnView up and going as before?
or:
2. shd I simply backup the entire XnView folder (to be on the save side),
then restore it to the new drive
then install XnView over it ?

example:
now: F:\XnView
new: G:\XnView (new pc, net setup)

Am not sure whether this will work though (considering registry settings?)

TIA
=

Re: Backup and restore

Posted: Sat Aug 27, 2011 9:30 am
by XnTriq
It depends on your settings:
  • Tools » Options... » General » System Integration » Integration » Save options
Registry:
  • HKEY_CURRENT_USER\Software\XnView
Files:
  • %ProgramFiles%\XnView\ or %AppData%\XnView\
    • xnview.ini
      bookmark.ini
      XFlash.ini
      XPaint.ini
      XPNGout.ini
      default.bar
      foo.bar
      iptc.def

      category.db
      category.bak
      cache\XnView.db
Before you start XnView for the first time on the new PC, you may have to adjust the values for the following entries in xnview.ini:
  • [8bf]
    • path_0=
    [Browser]
    • StartupDirectory=
    [Capture]
    • Directory=
    [Html]
    • TemplateDir=
    [Load]
    • ICCDefProfileName=
      ICCProfileName=
      Lut10to8Name=
    [Rename]
    • Template0=
    [Save]
    • Lut8to10Name=
    [Start]
    • BarFilename=
      CustomIniPathFolder=
      PathBrowse=
      PathCache=
    [Watermark]
    • Path=
Forum references:

Re: Backup and restore

Posted: Sat Aug 27, 2011 10:37 am
by mrwul
Thanks.

In my case everything is installed in F:\XnView (also .ini).
Am afraid I can't find HKEY_CURRENT_USER\Software\XnView though.

I wud then simply copy the entire existing F:\XnView folder to a backup-drive
Then, I guess, in case of an entirely new install, copy back the XnView folder onto the new drive.
Then, start to install into the existing folder ..?

==

Re: Backup and restore

Posted: Sat Aug 27, 2011 7:30 pm
by XnTriq
mrwul wrote:Am afraid I can't find HKEY_CURRENT_USER\Software\XnView though.
No worries. This just means that Save options » in registry was never activated.

I usually extract/install from XnView-win-full.zip and copy my old xnview.ini etc. to the new folder.

Are you going to move your photos/images to another drive/partition as well?
Zottt ([url=http://newsgroup.xnview.com/viewtopic.php?p=73137#p73137]Portable XnView.db[/url]) wrote:XNView is close to portable as the folders are stored with driveletters and absolute paths in xnview.db and category.db.
I'd appreceate if this would be changed to relative paths like for example in the sld-files.

Re: Backup and restore

Posted: Sun Aug 28, 2011 9:56 am
by mrwul
Ah yes, this is indeed something that should be considered ... re-scan photos and available xmp info I guess.

tks
=

Re: Backup and restore

Posted: Sun Aug 28, 2011 1:45 pm
by XnTriq
Another reason why I'm in favor of relative paths: Toolbar skins!

%ProgramFiles%\XnView\1982\skins\custom.bar
%ProgramFiles%\XnView\1982\skins\custom\*.ico
[color=green]custom.bar[/color] wrote:

Code: Select all

[Browser Toolbar]
count=4
button1=C:\Progra~1\XnView\1982\skins\custom\cmd_SetWallpaperTile.ico
cmd1=cmd_SetWallpaperTile
button2=C:\Progra~1\XnView\1982\skins\custom\cmd_SetWallpaperFit.ico
cmd2=cmd_SetWallpaperFit
button3=C:\Progra~1\XnView\1982\skins\custom\cmd_SetWallpaperBestFit.ico
cmd3=cmd_SetWallpaperBestFit
button4=C:\Progra~1\XnView\1982\skins\custom\cmd_SetWallpaperCentered.ico
cmd4=cmd_SetWallpaperCentered