From 1dba41b104a12dccff2468e572c5d0683fb7cc3b Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Thu, 13 Nov 2008 15:34:22 +0100 Subject: [PATCH] msi/tests: Skip some tests on Win9x and WinMe. --- dlls/msi/tests/install.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c index 6ae2a51a55e..bc98840a043 100644 --- a/dlls/msi/tests/install.c +++ b/dlls/msi/tests/install.c @@ -5185,6 +5185,17 @@ static void test_MsiConfigureProductEx(void) CHAR keypath[MAX_PATH * 2]; CHAR localpack[MAX_PATH]; + /* skip these tests if we are on Win9x or WinMe */ + lstrcpyA(keypath, "Software\\Microsoft\\Windows\\CurrentVersion\\"); + lstrcatA(keypath, "Installer\\UserData"); + res = RegOpenKeyA(HKEY_LOCAL_MACHINE, keypath, &props); + if (res == ERROR_FILE_NOT_FOUND) + { + win_skip("Different registry keys on Win9x and WinMe\n"); + return; + } + RegCloseKey(props); + CreateDirectoryA("msitest", NULL); create_file("msitest\\hydrogen", 500); create_file("msitest\\helium", 500); -- 2.11.4.GIT