Where does Windows store its alternative to the INI file (Delphi 7)
<p>I normally write my Delphi applications with an INI file saved in the application's own folder:</p>

<pre><code>ConfigFile:= ChangeFileExt(ParamStr(0), '.ini');
IniFile:= TIniFile.Create(ConfigFile);

try
  with IniFile do
  begin
    // etc
</code></pre>

<p>However, one particular application I'm writing, I want to use a setup wizard (Inno) and also give users the opportunity to install the app in Program Files (x86)\MyProg.</p>

<p>What is new to me is that Windows doesn't save the INI file in the install directory but "somewhere else".</p>

<p>Uninstalling the app through Control Panel successfully removes all the items from the Program Files (x86) folder (including the folder) but - in common with a lot of programs - if it is re-installed, all the configuration settings are restored.  So they must be stored somewhere that Control Panel | Uninstall doesn't remove.</p>

<p>So my question is where?</p>

<p>Thanks,
John.</p>