diff --git a/dlls/msi/action.c b/dlls/msi/action.c index 5ba7ec3ad19..e7b292120bb 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -2645,7 +2645,7 @@ static UINT ITERATE_WriteRegistryValues(MSIRECORD *row, LPVOID param) ERR("Could not create key %s\n", debugstr_w(keypath)); msi_free(uikey); msi_free(keypath); - return ERROR_SUCCESS; + return ERROR_FUNCTION_FAILED; } value = parse_value(package, MSI_RecordGetString(row, 5), &type, &size); deformat_string(package, name, &deformated);