Module: wine Branch: master Commit: fc2c8a215fd3ea70e1cabdca955818a62e85b2f6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=fc2c8a215fd3ea70e1cabdca95...
Author: Hans Leidekker hans@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);