#2489: Registry keys are created in per-user HKCU instead of system-wide HKLM
-----------------------------+----------------------------------------------
Reporter: nimnul | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 6.10.1
Component: None | Version: 6.8.3
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Windows |
-----------------------------+----------------------------------------------
Comment (by nimnul):
HKLM and HKCU are completely separate registry subtrees. HKCU/Software and
HKLM/Software never get unioned together. HKLM is always read only for
non-admins, just like /etc/ on Unix, not "in some cases".
Applications not just "often" offer both per-user and per-machine
installations - it's an industrial standard, a commonly agreed good
practice, described in MSDN. Moreover, if a program doesn't support to
choose between per-user and per-machine installation, it is assumed that
the program will be installed per-machine. So if GHC installs per-user, it
should notify about such unusual and unexpected behaviour using big red
letters. The lack of such notification is definitely a bug, the lack of
per-machine installation is a feature.
What do you mean by "isn't done by any other installers?" You can hardly
find a program without a possbility to install per-machine. The registry
modification is never optional, but the environment modification is
optional in any decent installer. Quality installers do support a choice
between per-machine and per-usual installation, there is even a de facto
standard for the dialog, and there are such things as administrative
installation, silent installation, domain-wide GPO installation,
advertisement, which is a good idea to support.
I don't see the use case for optional registry modification, but I do for
optional environment modification and per machine installations. Which use
case did you want to see?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2489#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs