diff --git a/dlls/msi/action.c b/dlls/msi/action.c index ae255944284..cc4802b6165 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -762,7 +762,7 @@ static UINT ITERATE_Actions(MSIRECORD *row, LPVOID param) rc = ERROR_SUCCESS; if (rc != ERROR_SUCCESS) - ERR("Execution halted due to error (%i)\n",rc); + ERR("Execution halted, action %s returned %i\n", debugstr_w(action), rc); return rc; } diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c index 83f310bae28..d44d6ac7e46 100644 --- a/dlls/msi/custom.c +++ b/dlls/msi/custom.c @@ -327,16 +327,16 @@ static UINT process_action_return_value(UINT type, HANDLE ThreadHandle) switch (rc) { - case ERROR_FUNCTION_NOT_CALLED: - case ERROR_SUCCESS: - case ERROR_INSTALL_USEREXIT: - case ERROR_INSTALL_FAILURE: - return rc; - case ERROR_NO_MORE_ITEMS: - return ERROR_SUCCESS; - default: - ERR("Invalid Return Code %lx\n",rc); - return ERROR_INSTALL_FAILURE; + case ERROR_FUNCTION_NOT_CALLED: + case ERROR_SUCCESS: + case ERROR_INSTALL_USEREXIT: + case ERROR_INSTALL_FAILURE: + return rc; + case ERROR_NO_MORE_ITEMS: + return ERROR_SUCCESS; + default: + ERR("Invalid Return Code %ld\n",rc); + return ERROR_INSTALL_FAILURE; } }