msi: Skip the Installer object tests on win9x.

oldstable
James Hawkins 2008-03-17 16:58:16 -05:00 committed by Alexandre Julliard
parent 55365b77d7
commit c1e3f831ec
1 changed files with 6 additions and 0 deletions

View File

@ -2168,6 +2168,12 @@ static void test_Installer_InstallProduct(void)
/* Installer::InstallProduct */
hr = Installer_InstallProduct(szMsifile, NULL);
if (hr == DISP_E_EXCEPTION)
{
skip("Installer object not supported.\n");
delete_test_files();
return;
}
ok(hr == S_OK, "Installer_InstallProduct failed, hresult 0x%08x\n", hr);
/* Installer::ProductState for our product code, which has been installed */