msi/tests: Skip tests on win9x due to different registry keys.

This commit is contained in:
Paul Vriens 2008-12-10 17:02:12 +01:00 committed by Alexandre Julliard
parent cb69bd6349
commit 194c053021
1 changed files with 9 additions and 0 deletions

View File

@ -9523,6 +9523,15 @@ static void test_MsiGetProductProperty(void)
DWORD size;
LONG res;
UINT r;
SC_HANDLE scm;
scm = OpenSCManager(NULL, NULL, SC_MANAGER_CONNECT);
if (!scm && (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED))
{
win_skip("Different registry keys on Win9x and WinMe\n");
return;
}
CloseServiceHandle(scm);
GetCurrentDirectoryA(MAX_PATH, path);
lstrcatA(path, "\\");