Re: Ini File vs Registry



In article news:<OIHvFviGJHA.4836@xxxxxxxxxxxxxxxxxxxx>, Giovanni
Dicanio wrote:
I think that the registry is an important and good tool e.g. to store
the association between a COM component GUID and the path where the
COM component can be loaded by the OS. This way the registry kind of
works as a centralized database for the OS.

Exactly ... it's a centralized database *for the OS*.

Registration of COM components is an OS function and has to be done
centrally ... and it'd be damned inefficient if every COM component in
the system was registered by writing a new section in system.ini. The
registry is a good solution for that problem.

It's much less clear than any application program needs to have its
configuration stored centrally. Indeed, applications that can be run
from removable devices (USB sticks being a particular case in point)
benefit from keeping their configuration OUT of the registry.

The U3 system has to jump through a lot of hoops to provide its own
pseudo-registry for applications running from the stick, none of which
would be necessary if the applications were written to use configuration
files (on the stick) instead of the registry.

Cheers,
Daniel.



.



Relevant Pages

  • Re: Too much protection?
    ... I use the registry all the time and have never had any problems... ... From the system management viewpoint it's nicer to have .ini files for ... without affecting the system or other applications. ... natural place for configuration that applies to the application. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Ini File vs Registry
    ... works as a centralized database for the OS. ... The Registry is a named, hierarchical, securable database that ... benefit from keeping their configuration OUT of the registry. ... How do you manage the settings? ...
    (microsoft.public.vc.mfc)
  • Re: Ini File vs Registry
    ... works as a centralized database for the OS. ... registry is a good solution for that problem. ... applications that can be run ... benefit from keeping their configuration OUT of the registry. ...
    (microsoft.public.vc.mfc)
  • Re: Extracting Application Data From Registry?
    ... to reconfigure all the applications. ... Installing them isn't so bad, ... configuration data from the registry and then insert it in the new ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Starp up sequence
    ... >> RunServicesOnce ... >> User Profile Startup Folder ... >> the programs specified in the Computer Configuration setting just before ... >> AppInit_DLLs Registry value. ...
    (microsoft.public.windowsxp.customize)

Loading