Page 1 of 1
Export options to *.reg file
Posted: Tue Dec 28, 2004 3:57 pm
by Dreamer
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.
Re: Export options to *.reg file
Posted: Wed Dec 29, 2004 8:59 am
by xnview
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.
Re: Export options to *.reg file
Posted: Mon Jan 03, 2005 9:02 pm
by AHCarter
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.
Re: Export options to *.reg file
Posted: Mon Jan 03, 2005 11:34 pm
by Dreamer
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)