msi: Fail if a registry key cannot be created.

This commit is contained in:
Hans Leidekker 2012-06-11 15:36:35 +02:00 committed by Alexandre Julliard
parent fd0c2dabdf
commit fc2c8a215f

View file

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