From fc2c8a215fd3ea70e1cabdca955818a62e85b2f6 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Mon, 11 Jun 2012 15:36:35 +0200 Subject: [PATCH] msi: Fail if a registry key cannot be created. --- dlls/msi/action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);