It's fine that xnView gives an option to write INI-files and leave the Registry clean.
But I would like an option to write the INI-file into xnView folder instead of Windows folder.
With the INI in the application folder, you can easily carry it on an USB stick.
ZIPping the whole folder and taking it to an other PC would be possible too.
Everyone who believes in telekinesis, raise my hand!
Lesmo16 wrote:It's fine that xnView gives an option to write INI-files and leave the Registry clean.
But I would like an option to write the INI-file into xnView folder instead of Windows folder.
With the INI in the application folder, you can easily carry it on an USB stick.
ZIPping the whole folder and taking it to an other PC would be possible too.
Makes sense. I thought that XnView had a specific order when searching for its settings, already.
maybe "Use Windows folder to save INI file" should be replaced with something like "Use Windows folder to save INI file (otherwise use XnView folder)"
(sorry for the double post)
Lesmo16 wrote:It's fine that xnView gives an option to write INI-files and leave the Registry clean.
But I would like an option to write the INI-file into xnView folder instead of Windows folder.
With the INI in the application folder, you can easily carry it on an USB stick.
ZIPping the whole folder and taking it to an other PC would be possible too.
Makes sense. I thought that XnView had a specific order when searching for its settings, already.
1. XnView program folder
2. Windows folder
Think I was wrong.
No, XnView search .ini in XnView program folder, and windows folder.
Lesmo16 wrote:It's a problem to decide between the 3 options only with 2 CheckBoxes.
Both unchecked: you can only guess where the configuration data is stored
Both checked: nonsense IMHO
What about 3 OptionButtons or a DropdownList containing the items AppFolder, WinFolder and Registry?
So only one option would be possible.
It's not so easy. XnView check in many location for xnview.ini.
First if -ini is used, in windows directory, in app directory, in APP Settings directory.
Following the option, xnview save option in registry or in .ini, and the .ini is in windows directory if setting is checked.
xnview wrote:First if -ini is used, in windows directory, in app directory, in APP Settings directory.
Following the option, xnview save option in registry or in .ini, and the .ini is in windows directory if setting is checked.
OK, no problem, make it exactly like you described:
2 pairs of OptionButtons are needed
1st pair is "INI-File" or "Registry" (default = INI-File)
2nd pair is "AppFolder" or "WinFolder" (default = AppFolder)
If Registry is chosen from 1st pair, the 2nd pair must be greyed.
So only one option would be possible.
Everyone who believes in telekinesis, raise my hand!
XnView has a default search order for settings, no matter which settings you make:
1.) First XnView checks if .ini file is used or not (Registry "HKEY_CURRENT_USER\Software\XnView\UseRegistry")
2a.) If .ini is used, it checks
2a-1.) Windows directory
2a-2.) Program directory
2a-3.) Document & Settings
2b.) If registry is used, it will read the settings from Registry, only (HKEY_CURRENT_USER\Software\XnView\...)
The question is, whether there's a need to make this automated search order fix and settable. I think the answer is "No".
Instead, I suggest another search order. Currently, XnView searches from general (Windows) to detailed (Document & Settings). The search should acutally be the other way round, from specific to general:
1.) Program directory (where xnview.exe that is just started resides)
2.) Document & Settings
3.) Windows directory
This would allow for having specific settings on an USB stick and also support settings per user.
helmut wrote:Instead, I suggest another search order. Currently, XnView searches from general (Windows) to detailed (Document & Settings). The search should acutally be the other way round, from specific to general:
1.) Program directory (where xnview.exe that is just started resides)
2.) Document & Settings
3.) Windows directory
This would allow for having specific settings on an USB stick and also support settings per user.
I agree.
BTW How can I save settings to Document & Settings... ? There is no such option in xnview, I still think it's confusing.