Ticket #42 (new defect)

Opened 11 years ago

Halite breaks for any user other than the one that installed it

Reported by: trac_contributor Owned by: Eoin
Priority: major Milestone:
Component: GUI Keywords:
Cc:

Description

Halite determines whether to store its configuration data in the user's application data folder or in its installation folder by looking for the existence of a particular registry key.

Unfortunately the key is in HKEY_CURRENT_USER, so it only works for the user that installs Halite. For any other user, it tries to write to the installation folder and fails horribly.

Also, regardless of which mode Halite is running in, the default path for storing torrents is in the installation folder.

Finally, the installer only installs the start menu shortcut for whichever user ran the installer.


The registry key should be moved to HKEY_LOCAL_MACHINE and start menu entries installed for all users. (Ideally the installer should ask whether to install for all users or just the current user, and in the latter case use the current behaviour, since the installing user won't necessarily have rights to HKEY_LM or the common start menu.)

When running in non-portable mode, the default location for storing torrents should be under My Documents.

You should also be storing config to CSIDL_APPDATA rather than CSIDL_LOCAL_APPDATA, since it is not computer-specific and should roam with the user.

Note: See TracTickets for help on using tickets.