Registry verses INI



I've seen various post suggest that an INI file is preferred to using the
registry for saving application configuration data. My question is this...
If a user doesn't have admin rights on the PC, where is the best place to
store the INI file?

With the registry, I can tell the app to write to the HKEY_CURRENT_USERS
area. So wouldn't this be a better place to store configuration data when a
user has limited rights?

Just trying to get some clarification on this issue before driving down one
path or the other. The data I need to store isn't too extensive... just a
handful of items and parameters.

Thanks,


.



Relevant Pages

  • Re: Ini File vs Registry
    ... I have a class derived from CArchive and store my own version info at the start of the file. ... I tend to use the registry for execution-to-execution parameters which can be readily reconstructed from defaults. ... I do not know what a best practice is here. ... not specified where you would keep the .INI file. ...
    (microsoft.public.vc.mfc)
  • Re: Ini File vs Registry
    ... you would probably want to store them in the user's AppData folder (you have ... not specified where you would keep the .INI file. ... specific information in an INI file rather that the registry could be ... In my case I have a bunch of User customizable reports, ...
    (microsoft.public.vc.mfc)
  • Re: Which folder - good practice?
    ... But is there a reason you don't want to store that stuff in the registry? ... I create a custom INI file during the startup of my add-in using Open, ...
    (microsoft.public.excel.programming)
  • Re: Ini File vs Registry
    ... I tend to use the registry for execution-to-execution parameters which can be readily reconstructed from defaults. ... I do not know what a best practice is here. ... you would probably want to store them in the user's AppData folder (you have ... not specified where you would keep the .INI file. ...
    (microsoft.public.vc.mfc)
  • Re: Ini File vs Registry
    ... I was just concerned about dumping 10K of information into the Registry. ... you would probably want to store them in the user's AppData folder (you have ... not specified where you would keep the .INI file. ... I am just fishing for some advice here. ...
    (microsoft.public.vc.mfc)

Loading