Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#1345 closed bug (fixed)

Wrong registry key created by Windows installer

Reported by: guest Owned by:
Priority: lowest Milestone:
Component: None Version: 6.6.1
Keywords: Cc:
Operating System: Windows Architecture: Unknown/Multiple
Type of failure: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

The Windows installer of GHC 6.6.1 creates a key

HKEY_CURRENT_USER\HKEY_CURRENT_USER\Software\Haskell\GHC\ghc-6.6.1

in the registry. Most likely it should be

HKEY_CURRENT_USER\Software\Haskell\GHC\ghc-6.6.1


The uninstaller does not remove the key.

Change History (3)

comment:1 Changed 8 years ago by neil

Ian, in the installer I sent you the offending lines are:

Root: HKCU; Subkey: "HKEY_CURRENT_USER\Software\Haskell\GHC\ghc-6.6.1"; ValueType: string; ValueName: "InstallDir"; ValueData: "{app}"
Root: HKCU; Subkey: "HKEY_CURRENT_USER\Software\Haskell\GHC"; ValueType: string; ValueName: "InstallDir"; ValueData: "{app}"

Change by removing HKEY_CURRENT_USER from the Subkey.

comment:2 Changed 8 years ago by neil

  • Resolution set to fixed
  • Status changed from new to closed

Fixed - now the registry keys are created in the correct place, and are tidied up on uninstall. I have uploaded a new installer build, and sent Ian updated installer script files.

Since these keys are not critical to anything, people using the old installer shouldn't have any problems - so no need to update.

comment:3 Changed 7 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.