Module: wine Branch: master Commit: d411c49dd148270d8abb55f1d9f4c6b9f334929a URL: http://source.winehq.org/git/wine.git/?a=commit;h=d411c49dd148270d8abb55f1d9...
Author: Hans Leidekker hans@codeweavers.com Date: Fri Aug 27 10:50:07 2010 +0200
msi/tests: Fix a WoW64 test failure.
---
dlls/msi/tests/automation.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msi/tests/automation.c b/dlls/msi/tests/automation.c index 2b1449b..f883eac 100644 --- a/dlls/msi/tests/automation.c +++ b/dlls/msi/tests/automation.c @@ -2546,8 +2546,8 @@ static void test_Installer_InstallProduct(void) ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res);
/* Remove registry keys written by RegisterProduct standard action */ - res = delete_key_portable(HKEY_LOCAL_MACHINE, - "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F1C3AF50-8B56-4A69-A00C-00773FE42F30}", access); + res = RegDeleteKeyA(HKEY_LOCAL_MACHINE, + "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F1C3AF50-8B56-4A69-A00C-00773FE42F30}"); ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res);
res = delete_key_portable(HKEY_LOCAL_MACHINE,