[3/4] msi: Fail if a registry key cannot be created.

Hans Leidekker hans at codeweavers.com
Mon Jun 11 08:36:35 CDT 2012


---
 dlls/msi/action.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 5ba7ec3..e7b2921 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);
-- 
1.7.5.4







More information about the wine-patches mailing list