Plugin configuration - via .ini or .reg files?
Moderators: Hacker, petermad, Stefan2, white
I selected "only *.ini files", but I spoke too soon.
I have no problem with the filetype of the configuration (*.ini, .*reg, *.xml or whatever), as long as it is stored in the same directory as the concerned plugin (or application) such that it is portable.
Even for applications I only use on one PC, why would the settings be lost/changed by installing another OS? (or by using in another OS with multi-boot). I always use portable software if I can help it (TC included).
I've had bad experiences with "centralized configuration" (Windows registry, Windows directory full of INIs, user-profile full of INIs, TC plugins INIs in TC directory instead of plugin directory, etc.), so I have become allergic to installers.
P.S. To me, INIs seem easier to edit than XMLs, which seem easier to edit than REGs, which are all easier to edit than binary files (SumatraPDF .dat, Firefox 3 .sqlite, etc.), but as Flint said: if the plugin/application has good configuration GUI, I don't much care about file format.
I have no problem with the filetype of the configuration (*.ini, .*reg, *.xml or whatever), as long as it is stored in the same directory as the concerned plugin (or application) such that it is portable.
Even for applications I only use on one PC, why would the settings be lost/changed by installing another OS? (or by using in another OS with multi-boot). I always use portable software if I can help it (TC included).
I've had bad experiences with "centralized configuration" (Windows registry, Windows directory full of INIs, user-profile full of INIs, TC plugins INIs in TC directory instead of plugin directory, etc.), so I have become allergic to installers.
P.S. To me, INIs seem easier to edit than XMLs, which seem easier to edit than REGs, which are all easier to edit than binary files (SumatraPDF .dat, Firefox 3 .sqlite, etc.), but as Flint said: if the plugin/application has good configuration GUI, I don't much care about file format.
aNDreas Bolotă
The truth always carries the ambiguity of the words used to express it. (Frank Herbert, God Emperor of Dune)
The truth always carries the ambiguity of the words used to express it. (Frank Herbert, God Emperor of Dune)
I agree with siealex but it's not realistic to avoid it totally at the moment, or ignore it.
I do care about the formats. I dunno about XML, but a *.reg file is considered to be an application, because it can be run.
An *.ini file not. If a *.reg file is double-clicked, the key contents are added to the registry. A very riskful situation.
An INI file should be in the root of the application, or plugin, simply because it's the first location the system will look.
I do care about the formats. I dunno about XML, but a *.reg file is considered to be an application, because it can be run.
An *.ini file not. If a *.reg file is double-clicked, the key contents are added to the registry. A very riskful situation.
An INI file should be in the root of the application, or plugin, simply because it's the first location the system will look.
0.618033988
-
- New Member
- Posts: 1
- Joined: 2009-05-21, 05:49 UTC