msi: Fix testfailure on some 2k3 machines
André Hentschel
nerv at dawncrow.de
Mon Dec 13 05:25:34 CST 2010
Am 13.12.2010 08:42, schrieb Hans Leidekker:
> On Sun, 2010-12-12 at 22:44 +0100, André Hentschel wrote:
>
>> r = MsiOpenProductA(prodcode, &hprod);
>> - ok(r == ERROR_INSTALL_PACKAGE_OPEN_FAILED || r == ERROR_SUCCESS,
>> - "Expected ERROR_INSTALL_PACKAGE_OPEN_FAILED or ERROR_SUCCESS, got %d\n", r);
>> + ok(r == ERROR_INSTALL_PACKAGE_OPEN_FAILED || ERROR_INSTALL_PACKAGE_REJECTED || r == ERROR_SUCCESS,
>> + "Expected ERROR_INSTALL_PACKAGE_OPEN_FAILED, ERROR_INSTALL_PACKAGE_REJECTED or ERROR_SUCCESS, got %d\n", r);
>
> ERROR_INSTALL_PACKAGE_REJECTED means the user has insufficient rights.
> Look at how action.c handles this error, for example.
>
>
Ah i see, thx!
--
Best Regards, André Hentschel
More information about the wine-devel
mailing list