msi: Fix testfailure on some 2k3 machines
Hans Leidekker
hans at codeweavers.com
Mon Dec 13 01:42:50 CST 2010
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.
More information about the wine-devel
mailing list