Export options to *.reg file

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, xnview

Post Reply
User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Export options to *.reg file

Post by Dreamer » Tue Dec 28, 2004 3:57 pm

I've got an idea - export options to *.reg file.

There are many problems with an ini file, so using *.reg file would be good solution.

Users could save/export options very easy through menu (or even a toolbar button).

Example:

If I use registry to save options (because of speed) and I need to use my old backup options, I must to do this:

- select options > install > unmark "use registry to save options"
- exit xnview
- delete xnview.ini from xnview folder
- copy old xnview.ini to xnview folder
- run xnview
- select options > install > mark "use registry to save options"

With *.reg file, all I'd need to do is run it and select Yes.

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

Re: Export options to *.reg file

Post by xnview » Wed Dec 29, 2004 8:59 am

Dreamer wrote:I've got an idea - export options to *.reg file.

There are many problems with an ini file, so using *.reg file would be good solution.

Users could save/export options very easy through menu (or even a toolbar button).
Ok, perhaps a good idea for non pro users to export options in a .reg.
Pierre.

AHCarter
Posts: 33
Joined: Thu Jan 01, 2004 10:13 pm
Location: South Carolina USA

Re: Export options to *.reg file

Post by AHCarter » Mon Jan 03, 2005 9:02 pm

Dreamer wrote:I've got an idea - export options to *.reg file.

There are many problems with an ini file, so using *.reg file would be good solution.

Users could save/export options very easy through menu (or even a toolbar button).

Example:

If I use registry to save options (because of speed) and I need to use my old backup options, I must to do this:

- select options > install > unmark "use registry to save options"
- exit xnview
- delete xnview.ini from xnview folder
- copy old xnview.ini to xnview folder
- run xnview
- select options > install > mark "use registry to save options"

With *.reg file, all I'd need to do is run it and select Yes.
I've not done the registry bit, but it would be my guess, that you would find it at:

HKEY_LOCAL_MACHINE\Software\Xnview

Then just open Regedit, navigate on down, then export the branch.

When you want to make changes, you can either manually edit the reg file, then merge it, or export a new one for backup. But I would first export the barnch, the examine how the entries are done, then experiment, you can always delete the key either via merge or navigate to the key and make it so.
Sincerely,
A.H. Carter
d(-_-)b

OS:Win 98 SE
Processor:Cyrix 6x86MX (MMX), 250 MHz
Xnview Ver: 1.74
RAM: 380MB

User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Re: Export options to *.reg file

Post by Dreamer » Mon Jan 03, 2005 11:34 pm

AHCarter wrote:
Dreamer wrote:I've got an idea - export options to *.reg file. ...
I've not done the registry bit, but it would be my guess, that you would find it at: HKEY_LOCAL_MACHINE\Software\Xnview

Then just open Regedit, navigate on down, then export the branch.
Yes, but it's almost as difficult as I described above... (especially if I want to backup it often)

I want a toolbar button for export options, especially for most of users, who don't know anything about registry.

With this feature, 'use registry to save options' could be turned on by default, because of many problems with ini file and because it would be accesible for all users (now backup from registry is too difficult for most users)

Post Reply