oskusalerma/trelby — pull request #163 by duanbailey (2012-05-05 11:45:47+00:00)
Title: Make the install directory configurable

- Add a page to the install to collect the install directory (default to
C:\Program Files\Trelby).
- Update the windows installer to write the directory to the registry.
- Update Trelby to read the registry for the install directory, rather
than use a hardcoded value.
- If the key isn't found or is not a REG_SZ value, display an error and
exit the program.
- Move all this logic into a dedicated function.

Fixes #120.