Stop! Tickets are now managed at GitHub.

Please enter new tickets, and find and edit existing tickets there:

Ticket #178 (closed defect: duplicate)

Opened 6 years ago

Last modified 6 years ago

Could not write updated PATH to HKLM"

Reported by: guest Owned by: refold
Priority: major Milestone: 2011.4.0.0
Component: Windows installer Keywords: setup "windows 7"
Cc: stef.joosten@…


"Could not write updated PATH to HKLM"

This message was given three times when I installed Haskell Platform 2011.2.0.1 on my brand new Windows 7 Enterprise (with Service Pack 1) computer. (btw, vs. 2011.2.0.0 does exactly the same)

After inserting the path by hand in the environment variables, ghc was found from the command prompt.

The fact that this message was given three times, and I just resolved one path, suggests that I am missing two other paths. Could you let me know which ones? Thanks, Stef Joosten stef.joosten@…

Change History

Changed 6 years ago by refold

  • status changed from new to closed
  • resolution set to duplicate

That's because you don't have admin privileges (#62). The directories that are added to PATH are listed here:

  ${EnvVarUpdate} $0 "PATH" "P" "HKLM" "$INSTDIR\bin"
  ${EnvVarUpdate} $0 "PATH" "P" "HKLM" "$INSTDIR\lib\extralibs\bin"
  ${EnvVarUpdate} $0 "PATH" "P" "HKLM" "$PROGRAMFILES\Haskell\bin"
Note: See TracTickets for help on using tickets.