Hans Leidekker : msi: Fail if a registry key cannot be created.

Alexandre Julliard julliard at winehq.org
Mon Jun 11 15:08:08 CDT 2012


Module: wine
Branch: master
Commit: fc2c8a215fd3ea70e1cabdca955818a62e85b2f6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fc2c8a215fd3ea70e1cabdca955818a62e85b2f6

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Mon Jun 11 15:36:35 2012 +0200

msi: Fail if a registry key cannot be created.

---

 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);




More information about the wine-cvs mailing list