Alexandre Julliard : msi/tests: Fix a test failure on 64-bit.
Alexandre Julliard
julliard at winehq.org
Thu Sep 30 11:23:37 CDT 2010
Module: wine
Branch: master
Commit: b4109a079fff2287fb123a253008e69f8d80e8f6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b4109a079fff2287fb123a253008e69f8d80e8f6
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Sep 30 14:12:55 2010 +0200
msi/tests: Fix a test failure on 64-bit.
---
dlls/msi/tests/automation.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/msi/tests/automation.c b/dlls/msi/tests/automation.c
index f883eac..07760d9 100644
--- a/dlls/msi/tests/automation.c
+++ b/dlls/msi/tests/automation.c
@@ -2546,8 +2546,9 @@ 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 = RegDeleteKeyA(HKEY_LOCAL_MACHINE,
- "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{F1C3AF50-8B56-4A69-A00C-00773FE42F30}");
+ res = delete_key_portable(HKEY_LOCAL_MACHINE,
+ "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{F1C3AF50-8B56-4A69-A00C-00773FE42F30}",
+ KEY_WOW64_32KEY);
ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res);
res = delete_key_portable(HKEY_LOCAL_MACHINE,
More information about the wine-cvs
mailing list