Fixed to read configuration from registry for install directory