status = RegQueryValueEx (key, NULL, NULL, &value_type, exe_path, &length);
if (value_type != REG_SZ) {
- *error = moonshot_error_new (MOONSHOT_ERROR_OS_ERROR,
+ *error = moonshot_error_new (MOONSHOT_ERROR_INSTALLATION_ERROR,
"Value of registry key HKLM\\%s is invalid. "
"Please set it to point to the location of "
"moonshot.exe",
typedef enum {
MOONSHOT_ERROR_UNABLE_TO_START_SERVICE,
MOONSHOT_ERROR_NO_IDENTITY_SELECTED,
+ MOONSHOT_ERROR_INSTALLATION_ERROR,
MOONSHOT_ERROR_OS_ERROR,
MOONSHOT_ERROR_IPC_ERROR
} MoonshotErrorCode;