James Hawkins : msi: Skip the Installer object tests on win9x.

Alexandre Julliard julliard at winehq.org
Tue Mar 18 07:44:43 CDT 2008


Module: wine
Branch: master
Commit: c1e3f831ec993b7220e6ac59669997bf98f4575e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c1e3f831ec993b7220e6ac59669997bf98f4575e

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Mon Mar 17 16:58:16 2008 -0500

msi: Skip the Installer object tests on win9x.

---

 dlls/msi/tests/automation.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/tests/automation.c b/dlls/msi/tests/automation.c
index abdd2e4..a44a3aa 100644
--- a/dlls/msi/tests/automation.c
+++ b/dlls/msi/tests/automation.c
@@ -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 */




More information about the wine-cvs mailing list