msi/tests: Skip tests on win9x due to different registry keys.
This commit is contained in:
parent
cb69bd6349
commit
194c053021
|
@ -9523,6 +9523,15 @@ static void test_MsiGetProductProperty(void)
|
||||||
DWORD size;
|
DWORD size;
|
||||||
LONG res;
|
LONG res;
|
||||||
UINT r;
|
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);
|
GetCurrentDirectoryA(MAX_PATH, path);
|
||||||
lstrcatA(path, "\\");
|
lstrcatA(path, "\\");
|
||||||
|
|
Loading…
Reference in New Issue