I normally write my Delphi applications with an INI file saved in the application's own folder:
ConfigFile:= ChangeFileExt(ParamStr(0), '.ini');
IniFile:= TIniFile.Create(ConfigFile);
try
with IniFile do
begin
// etc
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.
What is new to me is that Windows doesn't save the INI file in the install directory but "somewhere else".
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.
So my question is where?
Thanks, John.