Install directory fix

Gets install directory from registry