On 21/07/2024 16:21, Thomas Wolff via Cygwin-apps wrote:
Hi,
if I have two cygwin installations, e.g. C:\cygwin64 and
C:\cygwin64test, the setup program is sticky about its root directory,
local package directory, and download sites presettings. They tend to
stay at the second installation even after updating the first one, so
that I have to fix it manually every time I update my main installation
(unless I fiddle them out from the registry, or fix them via command-line).
Would be good to remember the last-in-use values.
That is kind of how it's supposed to work:
The last-used root directory is stored in the registry
All other settings are read from /etc/setup/setup.rc in the selected
Cygwin root directory, if it exists.
If that doesn't seem to be what you are seeing, maybe you could give a
series of steps to reproduce, clearly stating what behavior you get that
is unexpected.
You might also find the setup option '--no-write-registry' useful to
stop your test installation from writing it's root directory into the
registry.