On Thu, Nov 04, 2004 at 05:44:49PM -0800, Brian Dessent wrote:Yes and that's how it should be done. Store the size and position in the registry. That's what it's there for, that's what well-behaived programs do. Like it or hate it, that's how windows is designed and making up some brain dead "custom ini file" is just wrong.
Yes, setup.exe is a pure windows program and should use windows methods for storing settings.
Agreed.
It's also technically much easier to store it in the registry and not in ini files or /etc/setup/last-* files.
Should I move the last-* files content then to the registry? Or just copy.
I would say move. When the user switches back to an older setup.exe version, he/she looses his/her prefs.
Just please don't use the "Cygnus Solutions" hierarchy in the registry, please. :-)
What else?
"HKCU/Software/Cygwin Setup" or "HKCU/Software/Cygwin/Setup" instead of "HKCU/Software/Cygnus Solutions/Setup"
We know that the name is misleading, but it's our well established legacy root. For the DLL at least.